Bluetooth mac address to variable

Yes I’m new to App inventor.
I’m trying to make a spiffy Bluetooth connect/disconnect button with auto reconnect to last connected device to my Arduino.

my app is based on 2 of Z-hut’s tutorials. I’m trying to store the mac address from the list picker into a variable to user later.
I reports “true”.

I saw a thread that suggested looking at a bluetooth chat the displayed "trying to connect to: (mac adress). It used a “Call print textToPrint” procedure? I cannot find that in App inventor.

A nudge in the right direction would be appreciated. And I hope to share it with will all should it work as planned. Is there a place to do that? Thanks.

this looks like a custom procedure...
http://ai2.appinventor.mit.edu.ezproxy.canberra.edu.au/reference/blocks/procedures.html
if you can provide a link to that thread then someone can probably say more...

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

It was from your recommendation that I found the chat app http://puravidaapps.com/btchat.php. I downloaded it and looked it over. I put it in the backpack but it wouldn’t work in my app red (X)

What I wanted to do has already been done. http://www.martyncurrey.com/android-mit-app-inventor-auto-connect-to-bluetooth/

see my answer here

Taifun

1 Like