は例外のコードです::解決方法致命的な例外:アンドロイドのタイマー11?ここ
if (getZoomLevel() != last_zoom)
{
// if computeScroll called before timer counts down we should drop it and start it over again
zoom_event_delay_timer.cancel();
zoom_event_delay_timer = new Timer();
Log.v("last_zoom","last_zoom");
zoom_event_delay_timer.schedule(new TimerTask()
{
@Override
public void run()
{
zoom_change_listener.onZoomChange(_this, getZoomLevel(), last_zoom);
Log.v("last_zoom","last_zoom"+last_zoom);
last_zoom = getZoomLevel();
Log.v("last_zoom","last_zoom");
}
}, events_timeout);
}
とエラー:
01-05 12:24:50.791: ERROR/AndroidRuntime(11132): FATAL EXCEPTION: Timer-11
01-05 12:24:50.791: ERROR/AndroidRuntime(11132): java.util.ConcurrentModificationException
01-05 12:24:50.791: ERROR/AndroidRuntime(11132): at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
01-05 12:24:50.791: ERROR/AndroidRuntime(11132): at com.bluepal.android.parkable.Prakablescreen.onRegionChange(Prakablescreen.java:1028)
01-05 12:24:50.791: ERROR/AndroidRuntime(11132): at com.bluepal.android.parkable.Prakablescreen$14.onPanChange(Prakablescreen.java:467)
01-05 12:24:50.791: ERROR/AndroidRuntime(11132): at com.bluepal.android.parkable.EnhancedMapView$2.run(EnhancedMapView.java:126)
01-05 12:24:50.791: ERROR/AndroidRuntime(11132): at java.util.Timer$TimerImpl.run(Timer.java:289)