Ziad Halabi
Ziad Halabi

Reputation: 866

Android Wear: bluetooth vs wifi connection

How to detect if Android wear switched the connection from bluetooth to wifi or vice versa? And is there a way to force it to connect via bluetooth?

Upvotes: 0

Views: 511

Answers (1)

Ali Naddaf
Ali Naddaf

Reputation: 19034

Being an Android framework, you can register a broadcast receiver to be notified when connectivity status changes. In general, when your watch is connected to a phone directly (which only happens via BT), wifi connection is dropped and when it is not connected, if your phone is wifi capable and if a wifi network is available, it gets connected to the cloud node. In that case, you cannot force it to connect through BT since, most likely, it is not possible (might be due to distance or many other reasons). What exactly are you trying to accomplish?

Upvotes: 1

Related Questions