Google map api stopped in hauwi phone in android -


i'm using google map api v2 in android , code below,it's work fine in rest of phones stopped working in huawi phone's,

  <fragment xmlns:android="http://schemas.android.com/apk/res/android"                 android:id="@+id/map"                 android:layout_gravity="center"                 android:layout_width="fill_parent"                 android:layout_height="match_parent"                 android:name="com.google.android.gms.maps.mapfragment"                 android:layout_span="2" /> 

whats wrong in code?

this manifest file code related map activity :   <meta-data             android:name="com.google.android.maps.v2.api_key"             android:value="myapikey" />    <activity             android:name="com.toranjsoft.contractors.mapsactivity"             android:label="@string/title_activity_maps" > 

i think problem lack of google play services on devices. think same problem happens on amazon fire phone. can try install play services , see if solve problem http://forum.xda-developers.com/fire-phone/general/fire-phone-how-to-install-google-play-t2977237


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -