Sorry, no there is not. On Thu, Jun 28, 2012 at 5:43 AM, Subodh Nijsure <subodh.nijs...@gmail.com>wrote:
> > 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 -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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