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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Mobile Application in J2ME for Bluetooth Printer

 
Greenhorn
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

thanks

Techsivam..
 
author
Posts: 3281
8
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!
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Stefano.
 
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic