I'm trying to copy my app to an Android phone without an SD card. I've tried bluetooth and I've tried email attachment, but both of them seem to require an SD card for the download to take place. Is there any other way to do this without having an SD card at hand?
I frequently deploy to my phone using the eclipse IDE. Assuming the drivers for your phone are installed on your PC you can connect your phone with a USB cable and simply run the application in debug mode and it will deploy to your phone.
I've also emailed an app to my phone and then install it from my email. Are you certain you have allowed apps to be installed from unknown sources? If you have not you will need to do so.
Here is a procedure if this is from eclipse.
In your project>Bin>file.apk assuming eclipse
send the file.apk file to your phone.
Use an app installer to install the file.apk to your phone.
There you go a copy of your program
In my experience neither the mail client app or anything that imply a download from a website from the browser have being able to install the APKs without compying it on an SDCard before.
The only solution I got working so far would be to open the APK from the Google Drive app.
I suppose other network drive services could works as well but never had occasion to try them out.
Related
Is there a way to write a driver for android phone, so that when i plug it in the computer it's going to install it with the default usb drivers? I want to make a application that needs a driver to be installed on the computer to use it.
You could have your Android App download or contain the installer for your driver and then copy it to the SD card storage area. There is no way to get the installer to autorun because Android connects either with MPT or PTP. These can be used to access a file from the SD card, but it does not mount as an ordinary storage device. You will need to have instructions in the app to tell the user how to access it.
Honestly, it will probably be easier to have them download it separately and install it.
hi i am working to create an application that could'nt be deleted or uninstalled even after hard reset or formatting the device but that is failed in such rooting process ,
Now i want a code to install an app automatically from sd card after a hard reset or reboot of an android device ,
The application is to find a lost mobile so that even the lost device is resetted or formatted
my app helps a user to find his mobile
Thank you..
i am working to create an application that could'nt be deleted or uninstalled even after hard reset or formatting the device but that is failed in such rooting process
Build your own ROM mod that has your app pre-installed.
Now i want a code to install an app automatically from sd card after a hard reset or reboot of an android device
That is not possible, fortunately, for obvious security reasons.
AFAIK, There are 2 kinds of android app: System app and User app. If you want to prevent uninstalling from your app, it must be an system app.
If you are developing app for rooted phone (and your phone is rooted also), try to copy *.apk to /system/app then restart your phone.
Hope this helps.
We want to install our application on to (thousands of)phones and these phones will be later delivered to clients. Do we have to do this manually? Is there a faster way to do this?
For example, in Windows Mobile, if you put your installation files in a certain folder on SD card and when you insert that SD card to the phone the app is installed automatically to the device. Any similar mechanism on Android?
Thanks in advance.
You can create an update.zip file on an sdcard that will install an application, but you have to boot the phone into recovery mode to run it. I haven't used update.zip this way, but I saw it here: http://www.londatiga.net/it/how-to-create-android-update-zip-package/
Unfortunately it's much more complicated and slow than the old 2577\Autorun.exe method from WindowsMobile.
Other ideas...
ADB + USB hubs: Hook up a bunch of the phones at the same time using USB hubs, run a script to find the device ids with adb devices and execute adb install your_app.apk for each one.
(Requires taking the time to enable USB debugging on each device)
Install from the web: Host the .apk publicly or locally. Now you have to pull up the URL on the phone.
(Requires taking the time to checking that checkbox for installing from unknown sources on each device)
TinyUrl: host the .apk anywhere, shrink the URL, type it into the browser.
QR Code: If the devices happen to have a QR Code Reader like Google Goggles pre-installed, you could save yourself the typing of the URL.
SMS: If all of these phones have service and you have the numbers handy, you could broadcast an SMS to all of them.
Best of luck!
Basically, yeah. See this question for details. You essentially need an army of button-pressers.
I found this:
http://www.harmonyhollow.net/android_injector.shtml
So far it is the best solution I found. I guess it uses adb behind scenes.
I want to install an app/idea i have developed int a demo on my phone (HTC Hero). I have read several posts some from as far back as '08 on different options. I was hoping I could install this using the debug bridge and eclipse, but can't seem to find a way.
Is there an easy way for me to get this on my phone?
Thanks in advance,
Pat
Yea it's easy, provided you don't have AT&T. If you don't, just go to Settings->Applications->Development and check USB debugging.
From there, you plug your phone into your computer using the USB cord, and when you launch your app like you normally would with the virtual console, it ought to detect your device. Specify that you want to launch on your device, and it will install it no problem.
If you are on an AT&T phone, you will have to root it to allow non-market apks to be installed.
Other way of installing application on your device is that you can upload your apk file on the web server and download it by opening the link in your web browser. But insure that you must have enabled the option Unknown Sources in your Settings>>Application on your device.
Currently a team of developers is working on Android application and during the development process testers already have to test the current state and report issues.
So far I have simply installed the application by connecting the tester's device on my pc and hit run in the IDE. This way we waste a lot of time if an application has to be installed on multiple devices multiple times daily.
What I would like is to send the testing team the .apk file and let them install and run the application by themselves.
Does anyone know what's the best way to do it?
Thank you!
You can allow untrusted applications in the settings.
Settings / Applications / Unknown sources
with that setting on, you can just point your phone to the url of an .apk and install it IIRC.
It is also possible to install apks using debug mode and adb-commands over USB-cable.
Here is what I do for that, simple:
Build in debug mode, no need to sign with a special key.
Mail them the application by regular email to their computers. Then have them connect their USB cables (comes with the phone) and copy to sd card. Access the sd card from the within the phone using any available file browser, and they can install it from the SD card.
Regards
There is also software called Installapk that allows you to install APKs on your device very easily, though it is only available for Microsoft Windows, and is currently in beta.
Installapk