DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: 2 ways communication for Bluetooth connection for J2ME..

  1. #1
    Join Date
    Jan 2010

    2 ways communication for Bluetooth connection for J2ME..


    I am now on a project to develop an application for mobile devices. My project is “Java based e-voting system through Bluetooth (Mobile-to-Mobile)”. So, I am fully utilized the J2ME and the Bluetooth technology. As for Bluetooth technology, I need at least one Server and several Clients in order to make my program works. For this project, both Server and Clients are using mobile devices.

    As for now, I faced some problems on the Bluetooth connection:

    1) To be a Server or a Client, I need to log in myself as an Admin first, then only I can set myself either to be a Server or a Client. If I log in myself as another person (NOT Admin), I can't even be a Client. How I can make another person (NOT Admin) to be a Client..??

    2) I can be either a Server or a Client when I logged in as an Admin. So, what I did was, in one mobile phone, I logged in as an Admin and set myself as a Server. Another mobile phone, I logged in as an Admin and set myself as a Client. So now, I have a Server and a Client. BUT, this Server and Client can only make a one way communication, which means, Server can only RECEIVE and Client can only SEND.
    How I can make this Server and Client communicate in a TWO ways communication..?? Means that, a Server can SEND & RECEIVE..and same goes to Client which can SEND & RECEIVE too..

    Attached are 2 classes that involved the Bluetooth connection in my system.
    Really needs help from others..

    Attached Files Attached Files

Similar Threads

  1. ADO Recordset
    By deepa george in forum VB Classic
    Replies: 11
    Last Post: 08-21-2002, 08:20 AM
  2. MSDE/NT Connection problem across domains
    By Will Rickards in forum Database
    Replies: 1
    Last Post: 04-06-2001, 03:50 PM
  3. Replies: 1
    Last Post: 10-24-2000, 04:48 PM
  4. Replies: 1
    Last Post: 08-10-2000, 12:35 PM
  5. Replies: 1
    Last Post: 08-10-2000, 12:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center