![]() ![]() IntentFilter attachedFilter = new IntentFilter(UsbManager.ACTION_USB_DEVICE_ATTACHED) IntentFilter filter = new IntentFilter(ACTION_USB_PERMISSION) ![]() PendingIntent mPermissionIntent = PendingIntent.getBroadcast(this, 0, new Intent(ACTION_USB_PERMISSION), 0) My code to detect any USB Host : private static final String ACTION_USB_PERMISSION = "_PERMISSION" Now Android provides USB Host that makes it possible to read any USB Host provided the Android Smartphones supports it.Īnd I am trying to use these classes provided by USB Host to reach out to the data inside this card. ![]() I have been using a HID OMNIKEY 3021 USB smart card reader which would read these card(And I know this reader works with these cards through windows apps because I have personally tested this) So lately I have been working with smart cards that hold some information and what I am trying to achieve here is to fetch this data from these smart card using a smart card reader through any Android Smartphone. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |