I can't find the reason for the following errormessage:
It always happens after changing the device orientation. Some devices like the galaxy tab can change the orientation once without error. Second time, there is an error. Other devices can start the app in both modes, but it is not possible to change the orientation.
The problem have to be in the sub activity_create, because the logcat only shows this:
I don't use a service, so I can't understand, why there is no needed errormessage.
The link to the source-code is (Mapviewer5.zip):
http://www.b4x.com/forum/basic4android-share-your-creations/7323-openstreetmap-tilemapviewer-4.html#post45387
It is also possible, that I post the activity_create again in this thread..
Thanks for help...
PHP:
Sorry!
The application Mapviewer(process Mapviewer5.ba) has stopped unexpectedly. Please try again.
It always happens after changing the device orientation. Some devices like the galaxy tab can change the orientation once without error. Second time, there is an error. Other devices can start the app in both modes, but it is not possible to change the orientation.
The problem have to be in the sub activity_create, because the logcat only shows this:
B4X:
** Activity (main) Pause, UserClosed = false **
** Activity (mapviewer) Create, isFirst = true **
** Activity (mapviewer) Resume **
'here, the app stops working and will be closed'
** Activity (main) Pause, UserClosed = false **
** Activity (mapviewer) Create, isFirst = false **
** Activity (mapviewer) Resume **
'here, the app stops working and will be closed'
I don't use a service, so I can't understand, why there is no needed errormessage.
The link to the source-code is (Mapviewer5.zip):
http://www.b4x.com/forum/basic4android-share-your-creations/7323-openstreetmap-tilemapviewer-4.html#post45387
It is also possible, that I post the activity_create again in this thread..
Thanks for help...