*** Service (starter) Create ***
Using FileProvider? true
** Service (starter) Start **
** Activity (main) Create (first time) **
*** mainpage: B4XPage_Created
*** start: B4XPage_Created
*** addphoto: B4XPage_Created
*** mainpage: B4XPage_Appear
** Activity (main) Resume **
*** mainpage: B4XPage_Disappear [mainpage]
*** start: B4XPage_Appear [mainpage]
*** start: B4XPage_Disappear [mainpage, start]
*** addphoto: B4XPage_Appear [mainpage, start]
Using FileProvider? true
entering TakePicture
Calling StartActivityForResult
Completed StartActivityForResult
** Activity (main) Pause event (activity is not paused). **
*** addphoto: B4XPage_Disappear [mainpage, start, addphoto]
AddPhoto Page Disappearing
sending message to waiting queue (OnActivityResult) <--- Ahh. This is what is supposed to happen
running waiting messages (1)
Waited for ion_Event
Orientation: 6
about to call image_available
** Activity (main) Resume **
*** addphoto: B4XPage_Appear [mainpage, start, addphoto]