I developed the LWUIT based android application. But that application could not opened in emulator. I used eclipse 3.6.1 and android 2.2. Can anyone tell me the proper steps for developing the LWUIT based android application?
Asked
Active
Viewed 208 times
1
-
Hi, can you put the log message? – Jason Rogers Nov 12 '10 at 05:10
-
[2010-11-12 11:30:17 - Phonebook] Installing Phonebook.apk... [2010-11-12 11:31:14 - Phonebook] Success! [2010-11-12 11:31:14 - Phonebook] Starting activity org.phonebook.ui.Phonebook on device emulator-5554 [2010-11-12 11:31:17 - Phonebook] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.phonebook.ui/.Phonebook } And in emulator i got the alert like "The application has stopped unexpectedly. Please Try again" – bharath Nov 12 '10 at 06:22
2 Answers
0
I haven't used the LWUIT yet, but i think you may making mistake in attaching xml(interface layout) file inside the code file.
setContentView(R.layout.Phonebook);
It may helps, check it !!

Paresh Mayani
- 127,700
- 71
- 241
- 295
-
see this link https://lwuit-incubator.dev.java.net/source/browse/lwuit-incubator/trunk/thorsten_s/android/README_Android.txt?rev=98&view=markup. Here they said how to build midlet on android and i followed the steps. I know i missed something while configuration. But I dont know what im missing? :( – bharath Nov 12 '10 at 10:30