Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Java and Bluetooth

  • 14-01-2005 10:28am
    #1
    Closed Accounts Posts: 133 ✭✭


    HI

    I'm currently working on a project, and I'd welcome everyone's advice and opinions.

    The project is to have a java and Bluetooth enabled mobile phone (prob Nokia 6600) this will have a front end with a login screen, this will take the users name and password and send it to a PC / Server through Bluetooth, this will send the message to an EJB which will confirm the details are correct in the database (mySQL) and then send back a message to the handset that the user is logged in.

    I've never used Bluetooth before, so I’m not sure where to start. I've never used RMI either but from googling that looks the best way to go.

    I was wondering has anyone done anything similar to this before, is there a better way I can go about this project. Also are there any good tutorials that you would recommend on any of this stuff?

    Cheers


Comments

  • Registered Users, Registered Users 2 Posts: 347 ✭✭Static


    For java documentation, sun generally do a good job:

    bluetooth
    http://developers.sun.com/techtopics/mobility/midp/articles/bluetooth1/
    http://developers.sun.com/techtopics/mobility/midp/articles/bluetooth2/

    general mobile stuff
    http://developers.sun.com/techtopics/mobility/learning/index.html

    more general java tutorials
    http://java.sun.com/developer/onlineTraining/index.html

    HI
    I've never used Bluetooth before, so I’m not sure where to start. I've never used RMI either but from googling that looks the best way to go.

    I was wondering has anyone done anything similar to this before, is there a better way I can go about this project. Also are there any good tutorials that you would recommend on any of this stuff?

    Cheers


  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    Gettting the documents isn't the problem. The real problem is getting the libraries in order to code with. I gave up because the only ones I could find required I pay large sums of cash.

    If you want a good book to get started on it..
    http://www.amazon.co.uk/exec/obidos/ASIN/1590590783/qid=1105712462/sr=1-2/ref=sr_1_0_2/202-5116788-8151852


  • Registered Users, Registered Users 2 Posts: 2,243 ✭✭✭zoro


    Huh? Wha choo talkin' 'bout foo'??

    J2ME (as used on mobile devices), and Sun's Wireless Developer Kit have built in Bluetooth :)
    As does normal Java as far as I'm concerned! I've made countless network connectivity tests here between my own phone (Nokia 6230)

    If you've ever coded that exact program on a Computer to Computer scenario, you've just a simple network such as a LAN. Java's built in classes deal with this fine. It's almost identical for Bluetooth if I remember correctly! :)


  • Closed Accounts Posts: 133 ✭✭Jim Kernsey


    zoro wrote:
    J2ME (as used on mobile devices), and Sun's Wireless Developer Kit have built in Bluetooth :)
    As does normal Java as far as I'm concerned! I've made countless network connectivity tests here between my own phone (Nokia 6230)

    If you've ever coded that exact program on a Computer to Computer scenario, you've just a simple network such as a LAN. Java's built in classes deal with this fine. It's almost identical for Bluetooth if I remember correctly! :)

    Hey Zoro,

    This sounds to good to be true! I'm still at a very early stage in developing this, I'm only spiking on some of these technologies.

    I've been looking at this example http://www.enterprisej2me.com/pages/yuan/articles/sun-06202003.html
    I hope to get this up and running this week sometime, then adapt the GPRS http connection to work through bluetooth.

    am I going in the right direction??


  • Registered Users, Registered Users 2 Posts: 2,243 ✭✭✭zoro


    Well I've not used J2EE yet, so I'm not 100% sure about it - apologies.
    I can tell you that to do what you want to do, you will NOT have to hand over a penny for libraries for this. Everything you need is in java already. You will have extra work for yourself as you'll have to write everything from scratch, but trust me - it's worth it. :)


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    zoro wrote:
    J2ME (as used on mobile devices), and Sun's Wireless Developer Kit have built in Bluetooth :)
    As does normal Java as far as I'm concerned! I've made countless network connectivity tests here between my own phone (Nokia 6230)

    Thats odd because I tried it and the J2ME toolkit had the libraries missing for when I wanted to actually write my application. If the code was compiled (with stubs) it would work after a fashion.

    http://www.boards.ie/vbulletin/showthread.php?t=191385

    I'll dig out the JDKs again and see if it works so.


  • Registered Users, Registered Users 2 Posts: 2,243 ✭✭✭zoro




Advertisement