Bruce Hopkins brings us this article over the IBM DeveloperWorks about using JSR-82 within your J2ME applications to move files around in part 1. The Bluetooth protocol stack lets you use several methods, including RFCOMM and Object Exchange (OBEX), to send and receive files between devices. RFCOMM is better when you want to send and receive stream data (and when you'd like to take a traditional serial port application and Bluetooth-enable it). On the other hand, OBEX is great when you want to send object data, context, and metadata about the payload. In this article, you become familiar with the Java language library used to control a Bluetooth device and learn how JSR-82 API and OBEX can be used to transfer files between the client and server. Bluetooth boogies, Part 1: File transfer with JSR-82 and OBEX |
You can ping this entry by using http://www.mamlambo.com/mt/mt-tb.cgi/572 .