Re: Apple Bluetooth SDK language support
Hi Elvind,
What kind of programming language does the Apple Bluetooth SDK support?
If it doesn't support Java (the only programming language I know), which
should I learn?
We support obj-C, and have C wrappers that could be used in any C/C++ bit of code. However, the stack cannot be called from a Carbon context yet. We do not support Java, and suspect that if you attempt to do a JNI bridge you will run into some difficulties with the UI elements, but the core stack would probably work fine (IOBluetoothDevice APIs, etc), although we have definitely not tried it, so your mileage may vary. In regards to what you should learn - I would recommend you jump in to learning obj-C. It is very similar to java - in fact I think a lot of the ideas of java were modeled after it. Besides obj-c being really cool once you get past the goofy syntax, I would say it is the best language I've ever used, and the UI element tools are simply the best, bar none.
My plan is to write the app i Java and then use JNI to make a "brigde"
between the main app and the bluetooth connection part. Will that work?
I'm a soon-to-be switcher, so I know little about mac os x, and its
language support.
Welcome to the Mac world, I think you'll find you made the right choice! Let's hope others see the light! ;-) Jason bubba@apple.com _______________________________________________ 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)
-
Bubba Giles