How to install application developed on emulator on Samsung Galaxy Tab?
I have developed a simple application on Emulator and would like to test/install it on Samsung Galaxy Tab. Could anybody let me know how to go abou开发者_开发百科t it?
Sure, plug the USB cable into your computer and use adb
to install the package. If the apk is named MyApp.apk
and stored in the current working directory, you simply need to execute
adb install MyApp.apk
Make sure that you have checked Allow Unknown Sources
in Settings
.
If you're using eclipse on windows, ctrl+f11 (or f11 if you want to debug...) will compile and run your project. If you plug in your Galaxy Tab using a USB-microUSB cable, it should get priority over the emulators you've set up and automatically upload. Make sure USB debugging is enabled if you want to do any debugging.
精彩评论