On Mon, May 24, 2004 at 02:22:50PM +0100, Peter Laurens wrote:
I have a Cocoa project already under development, and it will be cool
to add some functionality so that it can send some simple data to a
Java app on my bluetooth enabled Sony Ericsson T610.
Are you sure you can access bluetooth from J2ME? I've only looked at Nokia handsets myself, but there was no bluetooth access from Java.
I know there is a Bluetooth framework that I can link my Cocoa app
with, and I have some experience in writing Java (J2ME) apps for my
phone, although I have never had any experience with developing for
Bluetooth at all, either for my Mac or on the T610.
You can link to the IOBluetooth framework, it's quite nice.
The information I would like to send would just be a list of strings,
and I'd like to be able to send this list of strings (only a dozen or
so) to a bespoke app on my T610. I'd also like the T610 to be able to
alter those strings on the phone itself, so if you wanted to change one
of them from the phone you could, and when you re-sync with the desktop
app it will make the appropriate changes.
Sounds to me like you'd just want a simple serial (RFCOMM) connection. My app uses these are they're pretty easy to setup. I can provide some sample code if you like, but I'd check on the bluetooth connectivity within the j2me virtual machine on the T610 first. jim _______________________________________________ bluetooth-dev mailing list | bluetooth-dev@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/bluetooth-dev Do not post admin requests to the list. They will be ignored.
participants (1)
-
octarine