google maps - MapsDemo not working + android -


i trying mapsdemo project shipped google add-ons work. got md5 fingerprint of default debug certificate , using generated maps api key , used in layout file. in manifest file have added permissions required it. manifest file looks like

<uses-permission android:name="android.permission.internet"></uses-permission> <uses-permission android:name="android.permission.access_fine_location"></uses-permission>  <uses-sdk android:minsdkversion="3" />  <application android:label="@string/activity_sample_code"         android:icon="@drawable/app_sample_code" >      <uses-library android:name="com.google.android.maps" />     <activity android:name="com.example.android.apis.mapsdemo" android:label="mapsdemo">         <intent-filter>             <category android:name="android.intent.category.launcher"></category>             <action android:name="android.intent.action.main"></action>         </intent-filter>    </activity>      <!-- ************************************* -->     <!--      view/widget package samples      -->     <!-- ************************************* -->      <activity android:name="com.example.android.apis.view.mapviewdemo" android:label="mapview">         <intent-filter>             <action android:name="android.intent.action.main" />             <category android:name="android.intent.category.sample_code" />         </intent-filter>     </activity>      <activity android:name="com.example.android.apis.view.mapviewcompassdemo" android:label="mapview , compass">         <intent-filter>             <action android:name="android.intent.action.main" />             <category android:name="android.intent.category.sample_code" />         </intent-filter>     </activity> 

my maps layout file looks

 <linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     android:id="@+id/main"     android:layout_width="fill_parent"      android:layout_height="fill_parent">     <com.google.android.maps.mapview         android:layout_width="fill_parent"          android:layout_height="fill_parent"         android:enabled="true"         android:clickable="true"         android:apikey="0msdghc7pl9izft4m7vdaxrreci8jizebeulpvw"         /> </linearlayout> 

but after this, see blank gid screen. no maps shown. please me in resolving issue. doing wrong here??

this think google maps api v1 deprecated. v2 visit https://developers.google.com/maps/documentation/android/ api documentation.

also can try quick start guide https://docs.google.com/document/pub?id=19nqzvkp-cvld7_vrpwnhfl-ae9fjbjysowonzztnhzw

enjoy. :-)


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -