Everything is working fine right up to the point AFTER app has been installed...
This sub doesn't get called to Start the paused Main Activity... after the new app is installed (updated)...
If one looks at Apps running (using button on device), one see's the "install app" screen still present. If you select it, the updated app comes to forground and works just fine...
What the hay?
Thanks
Harris
B4X:
after
Webserver's info file content:
ver=1.55
Web version number: 1.55
Current Version: 1.54
Newer version available. Now I try its downloading
-- TryApkUpdate
Donload ok? true
Copy2 (saving) ok? TRUE
new apk version downloaded and ready to install - mhw
user asked to install new apk 22 ' last line in debug....
This sub doesn't get called to Start the paused Main Activity... after the new app is installed (updated)...
B4X:
Sub MyAppReload
If svcVerbose Then Log("-- AppUpdating.NewInst2: processing MyAppReload")
If IsPaused( Main ) Then
StartActivity(Main)
End If
End Sub
B4X:
If one looks at Apps running (using button on device), one see's the "install app" screen still present. If you select it, the updated app comes to forground and works just fine...
What the hay?
Thanks
Harris