Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Contact a SOAP service via bluetooth. Nokia 7650.

4 replies · 2,371 views · Started 28 July 2003

Hi, here is something I am trying to achieve, on a nokia 7650 with a widcomm BT3030 Bluetooth Dongle.

I have a MIDlet that retrieves information from a Web Service via SOAP. I want this MIDlet to be able to do this via Bluetooth, what is the best solution in your opinion and has anyone seen something like this somewhere ?

I thought about creating a dll wrapping the bluetooth API and calling it from the MIDlet via JNI, is it possible ?

I anyway will need somekind of component on the server reinjecting what comes on the COM port (the SOAP requests) into the TCP/IP Stack, or maybe I can use mrouter for that matter.

I have also tried to set up a dummy GPRS access point and hit a webserver from within a Browser via Mrouter and it works but asks for each connection what access point I want to use. And I would like this to be transparent to the user (that is to say that once the partnership is established, the connection used is the bluetooth one, without asking)

thanks in advance

Yep, that's what I read afterwards, sounded odd to me anyways in the context of a CLDC app. Any suggestion on how to interface JAVA and C++ on a 7650 ?

No can do; the MIDP/CLDC environment is quite isolated from the host operating system.

Things will change some when MIDP 2.0 phones are released (the first one Nokia annouced is the 6600, which is also a Series 60 phone).

You could rewrite your midlet in C++ and then you can do (almost) anything.

yeah I could do that, just like Bemused, was looking for a simple solution. Does anyone has any idea about how relevant it is to consider the use of mrouter on the bluetoothed PC ?