开发者

Bluetooth remote control using android

I have an android tablet and have an application installed on it... Now i need to control this applicat开发者_JS百科ion on the tablet through my android device... is there a way to do such thing?


Explore this example project by Google

http://developer.android.com/resources/samples/BluetoothChat/index.html

see how it works and try to implement your programming skill to transform this chat application to your idea...

How ever I am assuming that you are the author of application which you have desire to control.

happy coding.

EDITED: Logic structure is simple both application should be able to detect bluetooth and paired(connect) with each other for communication. once you have communication instead of sending message(in chat) you send some information via buttons which will execute some methods on tablet...Just a thought... As if in chat application you can update and add messages to your thread...this application will help you to reach goal. Lot of work though!


If you are familiar with Sockets, this shouldn't be a problem for you, because the Bluetooth-connection and communication in Android is very much the same. See the Bluetooth-Tutorial and Googles "Bluetooth-Chat" example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