<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46686/using-android-to-communicate-with-a-ble-hid-device</link><description>Hi, 
 I&amp;#39;m trying to develop an Android app. My HID device is not a keyboard, mouse nor a gamepad. But my BLE firmware is based on SDK 15.2 &amp;amp; HID keyboard example code. I installed nrfConnect on my Android phone. The connection keeps dropping from nrfConnect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 May 2019 09:05:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46686/using-android-to-communicate-with-a-ble-hid-device" /><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/186603?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 09:05:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac7f9428-e8e4-4489-9d4e-955e2da62ad1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;You can create your own app, but the HID keyboard service itself would need to be activated/connected in Android system settings -&amp;gt; Bluetooth.&lt;/p&gt;
&lt;p&gt;As mentioned in the post I linked to earlier, &lt;em&gt;&amp;quot;If you need to add some additional features to your keyboard, you have to use a different, custom service, that only your app will be able to understand. You may have HID and other services on one device. System will use the HID service, your app others.&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/186267?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 00:52:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83f4be32-429a-4c87-a3e8-9eb0c874c500</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;What if I create an app to convert Android phone into BLE HID device &amp;amp; it would be the central &amp;amp; it would communicate with peripheral BLE HID device. Is that even possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/185784?ContentTypeID=1</link><pubDate>Tue, 07 May 2019 15:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb358d80-b993-435b-b5e5-692cb2e01bbc</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;apk can be found here:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Connect/releases"&gt;https://github.com/NordicSemiconductor/Android-nRF-Connect/releases&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if rooting the phones helps or not. Android apps are not supposed to access the HID&amp;nbsp;&lt;span&gt;characteristics...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/185773?ContentTypeID=1</link><pubDate>Tue, 07 May 2019 14:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f06b34f-9cd6-4774-85ca-ee24612f704a</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;Also can you please provide .apk file of nrfconnect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/185312?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 00:32:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74eb0c0b-d55b-4c4b-ae72-9865b0206197</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;Do you have a guide to do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184761?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 07:20:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de3c3a6b-5a42-4869-8c36-83ba1802bc05</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="73596" url="~/f/nordic-q-a/46686/using-android-to-communicate-with-a-ble-hid-device/184718"]So does it mean nrfconnect is a 3rd party app?[/quote]
&lt;p&gt;Yes, that is correct. It&amp;#39;s not an app that comes preinstalled in Android OS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184718?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 18:49:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbeabd99-104d-4e14-a968-e5654cb76c38</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;So does it mean nrfconnect is a 3rd party app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184717?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 18:33:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b391335-e085-4be1-a61d-4769eed624bc</guid><dc:creator>Sigurd</dc:creator><description>[quote user="bop123"]Ohh yes, the error was - &amp;quot;Exception occurred (BLUETOOTH_PRIVILEGED permission required)&amp;quot;[/quote]
&lt;p&gt;&amp;nbsp;This seems to be expected in this case. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29198/bluetooth_privileged-error-hid-keyboard"&gt;this post&lt;/a&gt; for an explanation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184708?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 15:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:698768e8-c5b7-465e-ac2f-f24751f22023</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;Do I have to reinstall the nrfconnect as a root user on my phone??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184707?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 15:07:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47dd2672-d24e-4ca9-952e-1482ee49fc2f</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;No that does not resolve the issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184675?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 08:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2c11732-de0f-4466-85cc-85b1768d80fa</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So does that resolve your issue?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If so, please verify the answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4338._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184622?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 17:19:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a08777e4-c467-45d6-a608-1b30a15c6d62</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;Ohh yes, the error was - &amp;quot;Exception occurred (BLUETOOTH_PRIVILEGED permission required)&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184601?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 13:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b4eec1c-59db-482d-a1f4-fc3745a7a7af</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Did you get any messages in the log when you tried to read/write the reports in nRF-Connect app(&lt;span&gt;swipe from left to right in the&amp;nbsp;&lt;/span&gt;&lt;span&gt;nRFConnect app to bring up the log&lt;/span&gt;) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184400?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 18:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66b9b33b-3c82-4975-baca-1e2f876dc4e9</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;Sorry I missed a word in my previous reply. After making the connection, I was &amp;#39;NOT&amp;#39; able to read/write to reports.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m trying to develop an Android app to access input/output reports. My Android code connects to the nrf kit &amp;amp; recognizes the HID service UUID but then how do I read &amp;amp; write to reports?????&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184388?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 16:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47cb089a-aaf4-42fa-97a0-9af4ecdfa390</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;So it was a problem with one&amp;nbsp;particular phone ?&lt;/p&gt;
&lt;p&gt;If the connection kept dropping, it would be good idea to take a look at the log and the disconnect reason, swipe from left to right in the&amp;nbsp;&lt;span&gt;nRFConnect app to bring up the log. You should also inspect the log on the nRF52-side.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Android to Communicate with a BLE HID Device</title><link>https://devzone.nordicsemi.com/thread/184169?ContentTypeID=1</link><pubDate>Sat, 27 Apr 2019 21:29:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:806a4ac7-159c-467f-9908-50cf01523b9b</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;I tried another phone &amp;amp; I could connect &amp;amp; bond. But I could read /write to reports!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>