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 <[email protected]> > 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 <[email protected]> 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

