Start Bluetooth after plug in AC adapter

Discussion in 'Application Development' started by PetrS, Jul 21, 2010.

  1. PetrS

    PetrS New Member
    5

    Jul 21, 2010
    2
    0
    5
    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
    163

    Jul 13, 2010
    1,934
    458
    163
    Male
    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
    5

    Jul 21, 2010
    2
    0
    5
    OK, I'll write something and then I add the code here, if anyone needs it.

    Thanks for advice.
     

Share This Page

Loading...