android - Google places shows blank -
i want use google places api working shows me request_denied in android app , in browser . please help
following tutorial google places http://www.androidhive.info/2012/08/android-working-with-google-places-and-maps-tutorial/
{ "debug_info" : [], "html_attributions" : [], "results" : [], "status" : "request_denied" }
i have generated key following
and overview
and using testing
edit :
my permissions
<permission android:name="com.antheminfotech.locationnearby.permission.maps_receive" android:protectionlevel="signature"/> <uses-permission android:name="com.antheminfotech.locationnearby.permission.maps_receive"/> <uses-permission android:name="android.permission.internet"/> <uses-permission android:name="android.permission.write_external_storage"/> <uses-permission android:name="com.google.android.providers.gsf.permission.read_gservices"/> <uses-permission android:name="android.permission.access_coarse_location"/> <uses-permission android:name="android.permission.access_fine_location"/> <uses-permission android:name="android.permission.access_network_state"/> <uses-feature android:glesversion="0x00020000" android:required="true"/>
create new project in google api provide details name , package name , sha1 key click android in that. after show new key there find generate new keys(browser,server,android) can create keys both browser , android.
first enable following services in google api console
1.google maps api v2
2.places api
3.analytics api
<uses-permission android:name="(yourpackagename).permission.maps_receive"/> <uses-permission android:name="android.permission.internet"/> <uses-permission android:name="android.permission.write_external_storage"/> <uses-permission android:name="com.google.android.providers.gsf.permission.read_gservices"/> <uses-permission android:name="android.permission.access_coarse_location"/> <uses-permission android:name="android.permission.access_fine_location"/>
add also
<uses-feature android:glesversion="0x00020000" android:required="true"/>
any problem let me know.
Comments
Post a Comment