I have an application that talks to external USB device with vendor id of 
say 0xD00D and product id of 0x01. 

Is it possible to specify in AndroidManifest.xml file that my application 
should always have permission to use device with ID 0xD00D:0x01 without 
user having to explicitly give this permission when application starts?

Currently I have declared following in my manifest,
        <intent-filer>
            android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
        </intent-filer>

and  I have registered receiver for intent ACTION_USB_PERMISSION etc. as 
described in 
http://developer.android.com/guide/topics/connectivity/usb/accessory.html

But is there any way to declare that my application X should always have 
permission for specific device, without user having to grant such a 
permission explicitly?


-Subodh

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to