Using ADB in android (Connecting android devices for debugging)

ADB  is used to communicate  with android devices and as well as emulators. ADB is accessible through command line. By default ADB will be available in your SDK package. You can find this tool in

<SDK-Folder>/platform-tools /

First make your android device available for development. Enable USB Debugging. Usually USB Debugging mode will be available in Settings->Applications->Development->USB debugging

To start adb you have to be a root user in your Linux

The series of ???????????????? denotes that your devices is not connected.

To connect supply ./adb kill-server and then ,/adb start-server sequentially

Type ./adb devices if you get the serialNumber and state you would be able to get connected to that device

INSTALL AN APPLICATION USING ADB:

In this case i had the webkey.apk file in my platform-tools folder

To uninstall an application from a device or emulator :

com.webkey is the package name for webkey application

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s