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

  • Home
  • SEARCH
  • 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 6817301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:02:09+00:00 2026-05-26T21:02:09+00:00

Am trying to dispaly a basic google map on my application but that’s not

  • 0

Am trying to dispaly a basic google map on my application but that’s not working it display a white screen instead even though I have a net connection also I check my MANEFIST a hundred times and I genrated a deubg key and am sure it is true

I would like if anyone could lead me what am doing wrong ?

I also haven’t modified the code but for a second on the EMULATOR the map diplayed and disappeared and on my device it doesn’t AT ALL suddenly it doesn’t display AT ALL on the emulator.


public class MyMapDisplayActivity extends MapActivity {

MapController MControl;
GeoPoint GeoP;
MapView mapview;



/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

            //Map
            MapView mapview = (MapView) findViewById(R.id.mapview);
             mapview.displayZoomControls(true);
             mapview.setBuiltInZoomControls(true);

             double lat = 19.7888;
             double longi = 52.535;


             GeoP = new GeoPoint ((int) (lat *1E6),(int) (longi *1E6));


             MControl = mapview.getController();
             MControl.animateTo(GeoP);
             MControl.setZoom(14);




             MyLocationOverlay LocationOverlay = new MyLocationOverlay(this, mapview);
             mapview.getOverlays().add(LocationOverlay);
             LocationOverlay.enableCompass();
             LocationOverlay.enableMyLocation();
}//onCreate

//Map
@Override
protected boolean isRouteDisplayed() {
return false;
}

    <LinearLayout
         android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:id="@+id/tab2"
        android:orientation="vertical"
        android:paddingTop="60px"
         >
        <com.google.android.maps.MapView
        android:id="@+id/mapview"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:enabled="true"
        android:clickable="true"
        android:apiKey="0jiwJEbT6if6dhaf0x6Fr_zRLsrz_CYxcLGj6pQ"
                 />

</LinearLayout>

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="jdisplay.map"
      android:versionCode="1"
      android:versionName="1.0">
    <uses-sdk android:minSdkVersion="8" />
             <uses-permission android:name="android.permission.INTERNET"></uses-permission>
             <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
             <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:name=".BatteryprojectActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <uses-library android:name="com.google.android.maps" />
        </application>

</manifest>
  • 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-26T21:02:10+00:00Added an answer on May 26, 2026 at 9:02 pm

    You have to create two different API keys, one with the debug signing key for the emulator and one with the key you use to sign the apk for the device.

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

Sidebar

Related Questions

I'm trying to make a basic application that displays an image from the camera,
I am trying to display a dataset to my ASP.NET application. It seems that
I am trying to construct a basic control that will display an undecorated JFrame
I've been trying to display text using a Quartz context, but no matter what
I am trying to display a pie chart that shows sales by company. However
I'm trying to implement a basic popup window that asks the user if they
I am trying to create a list view which as TextView that can display
I am trying to parse some very basic JSON, but I don't know where
I am trying to create a super basic consol application why does the consol
I'm trying to build a basic application which will have 2 separate components which

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.