J jota1010 Member Licensed User Longtime User Nov 1, 2013 #1 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.
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 Nov 1, 2013 #2 Answer to second question: If file exists - don't overwrite it (base must not undergo no changes) . Code: Copy 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
Answer to second question: If file exists - don't overwrite it (base must not undergo no changes) . Code: Copy 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
J jota1010 Member Licensed User Longtime User Nov 5, 2013 #3 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
Many Thanks Harris for your response, I wonder if anyone can help me with the first part of my question. Greetings and thanks.