So I want to create a home automation app using MIT app inventor in which when I first open the app the list of the available Bluetooth devices appears automatically without any button click and when I select the desired devices such as HC-05 then my main screen appears having different on-off buttons and I also want an automatic Bluetooth connection like when I closed the app and relaunch the app it automatically connects to the HC -05. I have zero knowledge about mit app inventor, please help me out.
A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .
Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor
concerning Bluetooth... did you try a search in the community?
see also A simple Bluetooth Chat with App Inventor 2
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Use TinyDB to remember the selected device when you first start it. During the next initialization of the application, check if the tag is empty, if not, load the data from the tag and connect to the remembered BT.
how to implement it using ble is there any documentation regarding this. iam also facing the same situation