Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Mobile Application in J2ME for Bluetooth Printer

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,I am new to j2me. I want to connect Bluetooth printer(Thermal Small Printer )to Imate Ultimate 6150 mobile. normally i connected through bluetooth its conneced ..fine.. now i want connect through the j2me mobile application to send the data to the printer and printer it should print the data..
now i am struggling to get the printer info from j2me mobile application.. also how to send the data please guide me... how to do that .. please guide me... give tips or useful links ...also what are the basic information i have read for this project.i know some basic about the bluetooth.. it has three method to transfer the data: (1)OBEX (2) L2CAP & (3) RFCON.. which one i can use... I use Netbeans to develop the j2me application also in unix platform


Posts: 3281
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there and welcome to Javranch!

I'm not a J2ME developer but performing a Google search on J2ME and Bluetooth returned me Sun's guide on J2ME and Bluetooth as the top result.

Hope that helps!
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I used a nice bluetooth framework called "Marge".
There are many demo apps in the website. I used the blue chat demo as a sample to connect a nokia E61 to a ZEBRA bluetooth printer.
Remember to set the URL concatenating with the port (SERVICE_URL = "btspp://"+ remoteDevice.getBluetoothAddress()+":1" in my case it was port 1.

We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic