I have developed an Android application.Can anyone suggest me the best Android snippet for checking for the newest version in android market when my application launches?
You should not do that, Android Market automatically checks for updates and displays notifications if new versions of software becomes available.
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 an app on Google Play targeting minimum Android 2.2. Now I want to upgrade the app to at least Android 4.0. I know I have at least one user who is using Android 2.2. What will happen to this user, will he/she still be able to use the app but without the new features or will I loose this user/customer?
He/she will not receive the update, but will still be able to use the app as long as it is backwards compatible
Check this page from Android on the topic: https://developer.android.com/guide/topics/manifest/uses-sdk-element.html
Teeh user will still be able to use the app (if it is backwards compatible with your backend), but the user will not recieve any updates.
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.
I have a lower version App installed in device using adb install command. I have a higher version of App in Android Market. I would make update the app in device automatically from Android Market. I saw the similar post below:
Prompt Android App User to Update App if current version <> market version
Is there a way to automatically update application on Android?
but Neither of those posts answer this question.
They mush have some solution. just like Goole Maps and Gmail does. I don't know how Google Maps does it?
someone suggest uses
http://code.google.com/p/android-market-api/
But it failed for me on code below: (android 3.2)
session.login("mymail#gmail.com",password);
Thank you in advance.
this is not really possible since your app wasn't first installed from the Android Market, so the market doesn't know about this "purchase", doesn't track updates so it won't prompt the user to update, or auto-update the app.
The only way to do it is to install the app from the market, keeping the "auto-update" checkbox on.
I want to ask if is it ok that i update already posted version on android market. Like i have version 5.0 and 4.0 on android market. If i want to remove 5.0 from android market and make changes to it and post back the 5.0 version. Is there any implications to that. Is there any problem with this approach?
You should change the version no to something great than existing version no. This is required so that android market client knows that a new version is available and it notifies the user to update the app.