Bluetooth discoverability


Last Updated:

  1. cmasmas

    cmasmas Member This Topic's Starter

    Joined:
    Mar 13, 2010
    Messages:
    15
    Likes Received:
    1
    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!
     

    Advertisement
  2. jasperwill

    jasperwill Well-Known Member

    Joined:
    May 7, 2010
    Messages:
    343
    Likes Received:
    27
    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 Member This Topic's Starter

    Joined:
    Mar 13, 2010
    Messages:
    15
    Likes Received:
    1
    I know it'll consume quite a lot of battery. Anyway, any ideas about my questions?
     

Share This Page

Loading...