Note that there are some explanatory texts on larger screens.

plurals
  1. POBlank Screen Android 2.2 Google Maps v2
    primarykey
    data
    text
    <p><strong>EDIT :</strong> </p> <p>I transferred my 20+ projects that <strong>tries</strong> to use Google Maps for Android v2. After changing keys and stuff, now, it works. I don't know what made this work, but thank you all. I got one keystore, the key is right. I guess it magically fixed somehow. Well, thanks guys. </p> <p>I'm doing searches for 2 days and I couldn't fix this problem. I did everything, yet, this application can not work. </p> <p>I want my application to work on Android 2.2 and above. Like it says "if you create your app in level 8, it'll support 95% of market". </p> <p>Here are my screenshots and source codes: </p> <p>I'm pasting the source code which is the easiest to get. I took this from web. </p> <p>Here's the output of the command </p> <pre><code>keytool -list -keystore &lt;path&gt; </code></pre> <blockquote> <pre><code>***************** WARNING WARNING WARNING ***************** * The integrity of the information stored in your keystore * * has NOT been verified! In order to verify its integrity, * * you must provide your keystore password. * ***************** WARNING WARNING WARNING ***************** </code></pre> <p>Keystore type: JKS Keystore provider: SUN</p> </blockquote> <pre><code>Your keystore contains 1 entry androiddebugkey, 15.Mar.2013, PrivateKeyEntry, Certificate fingerprint (SHA1): xxx </code></pre> <p><strong>main.xml file:</strong> </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;com.google.android.maps.MapView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/mapView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:clickable="true" android:apiKey="AIzaSyDim-x5Gxxx" /&gt; </code></pre> <p><strong>manifest file:</strong> </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.androidhive.googlemaps" android:versionCode="1" android:versionName="1.0" &gt; &lt;uses-sdk android:minSdkVersion="8" /&gt; &lt;application android:icon="@drawable/ic_launcher" android:label="@string/app_name" &gt; &lt;!-- Add Google Map Library --&gt; &lt;uses-library android:name="com.google.android.maps" /&gt; &lt;activity android:name=".AndroidGoogleMapsActivity" android:label="@string/app_name" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;/application&gt; &lt;!-- Allow to connect with internet --&gt; &lt;uses-permission android:name="android.permission.INTERNET" /&gt; &lt;/manifest&gt; </code></pre> <p><strong>java file</strong> (no need to paste it all, but I guess it's best to paste it all)</p> <p><a href="http://pastebin.com/yF95Rcbd" rel="nofollow">http://pastebin.com/yF95Rcbd</a></p> <p>Here are my screenshots: </p> <p><a href="http://i.imgur.com/gExHpUG.png" rel="nofollow">http://i.imgur.com/gExHpUG.png</a></p> <p><a href="http://i.imgur.com/AMOXKhr.png" rel="nofollow">http://i.imgur.com/AMOXKhr.png</a></p> <p><a href="http://i.imgur.com/Aqon97Y.png" rel="nofollow">http://i.imgur.com/Aqon97Y.png</a></p> <p>I'm trying to compile this app to Android 4.2.2, but I tried and want to make it work in 2.2 and above. </p> <p>Here's the Android tab of the properties window just to make sure: </p> <p><a href="http://i.imgur.com/ht0CQwT.png" rel="nofollow">http://i.imgur.com/ht0CQwT.png</a></p> <p>Here's my log</p> <pre><code>03-20 07:01:20.145: W/System.err(956): at java.lang.Thread.run(Thread.java:856) 03-20 07:01:20.665: W/System.err(956): IOException processing: 26 03-20 07:01:20.665: W/System.err(956): java.io.IOException: Server returned: 3 03-20 07:01:20.665: W/System.err(956): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115) 03-20 07:01:20.675: W/System.err(956): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473) 03-20 07:01:20.675: W/System.err(956): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117) 03-20 07:01:20.675: W/System.err(956): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994) 03-20 07:01:20.675: W/System.err(956): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702) </code></pre> <p>These lines repeat all the time. </p> <p>Thank you very much. Your post appears to contain code that is not properly formatted as code" error made me delete the blank lines. Sorry for the messed up codes. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload