Android issue install the same app to multiple accounts on a device - android

I have a two accounts which are signed in different gmail addressess on a device.In First account install app via Play Market then get into Second account and tried to install the same app.As you guess app is installed without downloading.It works ok, but go to back First account and uninstall app via play market and install again. The same stuff, it is installed without downloading. And app is gonna crash, because app couldn't download my indeed libs files. Does anyone have idea what kinda approach google has in this situation? Please give me completly ideas?

Related

Do google count uninstall if i uninstall my application installed from the andriod studio [duplicate]

I want to know how uninstalls on my app are recorded on the Google Play console exactly. I do not want my own personal uninstalls on my test devices to show, so I want to find out how the uninstalls work, in order to block them.
When testing an app on Android Studio over and over are those updates/uninstalls recorded on the Google Play console? If I install the app using an external APK and not through the store, do uninstalls of those get recorded?
Thanks.
P.S. I have tried googling this question but the problem is I could not find any relevant answers. Three hours after searching and still cannot find an answer.
You cannot detect the uninstall event of your own app. When an app is uninstalled the event ACTION_PACKAGE_REMOVED is sent as a broadcast to all apps except the app which is being uninstalled.
So to answer your question, Google console calculates the number of uninstalls via Google Play Store app, not via your own app.
Also, Google Play store only tracks the install and uninstall events for the apps which are installed from the Play store. So, if you want to block the uninstalls from your test devices from being counted, install the APK directly and not from the play store.
Maybe I have not been able to find exact documentation of your problem but you don't need to worry as it is sure that Google will not count installs or uninstall of your debug/signed apk if you install it manually or from Android studio.
It counts the number of installs or uninstalls of your application only if you download the app from Google Play Store.
Recently google changed the way of calculations, so you can find here how it's performing.

Users get "Authentication is required. You need to sign into your Google Acoount" error when trying to download my android app

My app uses AdMob. My app doesn't contain any inapp purchases. No device is excluded in developer console and devices tested had higher sdk version than minimum required. My app is optimized with proguard and then zipaligned. Users can install other apps without problems. Why are they getting this error? How can I solve it?
Also when trying to install it via browser on a PC? In this case, where does the error occur, on the pc or the mobile device?
Which app is it?
I think Google Play takes random amount of time even after app being published, before it becomes available for download. Same thing happened to other person I know. After few hours of app being published (not app being uploaded) his app could be downloaded. His app could be downloaded before mine even though mine app was uploaded before his.

How to share an app for instant view/execute on an emulator

I would like to know is it possible to package my android app files, so that another person can download online and simply open an emulator in order to view and test my working app.
I want to make it as straight forward as possible for my app to be viewable to a non-coder (without uploading the app on Google play store)
Thanks in advance
Whilst it doesn't cover off on the users that don't have Android phones, DeployGate is a pretty nice option for allowing users to check out your app without uploading to the app store.
You just upload your app and send the link to your 'testers'. If they have the deploygate app they can easily download your app to their phone and give it a go!
You can generate an apk and share it via Google Drive or Dropbox.
The other person can download that and install in their phone.
In order to see your app in emulator, he/she will have to install it via Terminal with the following command:
adb install path_to_your.apk

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.

Android Market web store with OTA installations

Now that android has a web store I was wondering how is this done and how this thing works internally? I think this is really awesome. Is this available on the SDK's? Are all android versions supported?
Thanks
Its not about SDK.
There's Android Cloud to device messaging. you have to get that app on your phone, and the webstore sends the market link to the APK , OTA to your phone, because your phone has that app.
Then your phone knows how to interpret that URL and install an app.
Similar to this, we already had Chrome to Phone thingie.
UPDATE: Thats something which needed some experiments. I just tried to install an app on my phone. Market Webstore asked me to sign-in and after signing in, I could see all the apps that I currently have on my phone. looks like my google account was recording that too. As I clicked the install button, Market said the app will be downloaded on my phone.
Looks like it has marked that app for installation in my google account, and when my account is synced on phone, the phone will realize that it has to download this app and will download it.
But, as of now, nothing seems to be happening.
UPDATE: Damn! The download started! There were two options in the market webstore about the device you wish to install it to, and don't know why, both of them were 'phone'.
I selected the upper option, and download started almost instantly, AND Silently
thus, you get your answer. silent installs are there.

Categories

Resources