Hello
How to use the BT connection set up with Activity1 in Activity 2?
Is it possible?
Is it better to initiate a new stream with a different name in Activity2 than the stream in Activity 1?
Thank you for all the help and tips!
Picon
The communication related code should never be done in activities. Move everything to the starter service or to a class that is initialized in the starter service. See the Bluetooth tutorial for an example.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.