Vince wrote: > I am a brand new developer to Android.. > > I wrote a pretty simple application that uses the gesture library. The > app itself seems to run fine in the simulator. However, when I > installed the app on my Google Dev Phone 1 (G1) last night, it doesn't > seem to work. > > I've upgraded my G1 with the 1.6 image from the htc developer site > > I see the first screen/activity for about a second and the application > exits without and errors. > > > Here is what my manifest looks like: > > <manifest xmlns:android="http://schemas.android.com/apk/res/android" > package="com.blahblah" > android:debuggable="true" > android:versionCode="1" > android:versionName="1.0"> > > <uses-sdk android:minSdkVersion="4" /> > <uses-permission > android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> > <uses-permission android:name="android.permission.READ_CONTACTS"></ > uses-permission> > <uses-permission android:name="android.permission.CALL_PHONE"></uses- > permission> > > > <application android:icon="@drawable/icon" android:label="@string/ > application_name"> > > <activity > android:name="Gesture1Activity" > android:label="@string/application_name"> > > <intent-filter> > <action android:name="android.intent.action.MAIN" /> > <category > android:name="android.intent.category.LAUNCHER" /> > </intent-filter> > > </activity> > > <activity > android:name="Gesture2Activity" > android:label="@string/label_gesture_list" /> > > <activity > android:name="Gesture3Activity" > android:label="@string/label_create_gesture" /> > > > > </application> > > </manifest> > > Here's the output for logcat: > > > D/AndroidRuntime( 860): > D/AndroidRuntime( 860): >>>>>>>>>>>>>> AndroidRuntime START > <<<<<<<<<<<<<< > D/AndroidRuntime( 860): CheckJNI is OFF > D/AndroidRuntime( 860): --- registering native functions --- > I/jdwp ( 860): received file descriptor 20 from ADB > D/ddm-heap( 860): Got feature list request > I/ActivityManager( 101): Starting activity: Intent { flg=0x10000000 > cmp=com.blahblah/.Gesture1Activity } > D/AndroidRuntime( 860): Shutting down VM > D/dalvikvm( 860): DestroyJavaVM waiting for non-daemon threads to > exit > E/AndroidRuntime( 860): ERROR: thread attach failed > D/dalvikvm( 860): DestroyJavaVM shutting VM down > D/dalvikvm( 860): HeapWorker thread shutting down > D/dalvikvm( 860): HeapWorker thread has shut down > D/jdwp ( 860): JDWP shutting down net... > D/jdwp ( 860): +++ peer disconnected > I/dalvikvm( 860): Debugger has detached; object registry had 1 > entries > D/dalvikvm( 860): VM cleaning up > D/dalvikvm( 860): LinearAlloc 0x0 used 677572 of 4194304 (16%) > W/InputManagerService( 101): Window already focused, ignoring focus > gain of: com.android.internal.view.IInputMethodClient$Stub > $pr...@439a9eb8 >
You're missing large chunks of your LogCat. If the application has a force-close error, you should get a Java stack trace in LogCat that points out the error. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android 2.0 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

