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