1. Are you ready for the Galaxy S20? Here is everything we know so far!

Bluetooth discoverability

Discussion in 'Android Development' started by cmasmas, Aug 1, 2010.

  1. cmasmas

    cmasmas Newbie
    Thread Starter

    Hi everybody,

    When I enable bluetooth discoverability,

    intent.putExtra(BluetoothAdapter. EXTRA_DISCOVERABLE_DURATION,300)

    a dialog appears asking for permission. Is there a way to avoid this dialog?

    Else,

    is there a way to make the device permanently discoverable?

    Thanks!
     



    1. Download the Forums for Android™ app!


      Download

       
  2. jasperwill

    jasperwill Android Enthusiast

    wouldn't making the device perminently discoverable drain battery? i guess it depends on how long you would be running your program for.
     
  3. cmasmas

    cmasmas Newbie
    Thread Starter

    I know it'll consume quite a lot of battery. Anyway, any ideas about my questions?
     
Loading...
Similar Threads - Bluetooth discoverability
  1. Viridel
    Replies:
    8
    Views:
    355
  2. HerrimanCoder
    Replies:
    1
    Views:
    328
  3. Sillycat41
    Replies:
    11
    Views:
    662
  4. ArtemisTwo
    Replies:
    7
    Views:
    355
  5. Jodi Holland
    Replies:
    2
    Views:
    613
  6. E21Ross
    Replies:
    9
    Views:
    651
  7. ampc13
    Replies:
    3
    Views:
    804
  8. Caitlin Scott
    Replies:
    4
    Views:
    715
  9. sinthome
    Replies:
    2
    Views:
    525
  10. Denjiro28
    Replies:
    0
    Views:
    549

Share This Page

Loading...