This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 17275

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 - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Sending files to PC
jQuery in Action, 3rd edition