Skip to content Skip to sidebar Skip to footer

How To Share Bluetooth Received Data Among Multiple Activities In One Application

I have an application which has 5 different tabs, Now i have Bluetooth connectivity in my first tab activity. This activity receives data from other device and display. But this co

Solution 1:

I followed this(http://developer.android.com/guide/topics/connectivity/bluetooth.html) link to make bluetooth connections and a class named ConnectedThreads requires some handler to communicate with UI, U can try changing chat handler as and when activity changes and it will send msg to which ever activity in front.


Post a Comment for "How To Share Bluetooth Received Data Among Multiple Activities In One Application"