• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTP over Bluetooth?  RSS feed

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to use http over bluetooth? I have a mobile application that needs to communicate with a web service via bluetooth, is this possible with the current versions of J2ME and Bluetooth API??

Thanks
 
ranger
Sheriff
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you mean.

You want to access a Web Server through Bluetooth. That is a very small internet. All within a 10 meter radius.

Why not just use the HTTPConnection.

Mark
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A MIDP 2.0 device will supports HttpConnection, it doesn�t matter to you if it�s Bluetooth or not.

But if you want to handle the Blueetooth connection yourself, for HTTP service or otherwise, you should check the "Java APIs for Blueetooth", JSR-82
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!