object - Android Passing BluetoothSocket to the next Activity -


After connecting to Bluetooth, I need a child to send data through that socket. I

But I have to send the socket to the child How do I get into activity?

Not sure that this is the best design, but what I did here and it was on my simple application Worked, as a "global variable" to a Bluetooth connection, a variable of my main application (class which increases the Application class).

In this way all my activities can get it and set it.



Comments