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