Re: WM22: Android - update user app without Playstore January 08, 2020 09:39AM |
Registered: 5 years ago Posts: 20 |
Re: WM22: Android - update user app without Playstore January 08, 2020 06:24PM |
Registered: 5 years ago Posts: 236 |
Re: WM22: Android - update user app without Playstore January 08, 2020 06:26PM |
Registered: 5 years ago Posts: 236 |
PROCEDURE Auto_update() dtVerzija_nova is DateTime dtVerzija_stara is DateTime nKonekcijaID is int nKonekcijaID = FTPConnect("ftpserver","ftpuser","ftppasw",21) IF nKonekcijaID <> -1 THEN IF FTPFileExist(nKonekcijaID,"/APK/Infos.apk") THEN dtVerzija_nova = FTPDateTime(nKonekcijaID,"/APK/Infos.apk") dtVerzija_stara = fDateTime(fExeDir()+"\Infos.apk") IF dtVerzija_nova <> dtVerzija_stara THEN IF FTPGet(nKonekcijaID,"/APK/Infos.apk",fExeDir()) THEN IF ShellExecute(fExeDir()+"\Infos.apk") THEN ToastDisplay("Instalirana je najnovija verzija aplikacije") END END END END FTPDisconnect(nKonekcijaID) ELSE //Error() END
Re: WM22: Android - update user app without Playstore January 09, 2020 11:09AM |
Registered: 5 years ago Posts: 20 |
Re: WM22: Android - update user app without Playstore January 09, 2020 04:12PM |
Registered: 5 years ago Posts: 236 |
Re: WM22: Android - update user app without Playstore January 10, 2020 11:33AM |
Registered: 5 years ago Posts: 20 |
Re: WM22: Android - update user app without Playstore January 21, 2020 05:41PM |
Registered: 5 years ago Posts: 20 |
Bob Stratton
Re: WM22: Android - update user app without Playstore January 22, 2020 02:45PM |
Re: WM22: Android - update user app without Playstore January 22, 2020 08:01PM |
Registered: 5 years ago Posts: 192 |
Re: WM22: Android - update user app without Playstore January 23, 2020 08:33AM |
Registered: 5 years ago Posts: 20 |
Re: WM22: Android - update user app without Playstore January 23, 2020 03:31PM |
Registered: 5 years ago Posts: 236 |
Re: WM22: Android - update user app without Playstore January 24, 2020 12:23PM |
Registered: 5 years ago Posts: 192 |
import java.io.File; import android.content.Intent; import android.net.Uri; import android.content.Context; public static void ApkInstall(String sAPK){ Intent i = new Intent(); i.setAction(android.content.Intent.ACTION_INSTALL_PACKAGE); i.setDataAndType(Uri.fromFile(new File(sCheminAPK)), "application/vnd.android.package-archive"); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); getActiviteEnCours().startActivity(i); }
Re: WM22: Android - update user app without Playstore January 27, 2020 08:25AM |
Registered: 5 years ago Posts: 20 |
Re: WM22: Android - update user app without Playstore January 27, 2020 03:49PM |
Registered: 5 years ago Posts: 236 |
> import java.io.File; > import android.content.Intent; > import android.net.Uri; > import android.content.Context; > > public static void ApkInstall(String sAPK){ > > Intent i = new Intent(); > i.setAction(android.content.Intent.ACTION_INSTALL_PACKAGE); > i.setDataAndType(Uri.fromFile(new > w File(sCheminAPK)), > "application/vnd.android.package-archive"); > i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > getActiviteEnCours().startActivity(i); > > } >
Re: WM22: Android - update user app without Playstore January 27, 2020 03:56PM |
Registered: 5 years ago Posts: 236 |
Re: WM22: Android - update user app without Playstore January 27, 2020 07:46PM |
Registered: 5 years ago Posts: 192 |
import java.io.File; import android.content.Intent; import android.net.Uri; import android.content.Context; public static void APkInstall(String sAPK){ Intent i = new Intent(); i.setAction(android.content.Intent.ACTION_INSTALL_PACKAGE); i.setDataAndType(Uri.fromFile(new File(sAPK)), "application/vnd.android.package-archive"); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); getActiviteEnCours().startActivity(i); }
Re: WM22: Android - update user app without Playstore January 31, 2020 02:59PM |
Registered: 5 years ago Posts: 236 |
Re: WM22: Android - update user app without Playstore February 03, 2020 09:31AM |
Registered: 5 years ago Posts: 192 |
Re: WM22: Android - update user app without Playstore February 03, 2020 01:45PM |
Registered: 5 years ago Posts: 236 |
Re: WM22: Android - update user app without Playstore February 04, 2020 01:32PM |
Registered: 5 years ago Posts: 192 |
Re: WM22: Android - update user app without Playstore July 08, 2020 10:29AM |
Registered: 5 years ago Posts: 20 |
Argus
Re: WM22: Android - update user app without Playstore July 10, 2020 03:36PM |
Re: WM22: Android - update user app without Playstore July 11, 2020 08:57AM |
Registered: 5 years ago Posts: 236 |
Argus
Re: WM22: Android - update user app without Playstore July 11, 2020 02:25PM |
Re: WM22: Android - update user app without Playstore July 12, 2020 03:22PM |
Registered: 5 years ago Posts: 236 |
Argus
Re: WM22: Android - update user app without Playstore July 13, 2020 02:36PM |
Re: WM22: Android - update user app without Playstore July 13, 2020 04:51PM |
Registered: 5 years ago Posts: 236 |
Re: WM22: Android - update user app without Playstore July 14, 2020 06:50AM |
Registered: 5 years ago Posts: 54 |
Re: WM22: Android - update user app without Playstore July 14, 2020 02:17PM |
Registered: 5 years ago Posts: 236 |