<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Progress with bluetooth</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi All,<BR>
<BR>
Here is my first spike with squeak, bluetooth and osx, if you look at a previous thread you can see I use the ObjectiveC plugin by Avi.<BR>
So.. the code:<BR>
<BR>
bundle := NSBundle bundleWithPath:'/System/Library/Frameworks/IOBluetoothUI.framework'.<BR>
bundle load.<BR>
<BR>
selectorController := bundle classNamed:'IOBluetoothDeviceSelectorController'.<BR>
deviceSelector := selectorController deviceSelector.<BR>
deviceSelector runModal.<BR>
deviceSelector getResults.<BR>
<BR>
If you paste it in a workspace you should see the selector window open itself and you can choose the bluetooth device you want to connect.<BR>
<BR>
bye<BR>
&nbsp;Davide</FONT>
</P>

</BODY>
</HTML>