Auto-update app

KashMalaga

Member
Licensed User
Longtime User
I have been done an test update app that works really great.
Now the only bad point, is that the only way to show that need to update the new version is trought a webview on a html page.

For i tested webview component doesnt allow to start any kind of download, instead you get a redirected php download,etc.

Someone have one idea how can be done this?.

Better explanation. I got an app instaled on my phone. Loading first url changelogs gives the option to open a New website, using Android Browser or whatever cause by default i guess for security doesnt allow start a download.

Regards
 

NJDude

Expert
Licensed User
Longtime User
If I understand correctly what you want is to open the app and when it's open, if an update is available prompt you to download it?

If the answer is yes then what you can do is to send the current version to your website and compare the values, if they are different then prompt the user to update, answering yes will redirect the user to the Market to download.

I wrote an app that has that feature, the only problem is that sometimes the Market is "slow" refreshing the new version so the user might not see the new version.

I hope that helps.
 
Upvote 0

KashMalaga

Member
Licensed User
Longtime User

Dear NJDude,

We written successfully the auto-updater plugin and its works great.
The problem its that we dont want to work with Android Market, so we want that all OLD customers, from our old running version can update to this new build that allow auto-update. Our only chance is do it from a webview component that we are using as Started changelog Info, but appears that doesnt allow to open a new android browser or start a donwload


Regards and thanks for your answer
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
Ok, I see, well, what about downloading the APK? that way you don't have to open a browser, just download it and then install it, you can search this forum for PackageManager intents, I believe there's one that will show you how to install an app.
 
Upvote 0

KashMalaga

Member
Licensed User
Longtime User
Ok, I see, well, what about downloading the APK? that way you don't have to open a browser, just download it and then install it, you can search this forum for PackageManager intents, I believe there's one that will show you how to install an app.

Dear NJDude,

No this isnt be our problem, our update its done works fine and donwload the apk and install it fine.

The problem here is how comunicate with they without using email or android market to allow they to update our app, we think using our first load webview that now shows changelog. But on android when the app is running doesnt do anything, not allow you to start a download etc.etc

Using html source on webview:

<a target="_top" href="http://blabla.com/bla.apk">Download</a>

We tested for sure _blank and diferent targets, but webview component doesnt allow any download

I hope that this can explain what we are asking
 
Upvote 0
Hi
how can i add an auto updater to my program. i uploaded new version of my program into my site.
how can i do this please help me.
Thanks :sign0163:
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…