problem about overlayitem-Collection of common programming errors
user1707887
android android-asynctask overlayitem
I am building an android application that uses google maps to overlay items. The latitude and longitude for the items I get from a MySQL database. To do this I connect to a php script using HTTP in Async Task. My code for displaying items on the map is in the onPostExecute() method of Async Task. Everything works fine but when I for example rotate the phone all my overlayed items disappear. How can I resolve this issue?Should overlaying the items happen in the main thread? If so, I need to someh
Michaël
android google-maps out-of-memory itemizedoverlay overlayitem
I’d like to display many icons with the Google API (more than 2,000 icons). I created a simple activity, based on this tuto .It displays without any problem icons when accessing the map. However, when I zoom in/out a few times, a java.lang.OutOfMemoryError:12-16 08:48:29.415: E/dalvikvm-heap(606): 680640-byte external allocation too large for this process. 12-16 08:48:29.415: E/GraphicsJNI(606): VM won’t let us allocate 680640 bytes 12-16 08:48:29.415: D/AndroidRuntime(606): Shutting down VM 12-
Web site is in building