Skip to content Skip to sidebar Skip to footer

USB Detection App Shows Nothing In Android 4.0.3 Smile Pro When I Connect Any USB

I am using Eclipse and I have installed the app in my Android phone. Main Activity Code : package com.example.usbdetection; import android.app.Activity; import android.app.Pendin

Solution 1:

I have found the solution:

First i rooted my android device. and then i added a file named android.hardware.usb.host.xml in etc/permissions Folder which include permission

 <permissions>
 <feature name="android.hardware.usb.host" /> 
 </permissions>

And now it supports Host API.


Post a Comment for "USB Detection App Shows Nothing In Android 4.0.3 Smile Pro When I Connect Any USB"