Sunday, October 5, 2014

Android USB Debugging in Huawei Tab

If you are writing android applications you may definitely do USB debugging. In case you don't know the the term, USB debugging (On-device Developer Option) is using a real android device to debug your android application by connecting it through USB port.
In this blog post i am going to explain you how to use your Huawei android tab for USB debugging. I have tested this with a  "Huawei Mediapad 7 Lite".


On Android developer guide it has been mentioned that we have to install USB driver software for this, but you may not able to find the relevant driver software for Huawei.
In our case, more interesting thing is you don't want to bother for finding driver software. Lets do this step by step.

1. Declare your application as "debuggable" in your Android Manifest.
If you are using Eclipse, this may have been automatically declared. Otherwise go to AndroidManifest.xml and add android:debuggable="true" to the <application> element.

2. Enable USB debugging on your device.
Go to Settings > Developer options. (For  Android 3.2 or older Settings > Applications > Development)
Developer options is hidden by default on Android 4.2 and newer. To un-hide it, go to Settings > About phone and tap Build number seven times. Then go back to the previous screen to find Developer options.

3. Plug your device to your PC using the USB cable.
The device will notice you that you have connected the dive to the PC.

4. Click on the notification bar of the device (Where are time/battery/signal information are). On the pop-up menu you may see the USB connection type. Probably it would be "Connected as a media device".
If you have properly activated the USB debugging mode, it may also be shown as "USB debugging connected".

5. Click the "Connected as a media device" option (Or any other "Touch for other USB option" menu item). You may be navigated to a "Connect As" menu in the Settings > Storage menu.
There select the "HiSuite" option. You will be notified the action. Your device UI will change to HiSuite UI.

6. Now move to your PC. Navigate to the device from the PC file browser (If you are using Windows OS go to Computer > HiSuite in removable storage category).

7. There you may find the HiSuiteSetup.exe file and double click and install the software.

8. Once it is installed, you are done!

9. Remove the device and plug the device again. Make sure you have connected the device as "Connected to HiSuite". The HiSuite software will automatically start-up on your PC.

You can verify that your device is properly connected  by executing adb devices from your Android SDK platform-tools/ directory.

Following is the UI of the HiSuite PC software. Using this software you can do many things related to your Huawei Android device (Not only USB debugging).


2 comments:

  1. Today, we are excited to announce that we are expanding that mobility by making the LibraryWorld search App available for your Android mobile phone. Like the iPhone and iPad apps, Cell Phone Call Recording Device

    ReplyDelete