Is this the main.xml?
It looks good to me... Try creating a new clean project and put that in the
main.xml
I usually screw up projects moving too much stuff when learning.
Regards,
On Sat, Jan 10, 2009 at 10:16 PM, Eddie O'Hagan
eddieoha...@optonline.netwrote:
Ok i think i have the basic
ok thanks ill give that a try. yes this is the main.xml file in the
layout folder.
On Jan 11, 12:16 pm, Ivan Soto ivanso...@gmail.com wrote:
Is this the main.xml?
It looks good to me... Try creating a new clean project and put that in the
main.xml
I usually screw up projects moving too much
yea that seemed to work but my question is how do you now control
those EditText's? In other words how does my edit text object kno it
corresponds to that particular EditText.
On Jan 11, 1:43 pm, Eddie O'Hagan eddieoha...@optonline.net wrote:
ok thanks ill give that a try. yes this is the
steve_macleod wrote:
Is there any way see error logs, or write debug data to a log file
manually?
adb logcat, DDMS, or the Eclipse equivalent.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!
The subject pretty much says it all.
Whenever I follow the directions at
http://code.google.com/android/devel/sign-publish.html#signing in debug
mode, I get the following error when typing in the default password:
keytool error: gnu.javax.crypto.keyring.MalformedKeyringException:
incorrect
Faber Fedor wrote:
The subject pretty much says it all.
Whenever I follow the directions at
http://code.google.com/android/devel/sign-publish.html#signing in debug
mode, I get the following error when typing in the default password:
keytool error:
I would use a Canvas for this, as this is a lot more flexible. I don't
think one of the 2 methods is going to be more efficient than the
other.
On 8 jan, 05:10, kozak c.a.subraman...@gmail.com wrote:
Hi All,
I am trying to build a board game,
Eddie O'Hagan wrote:
01-11 20:28:19.418: ERROR/AndroidRuntime(189): Caused by:
java.lang.NullPointerException
01-11 20:28:19.418: ERROR/AndroidRuntime(189): at
android.view.View.init(View.java:1645)
01-11 20:28:19.418: ERROR/AndroidRuntime(189): at
01-11 20:27:42.257: INFO/DEBUG(20): debuggerd: Nov 19 2008 16:06:30
01-11 20:27:42.296: ERROR/mountd(19): could not read initial mass
storage state
01-11 20:27:42.636: ERROR/flash_image(28): can't find recovery
partition
01-11 20:27:43.408: DEBUG/AndroidRuntime(22):
AndroidRuntime START
01-11
Android is strong, the future integration of computers and mobile
phones leader!
Now hope that more people support the cause of Android!
We invite you to join!
We base ourselves on the Android platform, committed to the
development of Android platform software, Android platform for the
EditText billAmt = new EditText(null);
im guessing the problem is obvious but what should i pass to the
constuctor instead?
On Jan 11, 8:33 pm, Mark Murphy mmur...@commonsware.com wrote:
Eddie O'Hagan wrote:
01-11 20:28:19.418: ERROR/AndroidRuntime(189): Caused by:
Eddie O'Hagan wrote:
EditText billAmt = new EditText(null);
The single-parameter EditText constructor takes a Context as a parameter.
If you look at Context, you will notice that Activity is a subclass of
Context.
Hence, you would pass your Activity to EditText. If you are calling this
in
Android seems to accept some external jars and API's, and crashes
with others.
For instance, it seems to be OK (although I haven't proved this, but I
don't get errors) with jai-core-1.1.13-alpha.zip jai_codec-1.1.13-
alpha.zip which have API's like:
javax.media.jai.JAI;
javax.media.jai.OpImage;
But the thing is you can only set one content view at a time otherwise
the EditText takes up the whole screen.
Would I then use setContentView(this)?
On Jan 11, 8:57 pm, Mark Murphy mmur...@commonsware.com wrote:
Eddie O'Hagan wrote:
EditText billAmt = new EditText(null);
The
gymshoe wrote:
Android seems to accept some external jars and API's, and crashes
with others.
For instance, it seems to be OK (although I haven't proved this, but I
don't get errors) with jai-core-1.1.13-alpha.zip jai_codec-1.1.13-
alpha.zip which have API's like:
javax.media.jai.JAI;
They are not unix based. they are window based too.
Following are some important links for publishing
http://code.google.com/android/devel/sign-publish.html
http://www.devx.com/wireless/Article/39972
http://erik.thauvin.net/wiki/display/Tips/Signing+an+Android+Application+(apk)+for+Release
How does an object that you create sutch as...
EditText aText = new EditText(this);
relate to the xml graphic?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send
17 matches
Mail list logo