Month: February 2016

Displaying a PDF Document inside a WebView

stackoverflow     2     developer android    weimenglee    asmncl

create-and-display-pdf-within-android-application

String myPdfUrl = "http://example.com/awesome.pdf"; String url = "http://docs.google.com/gview?embedded=true&url=" + myPdfUrl; Log.i(TAG, "Opening PDF: " + url); webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl(url);

 

 

Advertisements

Google Places Api Key Not authorized

Follow the following link to get the google map key registered

https://developers.google.com/maps/documentation/android/start

and make sure that you have enabled the api from api and auth,

also while providing the sha1 key and your app package name,provide valid data.

Hope it might help

And

"status" : "REQUEST_DENIED" Represent Issue regarding Enabling Google API Permission. Please Be sure either you are not forgotten to enable API :

  • Google Maps Android API
  • Google Maps Geocoding API
  • Google Maps Geolocation API
  • Google Places API for Android
  • Google Places API Web Service

Sample Browse : [“https://maps.googleapis.com/maps/api/place/autocomplete/json?input=dub&types=geocode&sensor=false&key=AIzaSyAGHDU0TesRK0lPBKIgMi-QaztnFuWEhiM”%5D

 

Runtime Permissions in Android 6.0 Marshmallow

#stackoverflow Link   inthecheesefactory      github link2   google link1 link2

# Youtube
http://www.captechconsulting.com/blogs/runtime-permissions-best-practices-and-how-to-gracefully-handle-permission-removal

https://www.captechconsulting.com/blogs/runtime-permissions-best-practices-and-how-to-gracefully-handle-permission-removal

http://inthecheesefactory.com/blog/things-you-need-to-know-about-android-m-permission-developer-edition/en

https://blog.xamarin.com/requesting-runtime-permissions-in-android-marshmallow/

https://blog.xamarin.com/requesting-runtime-permissions-in-android-marshmallow/

http://developer.e-power.com.kh/android-6-0-multiple-permissions/

http://www.android-examples.com/request-check-multiple-runtime-permissions-android-marshmallow/

http://www.journaldev.com/10409/android-handling-runtime-permissions-example

http://imandroidguru.blogspot.com/2016/06/android-requesting-multiple-permission.html