android - Custom Info Window Adapter and 2 other issues -


so searching solution , bumped the code answer on stackoverflow

i getting error here:

googlemap.setinfowindowadapter(new custominfowindowadapter( gpstracker.this)); saying cannot resolved type.

also share cannot resolved variable

private void getcurrentlocation() {      double[] d = getlocation();     share.lat = d[0];     share.lng = d[1];      googlemap.addmarker(new markeroptions().position(new latlng(share.lat, share.lng)).title("current location").icon(bitmapdescriptorfactory.fromresource(r.drawable.red))); 

i couldn't solution custominfowindowadapter , not understand share stands for.

any in understanding , solving issue appreciated. thank time.

this may you

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

custom info window adapter custom data in map v2


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -