This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Android and the fly likes deploying app to android phone without signing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "deploying app to android phone without signing?" Watch "deploying app to android phone without signing?" New topic
Author

deploying app to android phone without signing?

K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2379
    
    7

Hello all I'm new to Android development. I managed to get the "Hello Android" app working on the emulator. But how to deploy it to my phone for testing? Do I copy and paste that apk file? Do I have to generate the certificate and sign the app before I can deploy to my phone? Thanks.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2379
    
    7

OK I figured it out. I signed it and copy the APK file to my sd card and run it on the phone and it will install it
James Dixon
Ranch Hand

Joined: Jun 20, 2009
Posts: 32
Instead of copying the apk file to the sdcard and installing from there you can also use adb from you machine. For more info have a look here:
adb info
and
How to install apk's using adb
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2379
    
    7

Thanks James. The ADB (usb driver) surely make things easier for testing and deployment.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying app to android phone without signing?