Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8055761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:29:35+00:00 2026-06-05T08:29:35+00:00

In my app I want to open a MapActivity from a button click. But

  • 0

In my app I want to open a MapActivity from a button click. But on the button click,its showing a class not found error.

Im posting my error log also,so that it will be easy to correct me…

06-11 17:16:53.854: WARN/dalvikvm(890): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
06-11 17:16:53.865: ERROR/AndroidRuntime(890): FATAL EXCEPTION: main
06-11 17:16:53.865: ERROR/AndroidRuntime(890): java.lang.NoClassDefFoundError: com.iqmobi.SampleMapPage
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at com.iqmobi.Login.onClick(Login.java:61)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at android.view.View.performClick(View.java:2408)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at android.view.View$PerformClick.run(View.java:8816)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at android.os.Handler.handleCallback(Handler.java:587)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at android.os.Handler.dispatchMessage(Handler.java:92)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at android.os.Looper.loop(Looper.java:123)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at android.app.ActivityThread.main(ActivityThread.java:4627)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at java.lang.reflect.Method.invokeNative(Native Method)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at java.lang.reflect.Method.invoke(Method.java:521)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
06-11 17:16:53.865: ERROR/AndroidRuntime(890):     at dalvik.system.NativeStart.main(Native Method)
06-11 17:16:53.874: WARN/ActivityManager(60):   Force finishing activity com.iqmobi/.Login
06-11 17:16:54.384: WARN/ActivityManager(60): Activity pause timeout for HistoryRecord{4505c5d8 com.iqmobi/.Login}

The code which is moving to the MapActivity is

Intent successIntent=new Intent(Login.this,SampleMapPage.class);
startActivity(successIntent);

An additional information i checked,that,when i Toast instead of startActivity in my above code section,its working….Its something related to the button click,i think…..please help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T08:29:36+00:00Added an answer on June 5, 2026 at 8:29 am

    Add <uses-library android:name="com.google.android.maps" /> to your manifest and make sure you’re using the Google API version of Android. Your manifest should look something like the one in this question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to open Mail app from my app when the one button in
i want to open the pdf file in my app from pdf page, but
i want to open a map when i click a button but unfortunately my
Whenever I click the button I want to open google.com but it closes my
I'm creating an app. but now i want it to open a other app
I want to open a file from a Django app using open() . The
I have in my app class UINavigationController (with NIB) and I want to open
I want to open the Mac Appstore from my OSX app and to give
Hello I want to open PDF file in Android app, I found this apv
So I have these buttons in my app that I want to open .PDF

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.