Karan Khurana

Results 8 comments of Karan Khurana

@divjad--- pls list all the new permissions you added, because with original code, I'm unable to detect available devices.

First add this library by google: implementation 'pub.devrel:easypermissions:3.0.0' Then Add these lines to add location permission : private final int REQUEST_LOCATION_PERMISSION = 1; @Override public void onRequestPermissionsResult(int requestCode, String[] permissions,...

I'm also working on same bluetooth connect, as soon as i have a proper working code, I'll post .

Have you asked permissions at run time ??

This will show Classic Bluetooth devices only

Add these lines as well, to turn on GPS as well without it your bluetooth won't detect nearby devices. protected void createLocationRequest() { LocationRequest locationRequest = LocationRequest.create(); locationRequest.setInterval(10000); locationRequest.setFastestInterval(5000); locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);...

I receive the same erro while processing the request. ![whatsapp image 2017-05-19 at 16 45 07](https://cloud.githubusercontent.com/assets/12525440/26245762/46805b82-3cb3-11e7-8cda-c31f68895584.jpeg) look at the error, please revert back asap.