Bluetooth, Java och mobiltelefonprogrammering

Avdelningen för programmering, nätverk samt alternativa OS.
Post Reply
lagu2653
Posts: 213
Joined: 2004-08-15 19:38:43
Contact:

Bluetooth, Java och mobiltelefonprogrammering

Post by lagu2653 »

Am I missing something essential here? I tried this CodeGuru example:
Look for src.zip at the bottom of the page.
Every example I've found on the Internet and tried has blocked indefinately at the call to acceptAndOpen() like here below:

Code: Select all

m_StrmNotf = (StreamConnectionNotifier)Connector.open(m_strUrl);    
m_StrmConn = m_StrmNotf.acceptAndOpen();
The client is there and opens the connection. The example linked to above is very simple. Just two source files. Are you supposed to adjust some settings in the WTK Toolbar which I've missed? I enabled JSR-82.

Jag kan Svenska också.
Many say that the dream of a good life is the dream of a good thermometer
Post Reply