This week's book giveaway is in the Android forum.
We're giving away four copies of Create an Uber Clone in 7 Days: Build a real world full stack mobile app in Java and have Shai Almog on-line!
See this thread for details.
Win a copy of Create an Uber Clone in 7 Days: Build a real world full stack mobile app in Java this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Bluetooth in java  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am making a project in java (J2SE) for transferring a file from my mobile phone to my PC. i've written a code in java, the code goes into infinite loop on reaching the acceptAndOpen(). I cant understand the problem
And also do i need to write any program for my mobile and copy it to my mobile...
here's da code i am using... i also have one more code n it also has the same problem...


 
Sheriff
Posts: 21379
92
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please Use Code Tags. I've added them for you.

I suppose this is the desktop part, not the mobile? (Seeing as you are using Swing.) Are you sure the mobile libraries work on a non-mobile device? Perhaps you should use a different bluetooth library.

For problems concerning the mobile part, I think you'll have more luck in our Java Micro Edition forum.
 
meg gupta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey thanks for da rply... i wl check out dat forum
 
Whose rules are you playing by? This tiny ad doesn't respect those rules:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!