This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Sending files to PC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Sending files to PC" Watch "Sending files to PC" New topic

Sending files to PC

Peter Vermeer

Joined: Oct 30, 2005
Posts: 1

I want to program an application (running on a cell phone) which allows me to send files from my phone to a desktop PC via Bluetooth.
Does anyone has experiences about that and how this can be realized?

Thanks in advance,

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

Well, you device would need to implement the Bluetooth API JSR 82. If it doesn't then you will not have access to use Bluetooth.

If it does then you use the Bluetooth API to discover the machine, discover if it has your service, then make a Connection and transfer the byte information of the file.

Do a search to find a Bluetooth API tutorial.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Sending files to PC
Similar Threads
how to run midlet in a cell phone
manage the picture file
Connecting to server via IRDA port
pc to phone
I plan to buy the dev phone