Also make sure you have the internet permission in your manifest, otherwise
the maps can't download the image tiles.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking


On Tue, Dec 8, 2009 at 11:06 AM, Denis <87elem...@gmail.com> wrote:

> Hi, guys,
>
> It is interesting, but I have the same problem. I've found a guide to
> construct Google Maps-aware application (as simple as possible, just a
> map even without zoom...) and it doesn't work (Well, it works - shows
> me nice grey grid). The advice is always one - check API keys. But the
> key is correct, because another application (that is built-in MapsDemo
> in Eclipse) runs well using my key!
>
> Regards,
> Denis
>
> On 14 ноя, 21:27, Raphaël Piéroni <raphaelpier...@gmail.com> wrote:
> > Thanks for the answer,
> >
> > Yes i am running in debug mode.
> >
> > But i think i did it right, as i gave the debug keystore fingerprint to
> the
> > registration process.
> > I have not performed yet the creation of a release keystore for wndows
> nor
> > macosx.
> >
> > Regards,
> >
> > Raphaël
> >
> > 2009/11/11 TreKing <treking...@gmail.com>
> >
> > > Looks like you're running in debug mode. Are you sure you're using the
> > > debug key? If you tested a release version on your Mac it would explain
> why
> > > it works there.
> >
> > > 2009/11/10 Raphaël Piéroni <raphaelpier...@gmail.com>
> >
> > >> Hi Folks,
> >
> > >> Some updates,
> > >> I retried on mac osx JAVA6 (i was on winXP JAVA5) and it works fine.
> >
> > >> I have 2 hypothesys on my problem :
> > >> - OS but i don't believe it
> > >> - Java version but i don't believe also
> >
> > >> Raphaël
> >
> > >> Le 10 novembre 2009 12:36, Raphaël Piéroni <raphaelpier...@gmail.com>
> a
> > >> écrit :
> >
> > >> Hello folks,
> > >>> In my map view i have NO image displayed.
> > >>> I did get an apiKey from my keystore fingerprint.
> > >>> I using the ant script that affirms to sign the apk with the same
> > >>> keystore.
> > >>> I have proper permissions and library usage.
> > >>> But still I got no image.
> > >>> If anyone has a clue for displaying the map in my simulator i will be
> > >>> very happy.
> > >>> Regards,
> > >>> Raphaël
> > >>> Extracts from the manifest :
> > >>> <?xml version="1.0" encoding="utf-8"?>
> > >>> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
> > >>>   android:versionCode="1"
> > >>>   android:versionName="1.0">
> > >>>   *<uses-permission android:name="android.permission.INTERNET" />
> > >>>   <uses-permission
> android:name="android.permission.ACCESS_FINE_LOCATION"
> > >>> />
> > >>>   <uses-permission
> > >>> android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
> > >>>   <uses-permission
> > >>> android:name="android.permission.ACCESS_COARSE_LOCATION" />*
> > >>>   <uses-sdk android:minSdkVersion="5" />
> > >>>   <application android:label="@string/application_name">
> > >>>   *<uses-library android:name="com.google.android.maps" />*
> > >>>   <activity android:name="InitializationActivity"
> > >>> android:label="@string/application_name">
> > >>>   <intent-filter>
> > >>>   <action android:name="android.intent.action.MAIN" />
> > >>>   <category android:name="android.intent.category.LAUNCHER" />
> > >>>   </intent-filter>
> > >>>   </activity>
> > >>>   </application>
> > >>> </manifest>
> >
> > >>> Extracts from the layout.xml
> > >>> <?xml version="1.0" encoding="utf-8"?>
> > >>> <ScrollView xmlns:android="
> http://schemas.android.com/apk/res/android";
> > >>>   android:layout_width="fill_parent"
> > >>>   android:layout_height="fill_parent">
> > >>>   <com.google.android.maps.MapView
> > >>>   android:id="@+id/map_view"
> > >>>   android:layout_width="fill_parent"
> > >>>   android:layout_height="fill_parent"
> > >>> *  android:apiKey="0U4YsOFH1B2CbsN0un0AcdDlD30t4i-EDL3h4JQ"*
> > >>>   />
> > >>> </ScrollView>
> > >>> Extract from the activity which extends MapActivity with proper
> override.
> > >>>   @Override
> > >>>   public void onCreate(Bundle savedInstanceState) {
> > >>>   super.onCreate(savedInstanceState);
> > >>>   setContentView(R.layout.map_test);
> > >>>   MapView map = (MapView) findViewById(R.id.map_view);
> > >>>   map.setClickable(true);
> > >>>   MapController mc = map.getController();
> > >>>    double latitude = 47.3869316;
> > >>>   double longitude = -2.9516315;
> > >>>   GeoPoint location = new GeoPoint((int) (latitude * 1000000.0),
> (int)
> > >>> (longitude * 1000000.0));
> > >>>   mc.setCenter(location);
> > >>>   mc.setZoom(10);
> > >>>   map.setEnabled(true);
> > >>>   map.setSatellite(true);
> > >>>   map.invalidate();
> > >>>   }
> >
> > >>> Installing the application
> > >>> ...
> > >>>  -package-resources:
> > >>>   [echo] Packaging resources
> > >>>  [aaptexec] Creating full resource package...
> >
> > >>> -package-debug-sign:
> > >>> [apkbuilder] Creating MapTest-debug-unaligned.apk and signing it with
> a
> > >>> debug key...
> > >>> *[apkbuilder] Using keystore: C:\Documents and
> > >>> Settings\raphael\.android\debug.keystore*
> >
> > >>> debug:
> > >>>   [echo] Running zip align on final apk...
> > >>>   [echo] Debug Package: C:\MapTest\bin\MapTest-debug.apk
> >
> > >>> BUILD SUCCESSFUL
> > >>> Total time: 5 seconds
> > >>> C:\SVNLOCAL\DexemGuiDynamic>adb install -r bin\MapTest-debug.apk
> > >>> 1087 KB/s (1061868 bytes in 0.953s)
> > >>>   pkg: /data/local/tmp/MapTest-debug.apk
> > >>> Success
> >
> > >>  --
> > >> You received this message because you are subscribed to the Google
> > >> Groups "Android Beginners" group.
> > >> To post to this group, send email to
> android-beginners@googlegroups.com
> > >> To unsubscribe from this group, send email to
> > >> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> <android-beginners%2bunsubscr...@googlegroups.com<android-beginners%252bunsubscr...@googlegroups.com>
> >
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/android-beginners?hl=en
> >
> > > --
> > > TreKing - Chicago transit tracking app for Android-powered devices
> > >http://sites.google.com/site/rezmobileapps/treking
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Beginners" group.
> > > To post to this group, send email to
> android-beginners@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> <android-beginners%2bunsubscr...@googlegroups.com<android-beginners%252bunsubscr...@googlegroups.com>
> >
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-beginners?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> To post to this group, send email to android-beginners@googlegroups.com
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to