Use bluetooth connection in two activities

0

I'm creating a small app with two activities, the first is a screen with just a 'connect' button, after connecting to the bluetooth module it would change to the second screen (second activity) / p>

The question is: How to use the connection made in the first activity to send data on the second ...

I thought of passing BluetoothSocket as an extra attempt, but it was not possible because it does not implement serializable.

    
asked by anonymous 19.02.2015 / 19:23

0 answers