Android Development – Running Android App

For running your apps there are two possible ways :

  • Running on the emulator
  • Running on a device

Running on the emulator

Emulator are the Android Virtual Devices (AVD) that we need to configure in order to run our android apps.

Step 1 – Open AVD Manager

AVD Manager

Step 2 – Click on New Button to add a new device, and configure your device settings.

New Device - AVD Manager

 

Step 3 – There will be a result window showing all the configuration you had chosen on the previous screen.

Configuration Result - AVD Manager

Step 4 – Press ‘Ok‘ and you will see your device listed in there and now you can close this window now.

List of Devices - AVD Manager

Step 5 – Run your android app project from eclipse and if there is only one AVD configured it will automatically deploy the app to it else a window will appear to choose your AVD. Emulator will start.

Android Emulator

Running on the Device

Android app can directly be deployed on the android device, for this few configurations are needed.

Step 1 – Set the application in the debug-able mode by setting android:debuggable attribute of the <application>element to true. For ADT 8.0 this is done by default. (In our ADT we do not need to perform this step)

Step 2 – Enable USB debugging on your device:

For Android 3.2 or older Goto Settings>Applications>Development and enable USB Debugging.

USB Debugging

On Android 4.0 and newer, it’s in Settings > Developer options.

Note: On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options.

Step 3 – Install USB drivers for your device so that the computer recognizes your device.

Step 4 - Once set up and your device is connected via USB, install your application on the device by selecting Run > Run (or Run >Debug) from the Eclipse menu bar.

Cheers.

NO Chrome for Android

The Browser Will Not Be Available For Phones, Tablets As Of Now

Google Inc will keep the focus of its chrome operating system on notebooks, and has no immediate plan to make it available on tablets or to merge with its popular Android software for smartphones, said a senior executive. Chrome users doubled over the past year to about 160 million.

Sunder Pichai, Google’s senior vice president for Chrome, told a news conference on Tuesday during the computer PC show in Taipei. “We are entirely focused on the notebook form factor for now. We have no other plans at this time” Pichai said in response to a question on whether Chrome would also be available for tablet PC’s.

NEW CHROME LAPTOP

Web-centric PC laptops, made by Sansung Electronics Co Ltd and Acer Inc using Chrome will go on sale in June, challenging Microsoft and Apple Inc.

The bare-bones operating system is essentially a web browser that steers users to applications such as email and spreadsheets directly on web, instead of using software stored on the PC’s. Some analysts said it would be some time before Chrome could revolutionise the PC world in the same way that Google’s Android operating system did for mobile devices.

The big issue is whether Google has the marketing and focus to position the Chrome PC to compete head on with the established full-OS laptop and tablet players in the summer computing market.

Steve Hodgkinson, IT research director for Asia Pacific.

Growing Market

The fast-growing market for smartphones and tablets using Google’s Android operating system has led some observers to say that Google should merge it with Chrome. But Pichai dismissed such speculation. “We think it’s distinctive of all other operating systems out there, so there are no current plan to converge this with anything else,” he said.
~via HTcity