title: How to make Bluetooth turn on and search for devices when i click the app?
body: <p>I would like to create a bluetooth app.. when I click the app it will show a dialogue box asking for permission to turn on bluetooth and scan for devices.</p>
  
  <p>I am very new to android programming and I dont know java language.I just learn by watching youtube videos.I need to learn for my school project.I have learned how to make dialogue boxes and button using <code>eclipse</code>  but I'm not sure how to turn on bluetooth and scan for device instantaneously when I open the app.I found that there are tutorials on bluetooth where the user have to press buttons so that the bluetooth will turn on and scan on press of button.</p>
  
  <p>Someone please help me.</p>
  
  <p>Thank you</p>