Hi android developers I got an issue from android development. Actually one android app I installed in my mobile successfully it is installed. But I want my apk file from installed app. How can I get suggest me thanks!!
All installed APKs are located in /data/app/, but you can see this if you have rooted device
If you don't wants to root your device then there are many application available in market such as MyAppSharer
MyAppSharer is available on google play store.
Download MyAppSharer
The APKs will goes in /sdcard/MyAppSharer
Here is the solution.
First there are two types of application in android devices
Default application (i.e. installed by manufacture)
From third party app(i.e from play store etc)
If you want apk of the third party application connect your android device in your computer and launch android studio.
Open Device File Explore --> data -->app. Right click on the apk you want and save it on your local device(i.e computer);
For the default app which installed by manufacture repeat the previous procedure but in this step go to Device File Explore --> system -->app. Right click on apk you want and save it.
Related
We have an Android app (.apk) published to a publicly accessible URL, any user who knows the URL can download and install the app.
The app is already installed on the relevant user phones and allowing sideload option from the settings is turned on.
How can I force the app, on start, to check for update and replace the existing app if found, then restart the app (to pick up the latest version)?
Is there a standard solution or a software package? Should I be thinking in a different way?
I am using Xamarin Forms, however, I am happy with Xamarin Android or any Java-based solution.
One thing you could do is to have a small plain text file in the same server where the APK is, that contains the version number of the APK available on the server. The runing app then just reads that text file and compares against its own version number.
If the version on the server is newer (has a higher version number), you simply download the new APK to a temp dir and install the APK programatically using the method outlined here: Android: install .apk programmatically
The way to go is HockeyApp. It´s a distribution system that does exactly what you are looking for. Besides, you get a useful crash logger and some statistics, etc. It´s free for 2 apps.
Once you install and configure their SDK in your Android app, an activity will popup telling the user a new update is available if there is any.
The user can install the new version with a button tap. Simple.
The setup process involves installing a nuget package and write a few lines of code in your main Activity class.
How to profile a production android application (apk) as its by nature not debuggable and will not show up in Eclipse DDMS or Android Monitor
I have developed a tool (apk ) using which you can make a production ready code ready for code profiling . You can download the tool (performance profiler) at here
https://play.google.com/store/apps/details?id=com.testingoncloud.makeappdebuggable
One needs to install performance profiler from google play (link given above).
Steps -
Install performance profiler from google play store - https://play.google.com/store/apps/details?id=com.testingoncloud.makeappdebuggable
Install the target app (say abcbank.apk )from playstore (which you want to profile) if its not already not done so.
Download the production (target app : say abcbank.apk) as apk on to SDCARD using apkshare
https://play.google.com/store/apps/details?id=com.newpower.apkmanager
Now uninstall the production (target) app which you want to profile(say abcbank.apk)
Start Performance Profilier app , which you have installed in step 1 and choose the target app from the grid below (its a file system access ). You can go to the sdcard location and choose the target app (say abcbank.apk) . You will get a confirmation message about your selection
Click on Install Target App Button . The targetProduction app now will be ready for profiling..
Closing Notes -
If you have any issues , you can contact me at indraneel_in#yahoo.com. Thanks for reading and have a great time code profiling
I have a question. How can I make an Android app installation to work similar as works installation from the official App Store for Android? (http://en.wikipedia.org/wiki/List_of_mobile_software_distribution_platforms) Do I need to have Root access? Or should it be a special version of Android where App Store will work as Google Play? Currently, I’m only able to install applications as “Unknown Sources”, where my application downloads the apk File and calls a system installation window where user confirms the installation. The problem here is that the file to be installed can be copied (even just a brief moment). It may be ok for free applications or the ones with server authentication (log/pas) but for paid apps it could be a problem.
Even if you install the app and delete the APK, it's still very easy to recover the APK of an installed application. The only way you can really protect your app is by using in-app licensing checks or locking the app to a certain device by using the device's id.
Further, on unrooted devices, you can not install apps outside of the Google Play store, unless you enable installation from unknown sources. To get around that restriction -- and to allow auto-updating or silent installation -- you will need to root and install a modified package manager.
I want to allow user to install my app directly from my web-site, not through the Android market.
I'm working on a specific non-phone android device, which can't be connected to the Android market.
how can I accomplish such a thing ?
The device can download the APK files like a normal file. After that, the user can open it and gets prompted to install it by checking the apps permissions. This required the unknown source preference (Preferences->Applications->Development usually) to be checked.
If you want to create some sort of drive-by-download/install: Thats not possible for (obvious) security reasons.
Would it be possible to provide a emulator image that has all the Google apps that come with real devices, like Gmail etc?
I don't have access to a 2.0 device which makes it close to impossible for me to develop/debug apps which uses AccountManager etc.
Download the Android Dev Phone system image from http://developer.htc.com/adp.html.
Then, create a new AVD (using the android tool or adb) with the matching version. The avd directory will appear at the .android directory inside your home directory (Run %USERPROFILE% on windows). Then, put system.img file downloaded into the <name of avd>.avd directory. Start the emulator and you will use Android with Google apps installed.
Disclaimer: about whether it is legal or not to download and use such images, I don't know. Please read the text there and decide yourself.
Given the trouble that Cyanogenmod had with trying to redistribute Google's apps, I would say it's not an option. However, if it's something in the Android source (like the calendar), you can compile it yourself.
If you just want to debug the app, you don't need to create a new image. You can run some of the google apps including gmail and google maps in the emulator. If you go to the Android SDK and AVD manager in the Eclipse Android plugin, and then go to "available packages", for every SDK there are two downloads for each version of the api. There is the one with Google Apps and one with out. The one with Google apps has apps such as gmail and google maps. It does not have all Google apps. The market is not there for instance .