I have tried all those options...including one of creating a separate new project with just two activities in it...one calling the other! For all other types of activities it works....and MapActivity is the only odd man out...
Do you think that there is a remote possibility of an issue with 2.2? Do you know of anyway to contact guys from Google on this? This functionality seems to be very basic to me... Rgds, PP On Jul 26, 10:44 pm, Pravin Parulekar <[email protected]> wrote: > When I try the above, > I get a class not found exception. > > I have included the required entry in manifest file. > > The code in current activity is as follows: > > Intent i = new Intent(MainListingA.this, DrawTheatreMap.class); > > try{ > startActivity(i); > > } > ........ > > The error I get is as follows: > > 07-26 23:03:20.259: WARN/dalvikvm(307): threadid=1: thread exiting > with uncaught exception (group=0x4001d800) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): FATAL EXCEPTION: main > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): > java.lang.NoClassDefFoundError: com.mobilo.movie.DrawTheatreMap > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > com.mobilo.movie.MainListingA$1.onItemClick(MainListingA.java:101) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > android.widget.AdapterView.performItemClick(AdapterView.java:284) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > android.widget.ListView.performItemClick(ListView.java:3382) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > android.widget.AbsListView$PerformClick.run(AbsListView.java:1696) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > android.os.Handler.handleCallback(Handler.java:587) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > android.os.Handler.dispatchMessage(Handler.java:92) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > android.os.Looper.loop(Looper.java:123) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > android.app.ActivityThread.main(ActivityThread.java:4627) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > java.lang.reflect.Method.invokeNative(Native Method) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > java.lang.reflect.Method.invoke(Method.java:521) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > com.android.internal.os.ZygoteInit > $MethodAndArgsCaller.run(ZygoteInit.java:868) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) > 07-26 23:03:20.397: ERROR/AndroidRuntime(307): at > dalvik.system.NativeStart.main(Native Method) > > Any help is highly appreciated. > > On a standalone basis, the same map activity works fine. > > Rgds, PP -- 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

