<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>WM22: Android - update user app without Playstore</title>
        <description>Hi all,

What ways can we automatically update the user app without using Playstore?

We can check for an update and download it, but how can it be installed without user intervention?

Thanks

Pete</description>
        <link>https://www.wxforum.info/read.php?27131,792119,792119#msg-792119</link>
        <lastBuildDate>Wed, 20 May 2026 12:25:34 +0200</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,793521#msg-793521</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,793521#msg-793521</link>
            <description><![CDATA[ Hello Peter<br />
<br />
I have already posted the code on this topic above above here<br />
but not satisfactory]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Tue, 14 Jul 2020 14:17:46 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,793517#msg-793517</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,793517#msg-793517</link>
            <description><![CDATA[ Hi Infos and Argus,<br />
<br />
Maybe Info show your code first? Then maybe Argus could point out any code that need to be changed?<br />
<br />
It would be great to get some working code to do this!<br />
<br />
Cheers<br />
<br />
Pete]]></description>
            <dc:creator>Peter Muckle</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Tue, 14 Jul 2020 06:50:31 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,793514#msg-793514</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,793514#msg-793514</link>
            <description><![CDATA[ Argus<br />
<br />
We did not understand each other<br />
<br />
I did not ask for your private information from your company<br />
<br />
I asked the code in general, WLanguage or java or any other code are public right<br />
<br />
but well, I respect your discretion<br />
<br />
Best regards]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 13 Jul 2020 16:51:32 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,793511#msg-793511</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,793511#msg-793511</link>
            <description><![CDATA[ I fail to see how a legal document/contract like a confidentiality agreement is funny in any way, shape or form, and I&#039;ve never seen anybody laugh while reading one, so I&#039;ll let you laugh by yourself in this case]]></description>
            <dc:creator>Argus</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 13 Jul 2020 14:36:54 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,793505#msg-793505</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,793505#msg-793505</link>
            <description><![CDATA[ Greeting<br />
<br />
a little funny answer but good]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Sun, 12 Jul 2020 15:22:14 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,793497#msg-793497</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,793497#msg-793497</link>
            <description><![CDATA[ I am not in a legal position where I can offer my code here... Sorry.<br />
<br />
When I was trying to do that, I used Fabrice&#039;s consulting help to do the initial setup, so if you are stuck, you can do the same.]]></description>
            <dc:creator>Argus</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Sat, 11 Jul 2020 14:25:14 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,793496#msg-793496</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,793496#msg-793496</link>
            <description><![CDATA[ Hello Argus<br />
<br />
I tried something similar but it didn&#039;t work!<br />
<br />
Do you have a code to share with us here<br />
<br />
Thank you]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Sat, 11 Jul 2020 08:57:47 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,793491#msg-793491</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,793491#msg-793491</link>
            <description><![CDATA[ what I do (working on all version of android I tested):<br />
1. TELL THE USERS TO AUTHORISE INSTALLS FROM ANOTHER SOURCE THAN PLAYSTORE &lt;&lt;&lt; can&#039;t work without that<br />
2. read ini file on server via httprequest<br />
3. if new version, download it via httprequest<br />
4. run it via shellexecute<br />
5. endprogram<br />
<br />
works like a charm]]></description>
            <dc:creator>Argus</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Fri, 10 Jul 2020 15:36:04 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,793473#msg-793473</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,793473#msg-793473</link>
            <description><![CDATA[ Hi everyone,<br />
I&#039;ve managed to make it work on android 8 and below, with the combination of FTPGet and ShellExecute to start the update (while having REQUEST_INSTALL_PACKAGES in the manifest).<br />
However, with Android 10 ShellExecute doesn&#039;t work anymore, as it returns the error &quot;The document was not opened because no application is properly associated&quot;.<br />
Is there a way to make it work?<br />
TIA<br />
<br />
P.S.: I&#039;m using WM23]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Wed, 08 Jul 2020 10:29:01 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792822#msg-792822</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792822#msg-792822</link>
            <description><![CDATA[ Then it&#039;s getting more difficult I&#039;m afraid.<br />
<br />
I had one situation where the Android versoin on the tablet was too old (4.0 where I had set 4.4. as the minimum somewhere in the APK-generation wizard)<br />
<br />
Maybe you can use the Android log (logcat) to get more details about this error. <br />
Google for ADB and Logcat, I don&#039;t have a step by step instruction for that]]></description>
            <dc:creator>ArieM</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Tue, 04 Feb 2020 13:32:16 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792821#msg-792821</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792821#msg-792821</link>
            <description><![CDATA[ Arie<br />
<br />
Error<br />
<br />
There was a problem parsing the package]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 03 Feb 2020 13:45:23 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792817#msg-792817</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792817#msg-792817</link>
            <description><![CDATA[ No problem here. Can you copy/paste the error?]]></description>
            <dc:creator>ArieM</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 03 Feb 2020 09:31:18 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792814#msg-792814</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792814#msg-792814</link>
            <description><![CDATA[ Arie<br />
<br />
Unfortunately, this code does not produce a good result either<br />
<br />
It displays the same message as with my code<br />
<br />
I don&#039;t know if it&#039;s okay with you?]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Fri, 31 Jan 2020 14:59:39 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792803#msg-792803</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792803#msg-792803</link>
            <description><![CDATA[ I&#039;m sorry there&#039;s a little typo. Originally it&#039;s a French piece of code I found somewhere. I used it that way but translated it for this forum without testing first .<br />
<br />
Should be this<br />
<br />
<pre class="bbcode">
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)), &quot;application/vnd.android.package-archive&quot;);
	i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
	getActiviteEnCours().startActivity(i); 
	
}

</pre>]]></description>
            <dc:creator>ArieM</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 27 Jan 2020 19:46:01 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792802#msg-792802</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792802#msg-792802</link>
            <description><![CDATA[ Wilaroth<br />
<br />
Not a problem in REQUEST_INSTALL_PACKAGES<br />
<br />
Action FTPGet needs to download apk to another folder eg Download and not to fExeDir () and then everything will work fine, I tested]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 27 Jan 2020 15:56:02 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792801#msg-792801</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792801#msg-792801</link>
            <description><![CDATA[ ArieM Wrote:<br />
-------------------------------------------------------<br />
&gt; FYI<br />
&gt; <br />
&gt; ShellExecute seems to start the installation<br />
&gt; proces as a child-proces of your current app.<br />
&gt; Which causes some kind of confflict. It does<br />
&gt; install the update, but afterwards there is no<br />
&gt; option to start the app. As we know from a<br />
&gt; fresh/new install.<br />
&gt; <br />
&gt; I also tries ExeRun wirth no luck, does not start<br />
&gt; the installation in the first place.<br />
&gt; <br />
&gt; But the below piece of code seems to do the trick.<br />
&gt; Instead of a child-proces is launches a new<br />
&gt; activity/process. And then at the end the user is<br />
&gt; given the option to start your app.<br />
&gt; <br />
&gt; It is also important that your app can exit<br />
&gt; friendly from that point, as the installer tries<br />
&gt; to kill it.(I&#039;m not sure if a &quot;Do you really want<br />
&gt; to exit...&quot; dialog will block that)<br />
&gt; <br />
&gt; Create a global JAVA procedure with the following<br />
&gt; code and then just call ApkInstall(your_apkfile)<br />
&gt; from your Windev code<br />
&gt; <br />
&gt; <pre class="bbcode">
&gt; import java.io.File;
&gt; import android.content.Intent;
&gt; import android.net.Uri;
&gt; import android.content.Context;
&gt; 
&gt; public static void ApkInstall(String sAPK){
&gt; 
&gt; Intent i = new Intent();
&gt; i.setAction(android.content.Intent.ACTION_INSTALL_PACKAGE);
&gt; i.setDataAndType(Uri.fromFile(new
&gt; w File(sCheminAPK)),
&gt; &quot;application/vnd.android.package-archive&quot;);
&gt; i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
&gt; getActiviteEnCours().startActivity(i);
&gt; 
&gt; }
&gt;</pre>
<br />
<br />
<br />
Arie<br />
<br />
<br />
Does this java code not work?<br />
When apk is generated java code error occurs]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 27 Jan 2020 15:49:40 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792800#msg-792800</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792800#msg-792800</link>
            <description><![CDATA[ @infos yes, exactly, with that integration it begins to work even on android 8 and 8.1, not sure of the versions above though<br />
<br />
@Arie thanks for the tip, i&#039;ll surely try that]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 27 Jan 2020 08:25:00 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792795#msg-792795</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792795#msg-792795</link>
            <description><![CDATA[ FYI<br />
<br />
ShellExecute seems to start the installation proces as a child-proces of your current app. Which causes some kind of confflict. It does install the update, but afterwards there is no option to start the app. As we know from a fresh/new install. <br />
<br />
I also tries ExeRun wirth no luck, does not start the installation in the first place.<br />
<br />
But the below piece of code seems to do the trick. Instead of a child-proces is launches a new activity/process. And then at the end the user is given the option to start your app.<br />
<br />
It is also important that your app can exit friendly from that point, as the installer tries to kill it.(I&#039;m not sure if a &quot;Do you really want to exit...&quot; dialog will block that) <br />
<br />
Create a global JAVA procedure with the following code and then just call ApkInstall(your_apkfile) from your Windev code <br />
<br />
<pre class="bbcode">
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)), &quot;application/vnd.android.package-archive&quot;);
	i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
	getActiviteEnCours().startActivity(i); 
	
}
</pre>]]></description>
            <dc:creator>ArieM</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Fri, 24 Jan 2020 12:23:15 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792789#msg-792789</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792789#msg-792789</link>
            <description><![CDATA[ Wilaroth<br />
<br />
You are working on WM22, does this mean that with this add-on REQUEST_INSTALL_PACKAGES the thing works on newer versions of Android like Android 8?]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 23 Jan 2020 15:31:27 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792785#msg-792785</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792785#msg-792785</link>
            <description><![CDATA[ Hi Ariel and Bob,<br />
thanks for the replies.<br />
What I was missing was indeed the REQUEST_INSTALL_PACKAGES permission to be inserted directly in the manifest.<br />
Couldn&#039;t find this one in the wizard, so i&#039;ve just added a child node called uses-permission, and with the attribute<br />
<br />
android:name                     android.permission.REQUEST_INSTALL_PACKAGES]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 23 Jan 2020 08:33:49 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792783#msg-792783</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792783#msg-792783</link>
            <description><![CDATA[ Wilaroth, I basicly do the same as you and it works on Android 5 and higher, including Android 8.<br />
<br />
- WM23<br />
- Android SDK 25<br />
- I added both INSTALL_PACKAGES and REQUEST_INSTALL_PACKAGES to the APK generation script (using the wizard in WM)<br />
- I download the file and save it in fCurrentDir() + [&quot;/&quot;] + ProjectInfo(piConfiguration)<br />
- And finally do a ShellExecute with that file<br />
<br />
Note:  You need to rebuild every APK before testing/performing the install. Only then it gets a new internal &quot;Generation number&quot;, which is visible in the advanced options of the WM wizard. That was my mistake with a lot of tests. I just tested the various ShellExecute() options with different paths and so on, but with the same APK and thus &quot;generation number&quot; over and over again. This will result in a &quot;Parsing error&quot; in log (logcat).]]></description>
            <dc:creator>ArieM</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Wed, 22 Jan 2020 20:01:19 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792780#msg-792780</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792780#msg-792780</link>
            <description><![CDATA[ Hi,<br />
<br />
You could set it up as a private app in the playstore if you only want certain people to be able to use it.<br />
<br />
[<a href="https://support.google.com/a/answer/2494992?hl=en"  rel="nofollow">support.google.com</a>]]]></description>
            <dc:creator>Bob Stratton</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Wed, 22 Jan 2020 14:45:08 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792770#msg-792770</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792770#msg-792770</link>
            <description><![CDATA[ Hi,<br />
actually using WM23.<br />
With the method described by infos, I can get it to work on devices with version 7.1 or lower.<br />
However, when i try to do the same on a device with 8.0 or greater, at the ShellExecute function it doesn&#039;t open the window for upgrading / installing the apk.<br />
How can I fix this?]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Tue, 21 Jan 2020 17:41:20 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792732#msg-792732</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792732#msg-792732</link>
            <description><![CDATA[ Hi infos,<br />
tried with RunExe, but without success. I think that the message is the only possible way, sadly.]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Fri, 10 Jan 2020 11:33:37 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792726#msg-792726</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792726#msg-792726</link>
            <description><![CDATA[ Hello Wil<br />
<br />
1. Yes, as I said the problem is in the WM version and the Android version.<br />
<br />
2. Try RunExe or message the user to restart the application]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 09 Jan 2020 16:12:32 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792719#msg-792719</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792719#msg-792719</link>
            <description><![CDATA[ Hi infos,<br />
thanks for the reply.<br />
I tried your code, but at the time it tries to install the new version, it says &quot;There was a problem while parsing the package.&quot;.<br />
I tried changing the destination folder from fExeDir() to SysDirExternalStorage(1,sseAppDownload), and this time it says &quot;App not installed. The package appears to be corrupt.&quot;<br />
Am I missing something?<br />
<br />
P.S.: I&#039;m using WM 23 and the device runs on Android 7<br />
<br />
EDIT: I&#039;ve found that the new version of the apk must have the value android:versionCode in the manifest greater than the one on the device, now it updates properly.<br />
Just one thing: how do i automatically restart the app after it&#039;s updated?<br />
TIA]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 09 Jan 2020 11:09:27 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792717#msg-792717</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792717#msg-792717</link>
            <description><![CDATA[ Hello everyone<br />
<br />
Here is the code that works for the question listed here:<br />
<br />
<br />
<pre class="bbcode">
PROCEDURE Auto_update()

dtVerzija_nova is DateTime
dtVerzija_stara is DateTime

nKonekcijaID is int
nKonekcijaID = FTPConnect(&quot;ftpserver&quot;,&quot;ftpuser&quot;,&quot;ftppasw&quot;,21)
IF nKonekcijaID &lt;&gt; -1 THEN
IF FTPFileExist(nKonekcijaID,&quot;/APK/Infos.apk&quot;) THEN
    dtVerzija_nova = FTPDateTime(nKonekcijaID,&quot;/APK/Infos.apk&quot;)
    dtVerzija_stara = fDateTime(fExeDir()+&quot;\Infos.apk&quot;)
    IF dtVerzija_nova &lt;&gt; dtVerzija_stara THEN
         IF FTPGet(nKonekcijaID,&quot;/APK/Infos.apk&quot;,fExeDir()) THEN
             IF ShellExecute(fExeDir()+&quot;\Infos.apk&quot;) THEN
                  ToastDisplay(&quot;Instalirana je najnovija verzija aplikacije&quot;)
             END
         END
    END
END
FTPDisconnect(nKonekcijaID)
ELSE
//Error()
END</pre>
<br />
<br />
<br />
REMARK:<br />
<br />
WM 22 - This code works until Android 8, for newer Android versions it must be WM 23 or 24]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Wed, 08 Jan 2020 18:26:58 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792716#msg-792716</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792716#msg-792716</link>
            <description><![CDATA[ Hello everyone<br />
<br />
Here is the code that works for the question listed here:<br />
<br />
PROCEDURE Auto_update()<br />
<br />
dtVerzija_nova is DateTime<br />
dtVerzija_stara is DateTime<br />
<br />
nKonekcijaID is int<br />
nKonekcijaID = FTPConnect(&quot;ftpserver&quot;,&quot;ftpuser&quot;,&quot;ftppasw&quot;,21)<br />
IF nKonekcijaID &lt;&gt; -1 THEN<br />
	IF FTPFileExist(nKonekcijaID,&quot;/APK/Infos.apk&quot;) THEN<br />
		dtVerzija_nova = FTPDateTime(nKonekcijaID,&quot;/APK/Infos.apk&quot;)<br />
		dtVerzija_stara = fDateTime(fExeDir()+&quot;\Infos.apk&quot;)<br />
		IF dtVerzija_nova &lt;&gt; dtVerzija_stara THEN<br />
			IF FTPGet(nKonekcijaID,&quot;/APK/Infos.apk&quot;,fExeDir()) THEN<br />
				IF ShellExecute(fExeDir()+&quot;\Infos.apk&quot;) THEN<br />
					ToastDisplay(&quot;Instalirana je najnovija verzija aplikacije&quot;)<br />
				END<br />
			END<br />
		END<br />
	END<br />
	FTPDisconnect(nKonekcijaID)<br />
ELSE<br />
	//Error()<br />
END<br />
<br />
<br />
REMARK:<br />
<br />
WM 22 - This code works until Android 8, for newer Android versions it must be WM 23 or 24]]></description>
            <dc:creator>infos</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Wed, 08 Jan 2020 18:24:47 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792714#msg-792714</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792714#msg-792714</link>
            <description><![CDATA[ Hi everyone,<br />
I am also interested in this method of updating applications.<br />
Have you found a final solution to it?<br />
TIA]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Wed, 08 Jan 2020 09:39:10 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792119,792229#msg-792229</guid>
            <title>Re: WM22: Android - update user app without Playstore</title>
            <link>https://www.wxforum.info/read.php?27131,792119,792229#msg-792229</link>
            <description><![CDATA[ removed as solution was incorrect didnt read the OP my solution still requires user to click install.]]></description>
            <dc:creator>ISO</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Mon, 09 Sep 2019 12:42:12 +0200</pubDate>
        </item>
    </channel>
</rss>
