tag:blogger.com,1999:blog-89878749563391212.post9183125948331152109..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: Use intent filter to detect a specified USB device and auto start applicationUnknownnoreply@blogger.comBlogger7125tag:blogger.com,1999:blog-89878749563391212.post-3354111833567433632016-07-25T18:40:56.365-07:002016-07-25T18:40:56.365-07:00My USB is FAT32. Oh, I will try to search and find...My USB is FAT32. Oh, I will try to search and find out how to handle the external devices. Thank you!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-83494306834087561402016-07-25T08:29:17.938-07:002016-07-25T08:29:17.938-07:00hello Anonymous,
What is your usb devices? As I r...hello Anonymous,<br /><br />What is your usb devices? As I remember (may be), usb external storage and input devices (such as keyboard, mouse) should have something else to handle. I forgot the details, may be I'm wrong!Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-62512194260873573912016-07-25T01:42:33.258-07:002016-07-25T01:42:33.258-07:00usbDeviceConnection.claimInterface(usbInterface, f...usbDeviceConnection.claimInterface(usbInterface, forceClaim);<br /><br />After execute code above, phone unmounted the attached USB. If I delete code above, my app cannot communicate with USB.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-55874453566755896742016-07-21T18:25:00.752-07:002016-07-21T18:25:00.752-07:00Hi, could you please help me. I use your code for ...Hi, could you please help me. I use your code for my app. One of the button on my app is to browse local storage. I can browse internal storage but not external storage(USB). I analyse the code and found out that when app is open, it will removes the USB attached(maybe to avoid clash when auto-open app) but when I close the app, USB will be detected an reinitialized. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-19704406183967384002016-03-11T17:33:11.423-08:002016-03-11T17:33:11.423-08:00Great. Really great. I am trying to connect Andro...Great. Really great. I am trying to connect Android to a control circuit in a Truck/Bus to control many parameters. I was looking for a good example.<br /><br />And this is it.<br /><br />Ramanand BhatRamanand Bhathttps://www.blogger.com/profile/18316673781873400585noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-77763590662460373232015-07-21T04:09:07.611-07:002015-07-21T04:09:07.611-07:00I want to read/write file from usb pen drive.Can u...I want to read/write file from usb pen drive.Can u help me with any of our valuable examples.lalithttps://www.blogger.com/profile/02363070963221122932noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-15338981378216244492015-06-16T22:58:05.828-07:002015-06-16T22:58:05.828-07:00I have used the above code with some modifications...I have used the above code with some modifications to connect to a PSOC5.I am facing following issues :<br /><br />1. IN most of the cases it gives open failed though we give consent for access.<br />2.The app auto starts multiple number of times continuously<br />3. in very few cases it gave the product info and manufacturer name.<br /><br />How can i solve the first two issues???<br />Android application is able to recognize the device.Since my device is vendor specific. Do i need a separate driver to enable data transfer from PSOC5 to android application(when i tried in windows platform device was not recognized before installation of driver).<br /><br />any input is greatly appreciated.<br /><br /><br />Thanks and Regards<br />swapnaSwapnahttps://www.blogger.com/profile/09755348513388714799noreply@blogger.com