Android app deployment on over 100 devices - android

We have a fleet tracking Android app which is isntalled on around 100 mobiles.
Problem is to update each mobile whenever there is a patch release. And unfotunately we have not set auto-update.
Now we need to call each driver and follow the process of update from google play.
This is becoming very tedious as they have to go to google play, search the application and install/update it.
And the mobiles are located all over the country.
Before it was easy as Goolge play was giving an option to know the apps installed on each mobile.
Need your advice on how do we manage/automate this update issue.

Build an in-app push notification that there's a new version and have an easy link to Google Play from it. However, this does have a bootstrapping problem, and you will have to make everyone install the new version manually (as in you call them and ask them to do it) at least once. Still, this is your only viable option, as Google Play developer agreement prohibits pushing app updates through other channels.
If you have email or IM contact with the drivers, you can also send them a message there's a new version with the direct link to the Google Play. They will have to open it on their device, of course.
The link format should be market://details?id=com.mycompany.myapp, https://play.google.com/store/apps/details?id=com.mycompany.myapp, or http://market.android.com/details?id=id=com.mycompany.myapp. Either of these three in general should work, though some OEMs have messed up their devices configuration and prevent Google Play app from intercepting the http/https form properly.

You could check a text file located on a server or something like that and then lookup if the current instaleld version is the same as the server version. If not you could download the new apk and open it. As far as I know this is not allowed by Google Play so you must remove the app from google play

Related

Is it possible to upgrade a device owner app through Google Play?

I've created a device owner app, which I install through a QR code when I factory reset my devices. Everything's fine until here.
Now I have a new version of the same device owner app, and I want to update the devices which have the previous version to this new version.
Is it possible to achieve this using Google Play?
I don't want to use custom methods like uploading the APK somewhere and downloading it with some Java code, because I want to centralize the releases in Google Play.
So far I have uploaded the new version (version code is 5, old one is 2) of the app to Google Play and tried to upgrade from there, but it does not work: in Google Play I just see the app as installed, and the "Disable" and "Open" button, but not the button to upgrade it.
Any thoughts? I've found some posts like the ones below, but they're 5 years old, maybe something has changed and this is not longer possible.
Install updates for a Device-Owner App
Install a GooglePlay located App from NFC
I haven't been able to find any specific information on updates with device owner apps. The documentation is extensive about how to create and install a device owner app, but not on how to upgrade it.
Thanks a lot in advance!
You didn't install it from play store , I THINK you can't update Device-Owner apps which were not installed from play store , except for the way you mentioned.

Google Play not automatically updated

I prepared my own I published in android apps on Google Play. Downloading app. However, I publish every new device is installed after the application version is not automatically updated. I tried on all devices. I activated the automatic update option from the Google Play app.
Unfortunately, I get the same results. Is there that might help?
Solution.
Add validation code inside your own app to check application version and open Google Play if newer is released. You can store version somewhere in your own server.
Automatic application updates are not popular in Android devices. Sad but true.
Do not forget whether your enabled this option in your device https://support.google.com/googleplay/answer/113412?hl=en

How can I test my published Google Play app if it's not available in my country?

I've just published an app on Google Play, and I want to make sure that it's working for real users. However, I don't want it to be available in my country. How can I test my app?
My goal is to make sure that the process of downloading the app from the store, running it, and using in app purchases, etc, is all working fine.
When I try to download the app, of course Google Play tells me that it's not available in my country. I've tried uploading a version of the app to Google Play as a Beta version, and adding myself as a Beta tester, but I get the same result.
I see two obvious solutions:
Make the app be available in your country just for a minute while
you would download it to your device.
Use a proxy server to access
the Internet located in the appropriate country. I consider Google
Play will think that's your actual location.

Android, sideloading applications and keep them up to date via Google Play

