Hi,
I am getting the following exception when I call an activity1 (
resides in 1.apk) using the following intent from TabActivity
(activity 2 resides in 2.apk)
Intent tab1intent = new Intent(); tab1intent.setAction(
"android.intent.action.VIEW"); tab1intent.addCategory(
"android.intent.category.DEFAULT");
tab1intent.setType("vnd.android.activity/vnd.moto.BookmarkManagerActivity");
tab1intent.putExtra("BROWSER LAUNCH", true);
Any suggestion how do I handle this error.
Appreciate your great help
Thanks
05-27 19:23:33.311: INFO/ActivityManager(570): Starting activity: Intent {
comp={com. moto.myFamily/com. moto.myFamily.familyTab} (has extras) }
05-27 19:23:33.730: WARN/dalvikvm(761): threadid=3: thread exiting with
uncaught exception (group=0x4000fe70)
05-27 19:23:33.739: ERROR/AndroidRuntime(761): Uncaught handler: thread main
exiting due to uncaught exception
05-27 19:23:33.841: ERROR/AndroidRuntime(761): java.lang.RuntimeException:
Unable to start activity
ComponentInfo{com. moto.myFamily/com. moto.myFamily.familyTab}:
java.lang.SecurityException: Requesting code from
com. moto.bookmarkmanager (with uid 10018) to be run in process
com. moto.myFamily (with uid 10019)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.os.Handler.dispatchMessage(Handler.java:99)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.os.Looper.loop(Looper.java:123)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.ActivityThread.main(ActivityThread.java:3948)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
java.lang.reflect.Method.invokeNative(Native Method)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
java.lang.reflect.Method.invoke(Method.java:521)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
dalvik.system.NativeStart.main(Native Method)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): Caused by:
java.lang.SecurityException: Requesting code from
com. moto.bookmarkmanager (with uid 10018) to be run in process
com. moto.myFamily (with uid 10019)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.ActivityThread.getPackageInfo(ActivityThread.java:1932)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2167)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.ActivityThread.startActivityNow(ActivityThread.java:2112)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:600)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.widget.TabHost.setCurrentTab(TabHost.java:310)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.widget.TabHost.addTab(TabHost.java:203)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
com. moto.myFamily.familyTab.onCreate(familyTab.java:60)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231)
05-27 19:23:33.841: ERROR/AndroidRuntime(761): ... 11 more
05-27 19:23:33.891: INFO/Process(570): Sending signal. PID: 761 SIG: 3
05-27 19:23:33.891: INFO/dalvikvm(761): threadid=7: reacting to signal 3
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---