Android Maps to find nearby pharmacy -


i have created below code find nearby pharmacies.i know if changes required in code.it's throwing errors.

package com.example.maps;  import android.content.intent; import android.net.uri;   public class mapactivity {     intent mapintent=new intent(android.content.intent.action_view, uri.parse("http://maps.google.co.uk/maps?q=pharmacy&hl=en"));      startactivity(mapintent);      } 

google released places api in latest play services: read here.

you can of course use in conjunction location services, idea of parsing results of maps query doesn't make lot of sense more.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -