Is it possible to download the android .apk application from the android market to our pc?
Probably this will help you.
http://www.howtogeek.com/howto/21862/how-to-enable-the-android-market-in-the-google-android-emulator/
http://techdroid.kbeanie.com/2009/11/android-market-on-emulator.html
Once you get access to android market from emulator you can probably get .apk from ddms
Yes , You'll need the latest version of Chrome with SSL error notifications disabled, then you supply your device ID, email address and password (all stored locally on your computer to grab the Android Market cookie).
To anyone still need it , you can get it here : http://apps.evozi.com/apk-downloader/
You can download all your installed apps. from mobile to SD Card. You just need to install an android application appInstaller...You just need to backup all your applications. This software generates apk files and stores in the SD card..And then you can store it in your pc..
you can install the android-sdk and use the adb command to pull the apk from your device.
The command is: adb pull
This is an update to the post by Mur Votema.
The Android 2.2 with Market is available here
http://techdroid.kbeanie.com/search/label/Market%20on%20Emulator
Now you can do this by using this extension for Google Chrome: APK Downloader
If you're in control of the network that you are using for the download, you could relatively easily grab it from the TCP stream:
Internet --- your_router --- wifi_AP --- your_Android_device
In the above diagram, the Android device connects to your WiFi access point, which is connected to your router, which connects to the Internet (and therefore the Android market). By running some capture tool (e.g. WireShark or tcpdump, even a capturing reverse proxy like Fiddler) on the router, you will see all the traffic passing across it, and you could capture it.
Possible caveats:
you'll need to decrypt encrypted connections, if any (e.g. for HTTPS, dummy certificates can be substituted)
more importantly, check if the license conditions for Market and the app allow this; depending what you intend to do with the files afterwards, this could be seen as a step in reverse engineering
the device itself must be able to connect to Market (not sure about emulators etc.)
Related
So I made a small Android App for inhouse use in my company.
The App is supposed to run on dedicated Android 6 devices (portable computers with bar code scanners attached) to scan bar codes and talk to our servers within the company wireless network.
This inhouse wireless network does not allow internet access for security reasons.
Now I am looking for a simple way to roll out version updates of my Android App. With no internet available, the normal app stores are ruled out.
I would prefer, if version updates could be installed silently without user interaction.
I am aware of F-Droid Server, a custom App Store Repository. As far as I understand, it would be quite some effort necessary to get that up and running in my environment. Maybe too much, considering that the devices need to run only one single app.
Is there a more simple way?
Maybe like programatically downloading a new version of my .apk from a url and then autoinstall?
Any ideas are appreciated.
Is there a more simple way? Maybe like programatically downloading a new version of my .apk from a url and then autoinstall?
Yes, it seems more simple (25 lines of code) to programatically download an apk from your own server and launch an install. Here is a question with lots of details (and checkout the 2 questions it links along to):
Android: install .apk programmatically
The install may require user interaction; a prompt where the user clicks ok or cancel.
Also you have to host the APK somewhere. If you don't want to build a web service for this you could host static files and use a naming convention or timestamp to decide what/when to download and install.
Any ideas are appreciated.
A suggestion about programatically updating is to write a separate simple and robust app that only does that, vs having code in the main app to self-update.
It is very time-consuming to build an application, copy the apk on the device, install it and run it, just because you want to change the value of a variable. Is there any way to run an application straight to the phone (like in Unity) ?
Does Gideros or any other similar SDK offer this capability? I read that ZeroBrane offers on device debugging but I didn't find any more tutorial/information how can you do it.
Gideros provides exactly such capability, you just install Gideros Player on your device, enter IP address on your computer, and instantly run your app on device, without any exporting or building, just click play.
Additionally with combination of ZeroBrane you can achieve live coding
http://bowerhaus.eu/blog/files/live_coding.html
Corona cannot do that without ZeroBrane LiveCoding.
Gideros do that by default.
There are tutorials and documentation at the ZeroBrane site for doing remote device debugging (and even live coding for some frameworks).
Generally remote debug requires that the on-device code be able to load the modules mobdebug (provided with ZBS) and luasocket.
can I test the app on this device if I don't have a data cable? I don't know how to do it or even if it is possible.
Do you need some specific phones in order to test the application?
Thank you,
Ryan
You can just email yourself the apk file if you have no way of transferring the file across, when you goto look at the attachement it will give you the option to install. You must make sure that in your application settings menu on the phone you turn on the option that allows you to install apps from untrusted sources though.
I have been searching the internet wildly for an answer to this question.
We are creating custom android app for internal use only and we would be installing that on custom andoid devices. We would like to have full control of the device through the app. The end user of this device is not meant to use anything other than the app on this device. I have sealed out all the possibilities of getting out of the app except this one possibility where the program tries to update itself and asks for user permission.
Let me repeat again, This app is not meant to be put on market, only for use with custom devices designed for specific purpose. So security is not an issue here.
The device is rooted and we have done a lot of alterations with it. But I cant quite figure out how to make this update work.
If you have any ideas/solution please share it with me. I can do anything with my device, (even dig a hole in it if required :P) as they would be custom made, and would be packaged with us before going out. Just have to make it work.
If you are talking about internally installing the APK with like an update application specifically designed to update your other application which is not managed by Google Play you may want to look into this. So between xjaphx's answer and the link I just shared you will be able to install and maintain updates.
This is as simple as how it works.
Pre-condition:
Get devices rooted
Prepare Android development environment (Android SDK, platforms-tools)
A cable to connect PC and devices.
Steps:
Open command-line if Windows or shell if Linux
type: "adb push YourApp.apk /system/app"
That's done for installation of the app. Reboot and check whether your app works or not.
I would like to deploy an Android application internally in an organization.
For the moment while developing the application, I have used e-mail to spread my application. Then the user has to install the Android SDK, install a driver for his phone and finally run the adb install MyApplication.apk to install the application.
Is there any better ways to deploy Android applications internally? Is it even possible to manage updates?
I read on a forum that applications can be deployed on a webserver. Then the user only has to download the application for installing. But when I tried to simply upload an .apk file to my webserver and visit the URL using the browser on my phone I got this message:
<Uknown>
mydomain.com
Cannot download. The content is not supported on the phone.
So how can I fix this? Is there any kind of MIME-type I have to set on the webserver? Doing the same thing as described in the link above on http://slideme.org/sam2.apk works fine, and the installation starts.
The only thing I can find about this on Android Developers Publishing Your Applications
is:
You can publish your application using a hosted service such as Android Market or through a web server.
Try application/vnd.android.package-archive as the MIME type.