Hi all,
I've downloaded and installed the latest SDK, installed the Google Play services; I followed //24415-google-maps-android-v2-tutorial.html// - Erel's instructions - to the letter, and registered the proper Android Maps V2 at the API console. I've added the manifest information, and used the proper Android key provided (not the generic browser key) from the API console.
I've included the Erel test code verbatim; when I run my skeleton app, the Map_Ready event never fires. However, two things do happen:
1) The download of Erel's Google Map APK works fine;
2) My app brings up MapPanel and shows Africa, but no marker
Given that it "sorta" works, can anyone suggest where I might have gone wrong? I've double-checked the API codes, I've renamed the mfragment init to something different (from "Map" to "TheMap") and looked for TheMap_Ready... nada.
The code is still very skeletonized so I hesitate to include the source at this time, but if this sounds familiar at all...?
Any and all suggestions appreciated! Thanks!
UPDATE:
So apparently one's code continues to run while waiting for the Map_Ready event; other parts of the code were running and causing an Activity_Resume to fire, which seems to have prevented Map_Ready from firing (for some reason). While I'm not calling that a "solve", I've worked around it. Thanks to everyone who might have spent time thinking about this!
I've downloaded and installed the latest SDK, installed the Google Play services; I followed //24415-google-maps-android-v2-tutorial.html// - Erel's instructions - to the letter, and registered the proper Android Maps V2 at the API console. I've added the manifest information, and used the proper Android key provided (not the generic browser key) from the API console.
I've included the Erel test code verbatim; when I run my skeleton app, the Map_Ready event never fires. However, two things do happen:
1) The download of Erel's Google Map APK works fine;
2) My app brings up MapPanel and shows Africa, but no marker
Given that it "sorta" works, can anyone suggest where I might have gone wrong? I've double-checked the API codes, I've renamed the mfragment init to something different (from "Map" to "TheMap") and looked for TheMap_Ready... nada.
The code is still very skeletonized so I hesitate to include the source at this time, but if this sounds familiar at all...?
Any and all suggestions appreciated! Thanks!
UPDATE:
So apparently one's code continues to run while waiting for the Map_Ready event; other parts of the code were running and causing an Activity_Resume to fire, which seems to have prevented Map_Ready from firing (for some reason). While I'm not calling that a "solve", I've worked around it. Thanks to everyone who might have spent time thinking about this!
Last edited: