Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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.
 
Thanks tiny ad, for helping me escape the terrible comfort of this chair.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic