tag:blogger.com,1999:blog-89878749563391212.post6976431875959525195..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: Scan Bluetooth DevicesUnknownnoreply@blogger.comBlogger21125tag:blogger.com,1999:blog-89878749563391212.post-88316825026922339432020-05-26T08:47:21.485-07:002020-05-26T08:47:21.485-07:00@Hossein, you last comment to add permission state...@Hossein, you last comment to add permission statements above startdiscovery() worked for me.NatnaelEThttps://www.blogger.com/profile/00049673312763447407noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-75004000958727281632016-06-25T04:15:20.059-07:002016-06-25T04:15:20.059-07:00Hello Andr.oid Eric,
Thank you for your helpful Bl...Hello Andr.oid Eric,<br />Thank you for your helpful Blog,<br /><br />for android 6 (Marshmallow) and 6+ you should add these two lines above "bluetoothAdapter.startDiscovery()" line:<br /><br /> int MY_PERMISSIONS_REQUEST_ACCESS_COARSE_LOCATION = 1;<br /> ActivityCompat.requestPermissions(MainActivity.this,<br /> new String[]Manifest.permission.ACCESS_COARSE_LOCATION},<br /> MY_PERMISSIONS_REQUEST_ACCESS_COARSE_LOCATION);<br /><br />and also add the following permission to Android Manifest:<br /> <br /><br />and it should work, like it does for me! <br />Have Fun, and Thank You Again<br /><br />Hossein O+Ghttps://www.blogger.com/profile/09413064031536938787noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-86568256495723250282016-03-07T05:38:18.913-08:002016-03-07T05:38:18.913-08:00
Hello Reddi prasad chinnabala,
Please check Updat...<br />Hello Reddi prasad chinnabala,<br />Please check Updated@2016-03-07 of Android 6.0 Changes - Access to Hardware Identifier.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-52594479170957018232016-03-07T05:09:22.344-08:002016-03-07T05:09:22.344-08:00hi... this code is not responding for android mars...hi... this code is not responding for android marshmallow, it is responding only for lower versions...... why....<br />Anonymoushttps://www.blogger.com/profile/02918112265869017966noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-1631663172508544312016-03-03T09:48:30.953-08:002016-03-03T09:48:30.953-08:00Version 6 needs one extra line in Manifestoo
...Version 6 needs one extra line in Manifestoo<br /><br /> <br /> <br /> Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-78979867904957780582015-01-26T05:36:11.296-08:002015-01-26T05:36:11.296-08:00Hi
Can anybody plz guide me for How I can get thi...Hi <br />Can anybody plz guide me for How I can get this app into the cellphone ? I might be skipping a step. Please help.<br />thanks,<br />aniruddharkhttps://www.blogger.com/profile/15151226809998640941noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-17719561723925722752014-06-09T05:01:44.057-07:002014-06-09T05:01:44.057-07:00How can i get date and time for the device which i...How can i get date and time for the device which is connected. can you please provide a code.Anonymoushttps://www.blogger.com/profile/07853222877118268925noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-9956341254891295802014-01-02T17:58:59.593-08:002014-01-02T17:58:59.593-08:00restore your phone and than it will Work.restore your phone and than it will Work.Shanmugasundharam Selvaduraihttps://www.blogger.com/profile/07741282496647781106noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-77045320640269960592014-01-01T22:24:46.921-08:002014-01-01T22:24:46.921-08:00If by chance my android phone OS bluetooth softwar...If by chance my android phone OS bluetooth software not found than how can i install buletooth ?????<br />patelsandip2601https://www.blogger.com/profile/02239454690917718942noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-56583131601040992352013-10-09T13:48:29.595-07:002013-10-09T13:48:29.595-07:00How to run this as a service? I mean running it in...How to run this as a service? I mean running it into background and not showing anything on UIAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-22465908545484613412013-05-09T14:29:23.634-07:002013-05-09T14:29:23.634-07:00when I click on the scan button , nothing happens...when I click on the scan button , nothing happens, and no list of connected devices plz any help Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-74353760937303493292013-04-05T01:22:12.906-07:002013-04-05T01:22:12.906-07:00even i tried my phone its not working...even i tried my phone its not working...Shanmugasundharam Selvaduraihttps://www.blogger.com/profile/07741282496647781106noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-52528120261703465562013-04-05T01:14:41.655-07:002013-04-05T01:14:41.655-07:00hi Güliz Seray Tuncay i`m doing the project using ...<b>hi Güliz Seray Tuncay i`m doing the project using multiparing the bluetooth connection..... first of all i`m the beginer of android programmer... do you have any idea about paring 2 or more bluetooth connection </b>...thank you..Shanmugasundharam Selvaduraihttps://www.blogger.com/profile/07741282496647781106noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-47377187506309470032013-02-02T01:21:00.979-08:002013-02-02T01:21:00.979-08:00hi..when i run my code on mobile its giving me an ...hi..when i run my code on mobile its giving me an error of blutoothapp has stopped..its not running..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-74161262467753686682013-01-23T05:10:47.739-08:002013-01-23T05:10:47.739-08:00thank a lot :) actually now the app fetches only t...thank a lot :) actually now the app fetches only the device name & mac id... can u post code for fetching the time when the device came into our bluetooth range & when it goes out of over range .... thanx :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-26553905928877583292013-01-01T22:59:05.517-08:002013-01-01T22:59:05.517-08:00Its nice Snap.. It works for me to find bluetooth ...Its nice Snap.. It works for me to find bluetooth devices.. Thanks a lot..Anonymoushttps://www.blogger.com/profile/17871371555207018536noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-11070083515790230162012-11-30T04:42:40.700-08:002012-11-30T04:42:40.700-08:00Hi Anbu..
Actually the emulator doesnt support the...Hi Anbu..<br />Actually the emulator doesnt support the bluetooth..so you have to run the same code on the device..It will surely work.Deepak Sharmahttps://www.blogger.com/profile/03159090252442409838noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-26507341186067932532012-08-25T08:08:48.046-07:002012-08-25T08:08:48.046-07:00Anbu,
The emulator cannot initiate a bluetooth ap...Anbu, <br />The emulator cannot initiate a bluetooth apps. Instead, u need to have real physical mobile device to run on it.Anonymoushttps://www.blogger.com/profile/01865360965563436130noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-66651324575155481602012-05-03T03:52:42.922-07:002012-05-03T03:52:42.922-07:00This comment has been removed by the author.i aM a tEKyhttps://www.blogger.com/profile/09379213475901086160noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-53781003696141421072011-12-15T23:30:19.618-08:002011-12-15T23:30:19.618-08:00Hi,
i am anbu., when i run this code my android ...Hi,<br /><br /> i am anbu., when i run this code my android emulator showing that"Unfortunately bluetooth has stopped "<br /><br />please help me to find the problem..Anbuhttps://www.blogger.com/profile/03243760490003051540noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-24889761420840932082011-09-12T12:48:13.357-07:002011-09-12T12:48:13.357-07:00Do you have any code to pair two bluetooth devices...Do you have any code to pair two bluetooth devices?Güliz Seray Tuncayhttps://www.blogger.com/profile/17912401405613404743noreply@blogger.com