Disconnecting followed by a new connection (same board)
Following the android tutorial and after looking at the sample app, I started to develop a simple android application for the MetaWear CPRO.
I'm using the Bletoolbox for the scan (as it looks to be what the sample app uses) and I'm able to connect to the board and change the view to the mainactivity where I have a layout for some simple tests. However I noticed that after using my disconnect button (which stops the sensors and does a teardown of the board) and returning to the scan activity I'm unable to reconnect to the board - it stay on the connecting message forever.
Any ideas what I might be doing wrong? Since this is my first experience with android development, it might be the case that I'm making an obvious mistake.
Is it ok to use an intent to switch to the scan activity after the disconnectAsync() ?
Thanks in advance for any help
This discussion has been closed.