My company would like to give an Android device to a group of our selected customers.
Doing that, we would like to provide users with our mobile app. The app is already on Google Play, but we would like to avoid users downloading and installing by themselves. We prefer to give the device ready, with the app already installed.
We found several ways to manually install an APK on the phone without having to login to the market. But it seems that doing that, the user will not be able to update the app via Google Play, as the app would not be recognized as installed.
Any idea?
As per January 2015, this appears to be impossible. Here is the response I got from Google Play Developer support:
Side-loaded apps do not update via the Play Store. If you would like the app to update, you will need to uninstall the app on your phone and reinstall the app via the Play Store.
I wonder if anyone found a way around this?
To summarize the answer from #Android-Developer and OP's comment discussion:
Google Play recognizes the app signature of APKs regardless of the installation source. As long as you use the same package name and keystore when generating your APK, Google Play will be able to detect newer versions and trigger an update.
To install the app without logging in to a Google account, enable the "Install from unknown sources" option in Settings. You can disable it once the installation is complete.
You may install Titanium Backup if your phone is rooted, then long press on your side loaded app package and select "Attach to market" option. Now you may receive updates via Google Play.
I don't recommend this, I mean never install cracked or patched apps because of copyright or security risks, but installing a Modded version of Google Play can make patched side loaded apps to be upgraded after attaching them to market via Titanium Backup. This is not needed for purchased apps because they are registered in your Google account, so attaching to market will be enough.
To get a MANUALLY INSTALLED APK to show up in the Google Play Store in the UPDATES or INSTALLED section, do either of the following:
1.) Manually install the APK with the SAME APK filename that Google knows the app as (i.e. from the APK download site like APKMirror.com).
2.) If you CHANGED the APK name when you saved it, it will NOT show up in Google Play Store as an installed app.
However, IF there is an update to the app, you will have to do a ONE-TIME search for that app in the store and update it. It will give you the UPDATE option on the app's store page. Once updated via the store, it will show up in the store's Installed / Updates section from now on.
Why does this work? Because the UPDATE will be done thru the store and the APK name it's using during the update process is what Google knows the app as.
If there is NO update, do option #1.
I always add the App name and version info to the front of the filename so I know what it is for later use (because if I'm manually installing, I'll probably be saving it for multiple / future devices).
I also keep the original name at the end, so I can rename it back to the original name if needed. Android is the only O/S I've seen where the filename matters during the install process.

Distributing "Free" Android App as .apk file directly

I have already published android app on Google Play. It is desired to distribute the application even offline as .apk file directly. My app is completely free and we wish it should spread to as many people.
I am not sure what could be advantages and disadvantages of providing .apk file?
Questions are :
Will Google play count direct .apk installation as a download, when connected to internet ?
Will users with direct .apk installation get any update published later ?
To answer your questions:
Yes, you will get a download prompt if you click on an .apk in Android. When you go to open the completed download, it will offer it up for install (see caveats below)
If you offer your .apk up for direct download outside of Google Play you get no "update checking" -- you have to do that yourself. Not entirely sure what happens if the .apk is available in the play store and via direct download.
It is easier to talk about the disadvantages for the approach of distributing the .apk yourself.
You have to do all the tracking yourself, if you publish to the play store you get some statistics
Similarly, you have to do all "update checking" on your own (either via writing it in your app or some other way.)
No secure way of distributing your application. The built in Android browser does not support downloads over HTTPS streams that require authentication **
Easier for users to get the source code of your app. They can download the .apk from your site, open it in 7zip (or similar) and have at the underlying class files. Whether or not this is a concern is really for you to decide.
The most important reason
Your users will have to check "Allow installation of packages from unknown sources". Your average person might not know how to do this, and may be hesitant to do so. So, it may limit your ability to gain a a wide market share.
So, in summary, ask yourself if not being in Google Play/Android Market is really worth the hassle that comes for both you and your users.
** Not sure if this is true with Chrome on Android -- it is certainly true with the older default browser
Google play collects statistics of Apps only installed through Play Store , with a Google account logged in. Read Documentation on App statistics.
Newer version of Play Store app can auto detect if any of installed app is also available on play store, and will notify for the update.
Also, there are numerous third party app markets other than Play Store. You can upload your app there too (auto update is not available with all of them).
Seems no, correct me if I am wrong :)
Yes, provided that the package name is the same and the version code of the apk file you've uploaded to google play is larger than the one installed in the device.

Categories

Resources