I've implemented a WifiP2P system based on the WifiDirect DEMO by google. My question concerns the WifiDirectActivity's ability to work in the background, to illustrate this, I'll provide a step by step flowchart of how the app works.
- Group owner initializes, client connects to Group owner
- Client passes a boolean through a socket connection via a Checkbox
- Group owner's activity updates UI with Checkbox status depending on received boolean
Suppose the checkbox system is done in another activity, let's call it UIActivity, launched from WifiDirectActivity &/or BroadCastReceiver (I guess depending on host status)
- Will the WifiP2P framework still be operating in the background, listening to possible changes in client checkbox, without being destroyed?
Thank you in advance,
Aucun commentaire:
Enregistrer un commentaire