Friday, December 31, 2010

[android-developers] Database Database Database

Hey guys
I have simple 2 button screen which are "Create Item" and "List'
These two have been linked to other activities with intent.
Now in create.java class i have 2 fields name and description and a
save button.
So that when the user clicks save button the data must get saved but
it is giving me a force close error.

This is my error message

No command output when running: 'am start -n org.finaldatabase/
org.finaldatabase.finaldatabase -a android.intent.action.MAIN -c
android.intent.category.LAUNCHER' on device emulator-5554

Exception Stack Trace

com.android.ddmlib.ShellCommandUnresponsiveException
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:
408)
at com.android.ddmlib.Device.executeShellCommand(Device.java:277)
at
com.android.ide.eclipse.adt.internal.launch.ActivityLaunchAction.doLaunchAction(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.simpleLaunch(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.access
$3(Unknown Source)
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController
$3.run(Unknown Source)


Please let me know if you want to have a look at the code also.
There must be a silly mistake which i cant catch but i want to clear
this doubt .

Happy New Year

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment