title: How to Set Bluetooth device Discovery Timeout to 1 hour(3600) seconds and Never Time out in android
body: <p>I am working on Bluetooth App where I want to add the functionality of Manually configuring the Discoverable Timeout Period.When i set DISOVERABLE_DURATION to 120 or 300 it works fine.However it does not provide any response in onActivityResult() when i set it to 3600 seconds.</p>
  
  <p>Similarly I have set DISOVERABLE_DURATION to 0 for Never Time out which not working too.</p>
  
  <p>I have Searched a lot and found that similar Bugs were reported but i could not be able to Find an appropriate Solution.</p>
  
  <p>I am firing the following Intent</p>
  
  <pre><code>Intent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
  discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION,DISOVERABLE_DURATION);
  startActivityForResult(discoverableIntent,REQUEST_DISCOVERABLE_BT);
  </code></pre>
  
  <p>Please provide me an appropriate Solution../</p>