I am now on a project developing an application for mobile devices. A java based voting system through bluetooth. So, i am fully utilized the J2ME and the bluetooth technology. Both Server and Clients are using mobile devices - j2me.
Upon developing the system, i faced some problems that urgently need to be solved faster. The problems are:
1)As a SERVER, it can only RECEIVE...and as a CLIENT, it can only SENDING. How I can make the SERVER to RECEIVE (eg:receive voters' database, voters' voting) and also SEND(eg: send questions and other notifications to clients)..?? And same goes to CLIENT. How I can make it to be able to SEND (database and votes) and RECEIVE(questions)..??
2)How I can make the Server to find the list of Clients first before they can start to communicate (sending+receiving)..??
3)As for current system, I can only make the Admin to be Server/Client.. How I can make voters (other than log in as Admin) to be Client..??
4) When in Synchronize page, after select "OK" for the first time (Bluetooth connection on and server+client communicate), then the application hang and i have to restart it back. How it can be solved...???
5) I want to improve on the security part of the Bluetooth connection. Thus, before the Client and the Server can communicate, it must provide a password first. How can I do that..???
Attached is 2 classes of my program that involved the Bluetooth connection..
I need to solve the problems as soon as possible..
Help me...plz!
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.