Start Bluetooth after plug in AC adapter


Last Updated:

  1. PetrS

    PetrS New Member This Topic's Starter

    Joined:
    Jul 21, 2010
    Messages:
    2
    Likes Received:
    0
    Hello,

    I need to write app that start bluetooth after I pluged HTC in charger. Is there someone, whot can help me with this problem?

    P.S. Source code would be ideal :)


    Thanks.
     

    Advertisement
  2. jonbonazza

    jonbonazza Well-Known Member

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458
    I am not going to write the program for you, but I did a tutorial on simple bluetooth functionality over and anddev.

    You would just have to watch for the charge state and start the bluetooth connection when it is charging.
     
  3. PetrS

    PetrS New Member This Topic's Starter

    Joined:
    Jul 21, 2010
    Messages:
    2
    Likes Received:
    0
    OK, I'll write something and then I add the code here, if anyone needs it.

    Thanks for advice.
     

Share This Page

Loading...