Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: socket programming

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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.


  2. #2
    Junior Member
    Join Date
    Apr 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: socket programming

    someone please help me out. its a long assignment

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default 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.

  4. #4
    Junior Member
    Join Date
    Apr 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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.

Similar Threads

  1. [SOLVED] Problem in socket programming
    By sinni in forum Java Networking
    Replies: 1
    Last Post: March 15th, 2011, 10:26 AM
  2. Socket programming something gone wrong
    By ambika.th in forum Java Networking
    Replies: 1
    Last Post: March 6th, 2011, 11:47 AM
  3. [SOLVED] Socket Programming Problem
    By relixus in forum What's Wrong With My Code?
    Replies: 7
    Last Post: December 9th, 2010, 10:35 PM
  4. Java socket programming
    By lucy in forum Java Networking
    Replies: 1
    Last Post: April 26th, 2010, 09:13 PM