we have our android application which is running in kiosk mode. We would like to have feature to automatically check for updates, install those updates and run application again.
We can use some android service for that (actually, that's preferable way).
Do anybody has idea how we can accomplish that?
Thank you.
When the user has activated the auto update option in Play Store, then your update will automatically installed once the user has Wifi. If the user hasn't set this option you can do nothing about that.
You can ping your API every time your app starts, and your API has to tell you whether there is a new version. With this information you can display a popup to the user which forwards him to your PlayStore entry. But the user must select to update your app, you can not automate this process.
What you could do: If you write an HTML5 app, or you have a WebView which loads content from the network, then you can do your magic updates by simple updating the sources on server side.
Related
How to do silent update in Android App
it's possible to update the app in silently. i.e (no user interaction)
what is the best way to achieve that? thank you in advance
If you have published your app in playstore and you want to update your app , then there is no way except the user has turned on AutoUpdate and update will run in background.
But if you have not published your android app in playstore and you want to update your app , then you should run Service in background and should link some flags from your database to notify the app about update.
and after that your app should have background Service for updating the app but that will also need permission for update. So practically I think it is Impossible without permission.
I have a condition where the internal DB will be changed and after the migration the old app will no longer work. Is there a way that google play or apple app store provides any flag which does this job?
Also I don't have any version check in my current app (which is already with customers) so cannot display any message in the current app to download new app and ask them to update or quit the app.
I am using Adobe Flash Builder 4.6 to create IOS & Android apps.
You can not force users to update the application but you can send them push notification for updating the application if they want to and you have implemented into current version.
But when you release the update they are able to get notify by app store and if they want they can install the update from there..
As you cannot force users to update the app using Google play or AppStore build-in feature, you can use third party librairies that do exactly what you want. appgrades.io allows you to block any version of your app by displaying a view or popup (that you can customise on appgrades Dashboard) with a custom message to ask your users to update the app. You can even add an update button that sends the users to the appstore/Google play where they can update the app. No code needed. Just integrate the SDK in your app and block any version anytime.
The other solution would be coding what appgrades does by checking with your api the latest available version and block the app with a view when you are running a lower version.
First of all, I'm sorry I don't speak very good english. I have a thesis project to make android app similiar like logo quiz using java. Basicaly, I have to make the admin site of this app or make it updatable not via play store. I'm going to put the newest APK version in a website host. Does anyone here know how to make it work like that? Or maybe you have another idea to make the admin site? please tell me
The update also must be installed. The user will check is there any newest version. Then user will download it and the downloaded APK will be automaticaly installed
This is not easy to do. The only option you have is to write some server side code to let a client know what the latest version is. The client can trigger a local notification and alert the user that a new version is available.
Facebook managed to do what you're asking but I'm sure a lot of engineering effort went into it.
[EDIT]
Google has updated their policy to forbid dynamic updates.
“An app downloaded from Google Play may not modify, replace or update
its own APK binary code using any method other than Google Play's
update mechanism.”
FYI Without uploading on play store, user will never come to know about the updates of your app.
Or
There must be some kind of notification you should implement in your admin and send to your users using the app, and through that notification you should ask user to download updated APK from your web.
i want to make such an application that user is not allowed to uninstall it. As our company is going to launch our own android phone and my application is going to preinstall in it..so that user wont be able to delete or uninstall it.
can anyone tell me how to achieve such a functionlity...?
If your company is going to launch its own android phone, put your application in the android source, like the other native applications (Settings, Gallery, etc). Also, modify the source, so that in Settings --> Manage Applications there is no entry for your application. If you install your application on a device by a installation manager or anything else then a user can uninstall your application. (You can't prevent this).
If one publish's an app to the Android Market place and post-purchase/download tasks need to be carried out upon the purchase of the app by a customer through the marketplace, how can this be automated? For example, my Android app might require remote connectivity of some kind and so a username and password must be emailed out to them after they have downloaded my app + a record adding to my database..I know I must write a web service of somekind but cant think where to start :o does google checkout accommodate for such post-installation processes?
I am not sure if there is a post-installation callback that Android provides, but this sounds like something that can be done on first startup.
You could have a boolean in the application preferences that is used to determine if the your applications 'setup' has been completed. Any time the application is started, you check the boolean, and if they have already completed setup, you do a typical start, otherwise you prompt the user to go through the setup process.