1. HUGE Androidforums.com UPDATE! Learn what's new (and download the new app!)
    Dismiss Notice

Finding other Android devices by Bluetooth

Last Updated:

  1. usml

    usml Active Member This Topic's Starter

    Dec 28, 2009
    Likes Received:
    Anyone can write an application that allow communication between two Android devices via bluetooth. My question: is that a good practise to have an application running in background and constantly trying to discover other devices (using bluetooth adator scan for other devices EVERY MINUTE, or every 5 minutes)?
    Here's what I see in document: "Caution: Performing device discovery is a heavy procedure for the Bluetooth adapter and will consume a lot of its resources." Will the frequent Bluetooth scanning consume lot of battery? Will that make the phone very slow (if the user happen to be using the phone)?

    The document I'm referring to is here: Bluetooth | Android Developers


  2. KlaymenDK

    KlaymenDK Well-Known Member

    May 29, 2009
    Likes Received:
    Active scanning is always going to draw lots of energy. You might not notice the work load, but you will certainly notice the battery drain! With the current state of "expected" battery life, I would recommend against doing that. :eek:

    Even on ancient Palm pda's, where users could "beam" stuff over an IR link, the normal habit was to have IR discovery turned off until needed.

Share This Page