Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Map displays on Emulator but not on my android mobile

Map displays on Emulator but not on my android mobile

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Map displays on Emulator but not on my android mobile

Postby Roselin » Fri Oct 29, 2010 2:43 pm

Hi All,

I have done one project in android which is to display map using GOOGLE API KEY.

goto: [http://mobiforge.com/developing/story/using-google-maps-android]

I generated MAP API key by following the procedure mentioned in above link correctly. It works well and **displays map on EMULATOR.**

I took BUILD of my project and uploaded into the android MOBILE. Here **Map DOESN'T display on my mobile**.

Don't know what is the reason behind this problem :(

My AVD Version Details:


AVD Name: Google APIs(Google Inc.)
Platform : 2.1
API Level: 7

My android Mobile Details:

It also supports GoogleAPI 2.1(Level 7) only.
All other functionalities work well except displaying map.(I am getting Polylines only)

My XML file looks:
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="fill_parent"
  4.    android:layout_height="fill_parent">
  5.  
  6.     <com.google.android.maps.MapView
  7.        android:id="@+id/mapView"
  8.        android:layout_width="fill_parent"
  9.        android:layout_height="fill_parent"
  10.        android:enabled="true"
  11.        android:clickable="true"
  12.        android:apiKey="0l4sCTTyRmXTNo7k8DREHvEaLar2UmHGwnhZVHQ"
  13.        />
  14.  
  15. </RelativeLayout>
  16.  
Parsed in 0.001 seconds, using GeSHi 1.0.8.4



Can anyone help me to recover this problem?

Thanks in advance!
Roselin
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Sep 22, 2010 6:58 am

Top

Re: Map displays on Emulator but not on my android mobile

Postby blundell » Mon Nov 01, 2010 1:54 pm

you need to get a unique API key for on device testing

http://code.google.com/android/maps-api-signup.html
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Top

Return to General

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests