TreKing:- I am running the emulator from the debugger but the phone
runs it as a normal app, not in any debugging or any other mode.

String:- The logcat out put is:

For the installation:


06-16 11:24:10.371: DEBUG/PackageManager(73): Scanning package
com.raghavsood.quaker
06-16 11:24:10.431: INFO/PackageManager(73):
/data/app/com.raghavsood.quaker-1.apk changed; unpacking
06-16 11:24:10.471: DEBUG/installd(35): DexInv: --- BEGIN
'/data/app/com.raghavsood.quaker-1.apk' ---
06-16 11:24:10.791: DEBUG/installd(35): DexInv: --- END
'/data/app/com.raghavsood.quaker-1.apk' (success) ---
06-16 11:24:10.791: INFO/ActivityManager(73): Force stopping package
com.raghavsood.quaker uid=10036
06-16 11:24:10.791: DEBUG/PackageManager(73):   Activities:
com.raghavsood.quaker.Quaker
06-16 11:24:12.032: INFO/installd(35): move
/data/dalvik-cache/data@a...@com.raghavsood.quaker-1.apk@classes.dex ->
/data/dalvik-cache/data@a...@com.raghavsood.quaker-1.apk@classes.dex
06-16 11:24:12.041: DEBUG/PackageManager(73): New package installed in
/data/app/com.raghavsood.quaker-1.apk
06-16 11:24:21.442: INFO/ActivityManager(73): Starting activity:
Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10000000
cmp=com.raghavsood.quaker/.Quaker }
06-16 11:24:21.751: INFO/ActivityManager(73): Start proc
com.raghavsood.quaker for activity com.raghavsood.quaker/.Quaker:
pid=305 uid=10036 gids={}


For clicking the icon in the launcher:


06-16 11:25:07.338: INFO/ActivityManager(73): Starting activity:
Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.raghavsood.quaker/.Quaker }
06-16 11:25:07.338: WARN/ActivityManager(73): Permission Denial:
starting Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
210:com.android.launcher/10017} (pid=210, uid=10017) requires
android.permission.INTERNET
06-16 11:25:07.367: ERROR/Launcher(210): Launcher does not have the
permission to launch Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.raghavsood.quaker/.Quaker }. Make sure to create a MAIN
intent-filter for the corresponding activity or use the exported
attribute for this activity. tag=ApplicationInfo(title=Quaker)
intent=Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.raghavsood.quaker/.Quaker }
06-16 11:25:07.367: ERROR/Launcher(210): java.lang.SecurityException:
Permission Denial: starting Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.raghavsood.quaker/.Quaker } from ProcessRecord{44e8e070
210:com.android.launcher/10017} (pid=210, uid=10017) requires
android.permission.INTERNET
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.os.Parcel.readException(Parcel.java:1247)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.os.Parcel.readException(Parcel.java:1235)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1298)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.app.Instrumentation.execStartActivity(Instrumentation.java:1373)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.app.Activity.startActivityForResult(Activity.java:2817)
06-16 11:25:07.367: ERROR/Launcher(210):     at
com.android.launcher2.Launcher.startActivityForResult(Launcher.java:1053)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.app.Activity.startActivity(Activity.java:2923)
06-16 11:25:07.367: ERROR/Launcher(210):     at
com.android.launcher2.Launcher.startActivitySafely(Launcher.java:1462)
06-16 11:25:07.367: ERROR/Launcher(210):     at
com.android.launcher2.AllApps2D.onItemClick(AllApps2D.java:178)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.widget.AdapterView.performItemClick(AdapterView.java:284)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.widget.AbsListView$PerformClick.run(AbsListView.java:1696)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.os.Handler.handleCallback(Handler.java:587)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.os.Handler.dispatchMessage(Handler.java:92)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.os.Looper.loop(Looper.java:123)
06-16 11:25:07.367: ERROR/Launcher(210):     at
android.app.ActivityThread.main(ActivityThread.java:4627)
06-16 11:25:07.367: ERROR/Launcher(210):     at
java.lang.reflect.Method.invokeNative(Native Method)
06-16 11:25:07.367: ERROR/Launcher(210):     at
java.lang.reflect.Method.invoke(Method.java:521)
06-16 11:25:07.367: ERROR/Launcher(210):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
06-16 11:25:07.367: ERROR/Launcher(210):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
06-16 11:25:07.367: ERROR/Launcher(210):     at
dalvik.system.NativeStart.main(Native Method)


Thanks

On 6/16/11, String <sterling.ud...@googlemail.com> wrote:
> What do you get in logcat from the force close?
>
> String
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


-- 
Raghav Sood
http://www.raghavsood.com/
http://www.androidappcheck.com/
http://www.telstop.tel/

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to