GeeCON Prague 2014*
The moose likes Java Micro Edition and the fly likes Mobile Application in J2ME for Bluetooth Printer    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Mobile Application in J2ME for Bluetooth Printer    " Watch "Mobile Application in J2ME for Bluetooth Printer    " New topic
Author

Mobile Application in J2ME for Bluetooth Printer

sivam prakash
Greenhorn

Joined: Apr 10, 2008
Posts: 1
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..
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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!


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Stefano Malinconico
Greenhorn

Joined: Jun 22, 2008
Posts: 4
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.
 
GeeCON Prague 2014
 
subject: Mobile Application in J2ME for Bluetooth Printer