Map not Displaying, Just tiles only

by MrChaz » Tue, 14 Apr 2009 02:00:04 GMT


Sponsored Links
 Have you added the INTERNET permission?



--~--~---------~--~----~------------~-------~--~----~



Map not Displaying, Just tiles only

by Charlie Collins » Tue, 14 Apr 2009 02:04:11 GMT


 Also make sure you have a maps key, the error message you are getting
look unrelated, but just check that to make sure.

 http://code.google.com/android/maps-api-signup.html 



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Map not Displaying, Just tiles only

by Nithin » Tue, 14 Apr 2009 03:21:58 GMT


 i did both these already...

my i got map API and put all permissions in manifest

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />
 <uses-library android:name="com.google.android.maps" />

still its showing his error, what may be the reason..

Thanks
Nithin

On Apr 13, 11:04pm, Charlie Collins <charlie.coll...@gmail.com>



--~--~---------~--~----~------------~-------~--~----~



Map not Displaying, Just tiles only

by MrChaz » Tue, 14 Apr 2009 04:34:20 GMT


 You could try adding the permission for course location but to be
honest it doesn't work on my emulator so once I got it working on an
actual device I just left it.





--~--~---------~--~----~------------~-------~--~----~



Map not Displaying, Just tiles only

by Nithin » Tue, 14 Apr 2009 09:06:49 GMT


 hanks MrChaz for your reply.

So this issue is not for me alone. Earlier I put "Coarse location"
only, and is not working, so I just changed to "Fine location", still
its not working. I am trying this for some time. Now, I will put both
and will try, want to see any difference is there.

Thanks
Nithin

On Apr 14, 1:34am, MrChaz <mrchazmob...@googlemail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Map not Displaying, Just tiles only

by Charlie Collins » Tue, 14 Apr 2009 19:23:40 GMT


  can use maps fine in the emulator.

You have the perms right, and you are pulling in the maps application,
but you didn't say whether or not you have your key, and are using it
in the layout file. You do have the key though right? And in your
MapView layout file you have android:apiKey with that value, right?

"In order to display Google Maps data in a MapView, you must register
with the Google Maps service and obtain a Maps API Key. For
information about how to get a Maps API Key, see Obtaining a Maps API
Key.
Once you have a Maps API Key, you need to reference it from a special
attribute -- android:apiKey -- in the MapView element in the XML
layout. If you are instantiating a MapView directly from code, you
should pass the Maps API Key in the MapView constructor. "


On Apr 13, 9:06pm, Nithin <nithin.war...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Map not Displaying, Just tiles only

by Nithin » Tue, 14 Apr 2009 19:40:48 GMT


 hanks a lot Charlie Collins,

What is the mistake I did is, I already have the MAP API key, but in
my XML, some letters of the key are missing, After you said, I again
checked and found out that. Now perfectly alright.

Thanks
Nithin

On Apr 14, 4:23pm, Charlie Collins <charlie.coll...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Map not Displaying, Just tiles only

by patrick » Wed, 15 Apr 2009 02:06:09 GMT


 Did you add the apiKey in your mapview?








--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. managedQuery() terminating the application.

Hi,

I am trying to write a simple application that displays the contents
of Contacts content provider in the phone. So far, I have only one
statement in this program (pasted below) and all it does is tries to
get a cursor over the contacts list. However, when I run the
application in the emulator, I see the following run time error on the
emulator screen:

"Sorry! The application MyApp (process com.android.myapp) has stopped
unexpectedly. Please try again."

How do I start debugging this ? Is there any de{*filter*} that can help ?
Any logs that I can look at ? Here is my test application.

Thanks,
Sarath

import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.Contacts.People;

public class MyApp extends Activity {
    // array specifying which columns to return.
    private String[] projection = new String[] {
        People._ID,
        People.NAME,
        People.NUMBER,
    };
    Cursor managedCursor;

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

        managedCursor = managedQuery(People.CONTENT_URI,
                projection,
                null,
                null,
                People.NAME + " ASC");
    }

--~--~---------~--~----~------------~-------~--~----~

2. recommendaed packages/classes to learn about?

hi people,

thanks for all your kind advise so far. May I ask hat are the common
classes/packages should I learn about first to at list printIn some
stuff onto the screen?

are there any graph API in android?

Zi Yong
--~--~---------~--~----~------------~-------~--~----~

3. Question about the int bundle

4. Android Developer Challenge II

5. Undocumented Intents

6. How to post values using HttpURLConnection

7. List and Expandable List Combo