• Post Reply Bookmark Topic Watch Topic
  • New Topic

deploying app to android phone without signing?

 
K. Tsang
Bartender
Posts: 3610
16
Firefox Browser Java Mac OS X
  • 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: 3610
16
Firefox Browser Java Mac OS X
  • 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: 3610
16
Firefox Browser Java Mac OS X
  • 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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!