Sunday, January 27, 2013

Running HelloGalaxy App on my Phone

In my last blog post I showed how to run the HelloGalaxy App directly from eclipse onto the AndroVM.  In this post I will show how to run the app directly on my Galaxy S3 phone from Eclipse.

The long way around is to copy the .apk file onto your phone using Android the Android File Transfer app (See notes from my previous post about this app).  For example, of you copy the HelloGalaxy.apk to your Downloads folder on your device and then browse via "My Files" app on your phone and attempt to launch / install the app, you will get a bunch of warnings about installing apps from unknown sources.

The easy way is to enable debugging on your phone.

Select Settings, then choose developer options and select USB Debugging mode.



Then connect your phone with the USB cable and thereafter the steps are similar as described in my previous post about running the app on a virtual device directly from eclipse.

The ADB will automatically connect to your device and when you run your app from Eclipse, you will see your phone in the Android Device Chooser.

Here is the final result of the App running on my phone.


Happy Coding ;)

No comments:

Post a Comment