Today, when I started the game greedy spider, there was a dialog box telling me there was an update and a link to get it from the market. I'd like to know how can I do that?
How can you change the app (like adding a dialog box at the opening) without pushing an update to the market?
Thank you!
There is no straightforward way of doing it.
I can imagine something like that:
There is an unofficial Market API which you can use to fetch the details about your app and check the version How to fetch Android Market data when there is no API?
You can start your own web-service which would return you the current app version
After you've fetched the new app version from some external source, the rest is pretty easy - get the current installed version from app's PackageInfo and show the dialog if it's lower that the newest one.
Related
I'm new in Android Things and was trying to do OTA updates. In Android things console whenever I pushed a new OTA, along with the new app version, it refreshed the image as well. However, I want my image to be the same as earlier and just app to get replaced over the air. Is it possible?.
I have been thinking to use play store to update my app in android things. Can it be done?
Thank you in Advance.
In Android Things, all apps on the system are bundled in an updated OTA image and updated in that way. There's no mechanism for updating individual applications like on Google Play.
I have uploaded my app on google play store. I need when I do an update in my app the old versions of the app doesn't work on user devices until they updated the app. For example when I make an update when the users that have old versions of the app opens it a dialog opens to them asking them to update the app to be able to use it , How can I do that?
You can't go and change old versions retrospectively - the code is already out there on devices.
If you want this feature in new versions of your app however, I would recommend using something like Firebase Remote Config. That will let you control the minimum version of your app on a server, so you could give the users a week to update, then change the config on the server, and the app will know to ask the user to update.
I want to know if it is possible to check if the app that the user is running is the latest version that is available at Google PlayStore. I have read some answers and they say that this is not possible, but I see some apps that do this.
Can someone tell me how can I do this? I can see that this is possible.
Indeed the Google Play Services do not expose such API.
But you could use a workaround to check for newer versions: a simple request on your serveur could do, parsing the Play Store page could do too etc.
You can create an api on your server for these kind of operations.
Your api can return values such as currentVersionCode, minVersionCode and an updateMessage.
You can compare your apps version code, currentVersionCode and minVersionCode and show a dialog for nice to update or force update.
I have build a maps related software which require the app to get update whenever the base map is modified. Basically we have nodes.json whose data will get updated under such situation.
One way i am thinking of is to have the latest version of .apk on my dropbox account. Whenever the file in my account is of higher version than the one currently installed, user will get a pop-up . But i am not very clear about the implementation.
Also the application works offline so whenever user connects to some internet source he should be notified..
Please help me with my solution or suggest if there is a better solution.
thanks
I developed an android application and I have put it in android app store by paying 25 bucks. However some people are using my application in their device. I wanna know, if I upload the updated version of my app in app store then how user finds that out?
I found out some links on the same context in android developer site and all but didn't technically clear out my understanding. Basically I want to know,
how android app update mechanism works?
How device gets notification of available updates?
Please provide some clarity as a developer point of view/ code level.
Reffered links:
Android app update mechanism http://developer.android.com/google/play-services/setup.html http://developer.android.com/tools/publishing/versioning.html#minsdkversion
Here you go.
Try this code hope thats what you want.