Android Question How to create a version change log.

josejad

Expert
Licensed User
Longtime User
Maybe you can use the AppUdpate lib, and use the:

B4X:
Sub sep_UpdateComplete
   LogColor($"UpdateComplete - time: ${DateTime.Time(DateTime.Now)}"$, 0xFF556B2F)
   apkupdt.StopSplashScreen
   'too lazy to manage error conditions..check apkupdt.ERR_xxx codes if you like
   Select apkupdt.Status
       Case apkupdt.OK_CURVER
           EditText1.Text=$"${EditText1.Text}Running apk version: ${apkupdt.CurVN}${CRLF}"$
       Case apkupdt.OK_WEBVER
           EditText1.Text=$"${EditText1.Text}Webserver apk version: ${apkupdt.WebVN}${CRLF}"$
           EditText1.Text=$"${EditText1.Text}Optional Change Log data: ${apkupdt.WebChangeLog}${CRLF}"$
           EditText1.Text=$"${EditText1.Text}Optional FileSize Log data: ${apkupdt.WebFileSize}${CRLF}"$
       Case apkupdt.OK_NEWERAPK
           EditText1.Text=$"${EditText1.Text}Newer version available${CRLF}"$
       Case apkupdt.NO_NEWERAPK
           EditText1.Text=$"${EditText1.Text}No newer version available${CRLF}"$
       Case apkupdt.OK_DOWNLOAD
           EditText1.Text=$"${EditText1.Text}Newer version downloaded${CRLF}"$
       Case apkupdt.OK_INSTALL
           EditText1.Text=$"${EditText1.Text}User asked to install newer version${CRLF}"$
       Case apkupdt.ERR_NOPERM
           Log("No permission to install")
           EditText1.Text=$"${EditText1.Text}User gave no permission to install${CRLF}"$
       Case Else
           EditText1.Text=$"${EditText1.Text}Status: ${apkupdt.Status}${CRLF}"$
   End Select
End Sub
[code]
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…