tag:blogger.com,1999:blog-2244709367618477424.post2055860600584564783..comments2023-11-05T14:35:01.489+05:30Comments on DJ-Android: Android - Google MAP V2 PART 2dj-androidhttp://www.blogger.com/profile/11642235915599273668noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-2244709367618477424.post-48292291660632841732014-08-08T18:29:25.858+05:302014-08-08T18:29:25.858+05:30As a note, if you use Android support library to d...As a note, if you use Android support library to display a map, please make sure that your layout xml file that contains the map fragment should have an android:name attribute value to com.google.android.gms.maps.SupportMapFragment<br /><br />or if you are not using Android support library then use com.google.android.gms.maps.MapFragmentdj-androidhttps://www.blogger.com/profile/11642235915599273668noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-46234333602328170642014-08-08T18:27:09.171+05:302014-08-08T18:27:09.171+05:30Hello vikasvname,
can you show me logs?
as well ...Hello vikasvname,<br /><br />can you show me logs?<br /><br />as well tell me you min & max sdk from Android manifest filedj-androidhttps://www.blogger.com/profile/11642235915599273668noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-38177587940652890852014-08-08T17:55:32.836+05:302014-08-08T17:55:32.836+05:30
FragmentManager myFM = getSupportFragmentManager(...<br />FragmentManager myFM = getSupportFragmentManager(); <br /> SupportMapFragment myMAPF = (SupportMapFragment) myFM <br /> .findFragmentById(R.id.map); <br /> googleMap = myMAPF.getMap(); <br /> <br />I am using this code still i am getting nullpointerexception in line MAP = myMAPF.getMap(); <br />Please help.vikasvmanehttps://www.blogger.com/profile/14262462569866402636noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-22111236667969948172013-07-30T17:36:23.110+05:302013-07-30T17:36:23.110+05:30in your fargment you have write: supportmapfragmen...in your fargment you have write: supportmapfragment then in your activity you have to use supportmapfragment<br /><br />or<br /><br />if you have use mapfragment then you have to use mapfragment in activity<br /><br />i think this is your issue otherwise send me your code..dj-androidhttps://www.blogger.com/profile/11642235915599273668noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-2297893261753635742013-07-30T16:58:55.097+05:302013-07-30T16:58:55.097+05:30hi i've follow your tutorial but it doesn'...hi i've follow your tutorial but it doesn't work...i've error nullpointerexception in line MAP = myMAPF.getMap(); why??? Unknownhttps://www.blogger.com/profile/01529753169766041922noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-42048797073573982142013-05-28T16:47:47.552+05:302013-05-28T16:47:47.552+05:30can you tell me in which deviceyou test your app??...can you tell me in which deviceyou test your app??<br /><br />may b your device can't support openGL.dj-androidhttps://www.blogger.com/profile/11642235915599273668noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-2292844266888093622013-05-28T15:40:15.561+05:302013-05-28T15:40:15.561+05:30my map is not displaying it just shows blank scree...my map is not displaying it just shows blank screen.<br />java.lang.RuntimeException: Google Maps Android API only supports OpenGL ES 2.0 andabove<br />after adding this <br />the error remains the same.Anonymoushttps://www.blogger.com/profile/08853981467832683008noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-1962789104456815302013-04-09T14:55:49.259+05:302013-04-09T14:55:49.259+05:30thanks got it the problem, i am looking for add pr...thanks got it the problem, i am looking for add proximity alert in MAPv2 , issue is that i am able to draw path between source & destination on map able to locate current location now i want set if current location not on drawing path then app will gave you notification that you are not on path any help,Anonymoushttps://www.blogger.com/profile/16177200069990139550noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-20188510348299295162013-04-05T14:13:13.236+05:302013-04-05T14:13:13.236+05:30try to re generate your MAP API key using : https:...try to re generate your MAP API key using : https://developers.google.com/maps/documentation/android/startdj-androidhttps://www.blogger.com/profile/11642235915599273668noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-66482560386906963882013-04-04T18:04:34.737+05:302013-04-04T18:04:34.737+05:30i doing in same way emulator not supporting ok but...i doing in same way emulator not supporting ok but on device i installed googleplay service.apk file also by market, also set api key in manifest.xml file but on device showing blank only zoom control or gps sign showing map is not loading any idea same thing happening with googleservice api sample code.Anonymoushttps://www.blogger.com/profile/16177200069990139550noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-14436471542031341572013-03-22T21:30:30.364+05:302013-03-22T21:30:30.364+05:30I ll try that and rpl you. but can you show me you...I ll try that and rpl you. but can you show me your design of 3 activity .. or you can mail me your code....<br /><br />I ll sure help you.dj-androidhttps://www.blogger.com/profile/11642235915599273668noreply@blogger.comtag:blogger.com,1999:blog-2244709367618477424.post-16026290227901808622013-03-22T19:48:15.421+05:302013-03-22T19:48:15.421+05:30Hi Dhaval,
I am getting unusal problem when i am ...Hi Dhaval,<br /><br />I am getting unusal problem when i am adding Map.<br /><br />I need to add map in 3 Activity.<br /><br />1. I have added map, All the markers and custom Info Window.<br /><br />It is working fine.<br /><br />But In another activity when i need to use use map i created new activity with new map fragment and same procedure.<br /><br />When when i move to 2nd activity my activity containing map gets hanged and no crash log are even... I can just see application heap size going around 25 MB...<br /><br />Can you help me out to resolve the issue ??<br />Anonymoushttps://www.blogger.com/profile/09535749869137844445noreply@blogger.com