-
socket programming
Create a Mobile GUI which acts as a client using Socket concepts as shown in the Figure1 below which provides following functionalities:
When the user enters a number and then clicks on “Add contact” button, the user should be prompted to enter the Name, when the user enters the name, the name and number should be sent to the Server.
The server will insert the name and number in a table named “contactList_yourId”.
If the use has not entered a number the appropriate error message should be displayed.
When the user enters a number and Clicks on the “Call” Button
The number should be sent to the server. The server searches the database and returns an appropriate response:
Eg. “Calling…. 9456633233” should be returned, if the number does not exist in the table (contactList_yourId”)
Eg.”Calling….(name)” should be returned, if the number and corresponding name exists in the table.
When the user clicks on the End button the Call Duration is displayed on the screen. The Call duration and Number is sent to the server.
The sever inserts the record into the table: “Call_Log_yourid”.
When the user clicks on the “C” button the screen of the mobile should be cleared.
-
Re: socket programming
someone please help me out. its a long assignment
-
Re: socket programming
Indeed it is a long assignment, and just posting that long assignment probably won't get you much help. Rather, asking a specific question about individual problems you encounter while writing a solution to the assignment most likely will. So my suggestion is to post code you've done (as an SSCCE, and using the code tags) and ask a specific question...if there are errors post them in their entirety.
-
Re: socket programming
thanks so much.
one of the problems am facins is the interface that i have created,i need to enter numbers not from the keyboard but at t click of a mouse on the specific number.
and i am confused about the server side code. like putting the details into a database. so if you could help me with that.