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 5936809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:27:02+00:00 2026-05-22T15:27:02+00:00

In my android application i have used the google map. I have using android

  • 0

In my android application i have used the google map. I have using android device 1.6. This application will perfectly run on emulator and android2.2 device. When i use this application in android 1.6 then it shows an exception

java.lang.ClassNotFoundException

Please send the solution for this.

<com.google.android.maps.MapView
android:id="@+id/mMapView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
android:apiKey="0Ch_WE9h_nEOXJcdEm1UmEVnZjFsenqLslkrGyA"
/>

it shows an error on super.onCreate(savedInstanceState); this line

This is click event from where i call map.

mListView.setOnItemClickListener(new OnItemClickListener()
        {
            public void onItemClick(AdapterView<?> parent, View v,
                    int position, long id)
            {
                ParsedData o = Retailerdata.get(position);

                Intent intenRetailerLocation = new Intent(
                        RetailerListing.this, RetailerLocation.class);
                intenRetailerLocation.putExtra("Lat", Float.valueOf(o
                        .getLat()));
                intenRetailerLocation.putExtra("long", Float.valueOf(o
                        .getLong()));
                intenRetailerLocation.putExtra("Adress", o.getAddress());
                intenRetailerLocation.putExtra("zip", o.getZip());
                intenRetailerLocation.putExtra("city", o.getCity());
                intenRetailerLocation.putExtra("Description", o
                        .getDescription());
                startActivity(intenRetailerLocation);
                finish();

            }

        });

Class in which use the google map

@Override
public void onCreate(Bundle savedInstanceState) 
{ 
    super.onCreate(savedInstanceState);// Error comes on this line      
        setContentView(R.layout.retailerlocation);

        myLayout=(RelativeLayout)findViewById(R.id.MyLayout);
        mImageView = (ImageView) findViewById(R.id.picture);
        mContainer = (ViewGroup) findViewById(R.id.container);

    topTitle=(TextView)findViewById(R.id.SelectedGameName);
    mMapView = (MapView) findViewById(R.id.mMapView);
    mMapView.setTraffic(false);
    mMapView.setStreetView(false); 
    mMapView.setSatellite(false);

    mMapView.setBuiltInZoomControls(true);
  • 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-05-22T15:27:03+00:00Added an answer on May 22, 2026 at 3:27 pm

    Make sure that the Activity in which you use the Google Maps extends the com.google.android.maps.MapActivity.

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

Sidebar

Related Questions

I am developing an android application using google maps. I have to display some
I have used the Android internal storage to save a file for my application
I have two threads in an Android application, one is the view thread, and
In my Android application, when I rotate the device (slide out the keyboard) then
Now that the G1 with Google's Android OS is now available (soon), will the
I want to create an application for Android that will be able to scan
I have developed a web application for mobile phones that uses JavaScript Google API.
I m trying to delete a record from a SQLiteDB via Android Application,This is
I am creating an Android application for a customer which will be pre-installed and
i have made an application in which i need to load the google maps.

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.