Note that there are some explanatory texts on larger screens.

plurals
  1. POError running google maps program on my samsung phone
    primarykey
    data
    text
    <p>I have my samsung siii connected to the eclipse through usb and use it for running my programs. i have created a basic google maps program and trying to run on my phone through eclipse. i have copied the sha1 code from eclipse under Windows -> Preferences -> android -> build</p> <p>and obtained the google key from the website . The following is my manifest file</p> <pre><code>&lt;uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17" /&gt; &lt;permission android:name="com.example.chaplbs.permission.MAPS_RECEIVE" android:protectionLevel="signature"&gt;&lt;/permission&gt; &lt;uses-feature android:glEsVersion="0x00020000" android:required="true"/&gt; &lt;uses-permission android:name="com.example.chaplbs.permission.MAPS_RECEIVE"/&gt; &lt;uses-permission android:name="android.permission.INTERNET"/&gt; &lt;uses-permission android:name="android.permission.INTERNET" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt; &lt;application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" &gt; &lt;uses-library android:name="com.google.android.maps"/&gt; &lt;activity android:name="com.example.chaplbs.MainActivity" 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;meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="mykey"/&gt; &lt;/application&gt; </code></pre> <p>The following is my layout</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".MainActivity" &gt; &lt;com.google.android.maps.MapView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/map" android:clickable="true" android:apiKey="my key" android:enabled="true" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>However on running the program i get the following error :</p> <pre><code>06-20 15:23:51.262: W/System.err(28660): java.io.IOException: Server returned: 3 06-20 15:23:51.272: W/System.err(28660): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115) 06-20 15:23:51.272: W/System.err(28660): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473) 06-20 15:23:51.272: W/System.err(28660): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117) 06-20 15:23:51.272: W/System.err(28660): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994) 06-20 15:23:51.272: W/System.err(28660): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702) 06-20 15:23:51.272: W/System.err(28660): at java.lang.Thread.run(Thread.java:1019) </code></pre> <p>I am trying to figure out the problem. Does my running the program on my mobile rather than emulator generating this error. kindly update thanks tejinder</p>
    singulars
    1. This table or related slice is empty.
    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.
    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