How to get Hybrid view of google map in Android Application [closed]
i can see the difference on Google Maps, but on an Android MapActivity I'm struggling to find the difference. For 'map' I call: mapView.setSatellite(false); For 'sa开发者_运维问答tellite' I call: mapView.setSatellite(true); But for hybrid view... I tried playing with mapView.setStreetView(true); but this doesn't seem to affect anything either way. Any ideas?
There are lots of posts that will help you implement it:
Services
Obtaining User Location
Good luck!
create a class that extends Service
public class myService extends Service
override the
public void onStart(Intent intent, int startId) {
in your activity
if(!myService.isInstanceCreated())
startService(new Intent(youractivityclass.this, myService.class));
精彩评论