Re: [android-developers] Intent loading issue in MenuItem
On Sun, Nov 21, 2010 at 5:06 AM, Chandana Napagoda cnapag...@gmail.comwrote: Is any body know fix this? I cannot open Google map Activity from menu item. Make sure your uses library element in the manifest is in the right place (withing the application element). - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Intent loading issue in MenuItem
Hi, Is any body know fix this? I cannot open Google map Activity from menu item. ? On Nov 20, 2010 8:40 PM, Chandana Napagoda cnapag...@gmail.com wrote: Hi, I tried on device and emulator both, If There is only Map Activity(ChandanaActivity) It's works fine, When I integrate with with Other Activity (testcode)* Intent* didn't work. I have refer this tutorial *Link http://mobiforge.com/developing/story/using-google-maps-android * On 20 November 2010 20:34, Mark Murphy mmur...@commonsware.com wrote: You may be running y... -- 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
[android-developers] Intent loading issue in MenuItem
Hi all, I have problem with loading google map when click on Menu Item. When click on menu item every time it give this error: 11-20 14:38:08.877: ERROR/AndroidRuntime(428): java.lang.NoClassDefFoundError: com.chandana.testcode.ChandanaActivity 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.chandana.Test.testcode.loadMap(testcode.java:262) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.chandana.Test.testcode.onMenuItemSelected(testcode.java:241) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:730) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:139) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:525) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.View.onTouchEvent(View.java:4179) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.widget.TextView.onTouchEvent(TextView.java:6540) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.View.dispatchTouchEvent(View.java:3709) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.ViewRoot.handleMessage(ViewRoot.java:1691) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.os.Handler.dispatchMessage(Handler.java:99) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.os.Looper.loop(Looper.java:123) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.app.ActivityThread.main(ActivityThread.java:4363) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at java.lang.reflect.Method.invokeNative(Native Method) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at java.lang.reflect.Method.invoke(Method.java:521) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at dalvik.system.NativeStart.main(Native Method) 11-20 14:38:10.917: WARN/InputManagerService(58): Got RemoteException sending setActive(false) notification to pid 428 uid 10026 My Load Map code is: private void loadMap() { Intent mapInt= new Intent(getApplicationContext(), ChandanaActivity.class); this.startActivity(mapInt); } Any one know why this happned? -- 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
Re: [android-developers] Intent loading issue in MenuItem
You may be running your application on a device or emulator that lacks Google Maps. On Sat, Nov 20, 2010 at 9:50 AM, Chandana Napagoda cnapag...@gmail.com wrote: Hi all, I have problem with loading google map when click on Menu Item. When click on menu item every time it give this error: 11-20 14:38:08.877: ERROR/AndroidRuntime(428): java.lang.NoClassDefFoundError: com.chandana.testcode.ChandanaActivity 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.chandana.Test.testcode.loadMap(testcode.java:262) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.chandana.Test.testcode.onMenuItemSelected(testcode.java:241) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:730) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:139) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:525) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.View.onTouchEvent(View.java:4179) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.widget.TextView.onTouchEvent(TextView.java:6540) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.View.dispatchTouchEvent(View.java:3709) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.ViewRoot.handleMessage(ViewRoot.java:1691) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.os.Handler.dispatchMessage(Handler.java:99) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.os.Looper.loop(Looper.java:123) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.app.ActivityThread.main(ActivityThread.java:4363) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at java.lang.reflect.Method.invokeNative(Native Method) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at java.lang.reflect.Method.invoke(Method.java:521) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at dalvik.system.NativeStart.main(Native Method) 11-20 14:38:10.917: WARN/InputManagerService(58): Got RemoteException sending setActive(false) notification to pid 428 uid 10026 My Load Map code is: private void loadMap() { Intent mapInt= new Intent(getApplicationContext(), ChandanaActivity.class); this.startActivity(mapInt); } Any one know why this happned? -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.2 Available! -- 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
Re: [android-developers] Intent loading issue in MenuItem
Hi, I tried on device and emulator both, If There is only Map Activity(ChandanaActivity) It's works fine, When I integrate with with Other Activity (testcode)* Intent* didn't work. I have refer this tutorial *Link http://mobiforge.com/developing/story/using-google-maps-android * On 20 November 2010 20:34, Mark Murphy mmur...@commonsware.com wrote: You may be running your application on a device or emulator that lacks Google Maps. On Sat, Nov 20, 2010 at 9:50 AM, Chandana Napagoda cnapag...@gmail.com wrote: Hi all, I have problem with loading google map when click on Menu Item. When click on menu item every time it give this error: 11-20 14:38:08.877: ERROR/AndroidRuntime(428): java.lang.NoClassDefFoundError: com.chandana.testcode.ChandanaActivity 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.chandana.Test.testcode.loadMap(testcode.java:262) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.chandana.Test.testcode.onMenuItemSelected(testcode.java:241) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:730) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:139) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:525) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.View.onTouchEvent(View.java:4179) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.widget.TextView.onTouchEvent(TextView.java:6540) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.View.dispatchTouchEvent(View.java:3709) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.view.ViewRoot.handleMessage(ViewRoot.java:1691) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.os.Handler.dispatchMessage(Handler.java:99) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.os.Looper.loop(Looper.java:123) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at android.app.ActivityThread.main(ActivityThread.java:4363) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at java.lang.reflect.Method.invokeNative(Native Method) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at java.lang.reflect.Method.invoke(Method.java:521) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 11-20 14:38:08.877: ERROR/AndroidRuntime(428): at dalvik.system.NativeStart.main(Native Method) 11-20 14:38:10.917: WARN/InputManagerService(58): Got RemoteException sending setActive(false) notification to pid 428 uid 10026 My Load Map code is: private void loadMap() { Intent mapInt= new Intent(getApplicationContext(), ChandanaActivity.class); this.startActivity(mapInt); } Any one know why this happned? -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.2 Available! -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because