Bluetooth discoverability

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

  1. cmasmas

    cmasmas Member
    16

    Mar 13, 2010
    15
    1
    16
    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
    43

    May 7, 2010
    343
    27
    43
    Male
    Computer Technician
    Oregon
    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
    16

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

Share This Page

Loading...