user3050910
user3050910

Reputation: 3207

Android google map from a fragment like a browser

for my GoogleMaps API to run, the user needs to install Google Services.

I don't want my user to feel obligated to do that. I wonder if it is possible for me to create a fragment or something like a WebView and access Google Maps through browser (frame in my app) and the user doesnt need to install google services.

Any advice, tutorial or example would be very appreciated. Thank you very much for your time!

Upvotes: 0

Views: 203

Answers (1)

bgplaya
bgplaya

Reputation: 1155

You have to use WebView element and simply use this:

WebView browser = (WebView)findViewById(R.id.browser);
browser.loadUrl("maps.google.com");

Or use this

Upvotes: 1

Related Questions