This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

how to communicate between a emulator and bluetooth enabled device  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
ranger
Sheriff
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!