Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploying app to android phone without signing?

 
K. Tsang
Bartender
Posts: 3457
14
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 3457
14
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3457
14
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks James. The ADB (usb driver) surely make things easier for testing and deployment.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic