articles-android-webmap doesn't work; broken example
Opened this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Download from SVN /trunk/articles-android-webmap
2. Import workspace into eclipse
3. Run
All though this compiles and deploys to the Emulator (tested in API mode and
normal Android Mode) in every version of the API it crashes on the emulator;
and on my android phone (1.5);
The Application WebMapActivity (process com.google.android.examples.webmap)
has stopped unexpectedly. Please try again. [Force Close]
Original issue reported on code.google.com by pcdevils
on 27 Feb 2010 at 10:09
GoogleCodeExporter commented
Change WebMapActivity.java as:
private Location mostRecentLocation= new Location("");
and
private void getLocation() {....
Location tmp = locationManager.getLastKnownLocation(provider);
if (tmp!=null)
mostRecentLocation=tmp;
}
Original comment by umut.kah...@gmail.com
on 3 Jun 2010 at 8:06
Attachments: