java.lang.StringIndexOutOfBoundsException: String index out of range: 4
error
If FirstTime Then
apkupdt.Initialize(Me,"tab1") 'tab1 has no meaning; use any name you like
'this is yor app's package name (see "Project/Package name")
apkupdt.PackageName = "com.xxx.xx"
'this is the complete path to the text file holding the newer version number
apkupdt.NewVerTxt = "
http://xxxx.net/xx/v.txt"
'this is the complete path to your newer apk
apkupdt.NewVerApk = "
http://xxxx.net/xx/frmstart.apk"
' apkupdt.UserName = "test" 'needed since folder p_apk has access restrictions
' apkupdt.UserPassword = "test" 'as above
'not needed- just to show use of function GetCurVN
Log("I am version: " & apkupdt.GetCurVN)
'use only if you like to show a splash screen while update checking goes on
' apkupdt.SetAndStartSplashScreen(Activity,LoadBitmap(File.DirAssets, "pioneer-music-wallpapers.jpg"))
'this function starts checking for any newer version of the current app
apkupdt.LookForNewVersion
End If