My Bluetooth App Can't send data from screen1 to screen2

Hi Salman

All sorts of little things wrong in your code. Why do you have both a BT Client and Server? What device is your App communicating with?

How to make it like that

https://groups.google.com/d/msg/mitappinventortest/K-zAr2X3nio/qzrDox_pBgAJ

I have a Bluetooth client and server because I actually developed this Bluetooth Project from the Bluetooth Chat Project made by @Taifun

A link is always useful:

A simple Bluetooth Chat with App Inventor 2

My application does not use Arduino and my application is just like a Bluetooth chat that must use 2 devices to communicate

Thanks @TIMAI2 for the reply

As far as I know it is still true that you can have your BT device connected to only ONE screen. There are tricks, like reconnecting when you open Screen2, but if you use only one screen that will be much easier.

But I need two screens, for my Bluetooth application, how to do it @Ghica.
Thank you

Should I use one screen or what

Taifun only used one screen in his example....

http://ai2.appinventor.mit.edu/reference/other/manyscreens.html
The trick is to use virtual screens. You can do that by having vertical layouts that can be made visible or invisible.

In your opinion, do I have to use screen 2 or I use screen2 on screen1

  • Use screen 2

0 voters

  • Use screen 2 on screen1

0 voters

Thank you :+1: :smiley: :+1:

Three Power Users have already made suggestions about what you should do. I don't think we need a survey as well!!

I want to do a survey because I want to be more confident, which one I want to use

in the designer side use the visible option to set your layout options to invisible. In your block side set the visibility as required.

1 Like

Thank you for the help @mattmanning

Here an example of Virtual Screen with Bluetooth

Thank you for the help @Juan_Antonio :+1:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.