aspose file tools*
The moose likes Java Micro Edition and the fly likes how to communicate between a emulator and bluetooth enabled device Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "how to communicate between a emulator and bluetooth enabled device" Watch "how to communicate between a emulator and bluetooth enabled device" New topic
Author

how to communicate between a emulator and bluetooth enabled device

Krishna Chaitanya
Greenhorn

Joined: Dec 29, 2005
Posts: 7
Hi,
I've been developing a bluetooth application wherein i need to communicate between 2 bluetooth enabled device, one of them being a mobile phone. My problem is that in order to test the application i need to deploy the application always on a mobile phone to test for its functionality and also i find it hard to trace the flow and debug.
I would like to know whether is it possible to simulate the mobile phone functionality on an emulator and communicate between an emulator and the bluetooth device. I have been using Netbeans4.1 and WTK2.3 in my development environment.
Is it possible to use a bluetooth dongle for the said purpose, if so how can i make use of it.

Krishna
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Yes, it is fun.

1. Unfortunately, we can't have the emulator communicate with a real device.
2. Just run the emulator twice. That is what we did with the Wireless Toolkit, the emulator will simulate the bluetooth connection for you. It works. Actually proobably work on the emulator and not on the devices.

That is the big problem with J2ME is that the device manufacturers don't necessarily implement the specification as it was intedned. There is too much interpretation done.

Good Luck.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to communicate between a emulator and bluetooth enabled device
 
Similar Threads
Deploying midp application using nokia developer suite 2,2 with eclipse
bluetooth simulation
Push Message/ Notification to mobile device
Sending SMS from a servlet
HTTP over Bluetooth?