Android Question Update version of application

jota1010

Member
Licensed User
Longtime User
Good morning, afternoons or evening.

I have installed the version 1.0 of an application on a device through B4A-Bridge, but now I need to update the version of the application remotely and also check every time you start if updates are available.

Another situation is that I have a database and When it upgrade the application, the base must not undergo no changes.
 

Harris

Expert
Licensed User
Longtime User
Answer to second question: If file exists - don't overwrite it (base must not undergo no changes) .

B4X:
If File.Exists(File.DirDefaultExternal, "QI.db") = False Then
        File.Copy(File.DirAssets, "QI.db",File.DirDefaultExternal,"QI.db")
        Log(" Copying QI.db to SD card")
End If
 
Upvote 0

jota1010

Member
Licensed User
Longtime User
Many Thanks Harris for your response,
I wonder if anyone can help me with the first part of my question.
Greetings and thanks.
 
Upvote 0
Top