New to Java Wireless Programming - Help needed!

I'm currently finishing my 4 java programmign class in university, and i'm not looking to expand my knowledge in the this language. I would like to learn the how to code for wireless devices. I've already downloaded the Java Wireless Toolkit, but I would really appreciate some direction on what I should read to know where to start with this. Any info that anyone may have is greatly appreciated!
Thanks
Al

Googling J2ME tutorials or MIDP tutorials will give you plenty to read.
but here's a start:
http://www.developer.com/java/j2me/article.php/10934_1561591_1
http://developers.sun.com/techtopics/mobility/midp/samples/index.html#getstart

Similar Messages

  • New to the WRT300N - Firmware & help needed

    Hi. First off, I apologize that this is going to be very long.  I really hope someone will take the time to read it all and give me some help.
    I posted about a week ago about problems with my WRT54GS.  All of a sudden with no changes, the wireless stopped working.  I tried for a few days to fix it with no luck.  I decided to order the WRT300N (I figured if I was going to buy a new one, I'd upgrade and this is the one that Linksys recommended).
    I should mention that after ordering the new router, the wireless on the old one started working again but it wasn't working normal.  The signal quality had always pretty much been excellent and now it started going up & down but at least it was staying connected.
    The new router came today.  I disconnected the old one and connected the new one and everything went smoothly.  Both my wired & wireless computers worked great.  Less than an hour later, the wireless disconnected.  I went to view available networks and my network (I use our last name) was gone.  I shut off the laptop and it still didn't see the network.  So I started looking at the router settings just to be sure that nothing had changed.  About 15 minutes later, the laptop found the network and connected again.  The signal quality dropped to good and has stayed there ever since.
    Just for information, when the laptop is on the desk (which it is 90% of the time), it's only about 5 feet away from the router.  I have not tried to take the laptop out of the room yet.  Also more information if it helps.  I have a large "U" shaped desk.  My monitor for my desktop sits in the middle.  On either side are the speakers.  To my left (in front of me) is a UPS (plugged into this UPS is the tower, monitor, speakers, cradle for my mouse, modem & router), then the tower (I can't put it on the floor because I have physical issues that would prevent me from accessing it there).  Now if I turn my chair to the left, the desk has an upper level.  This is where my DSL modem & the router are.  They are on the end near where the computer is on the lower level.  This is the same setup we were using before.  Old router worked great for almost 2 years with signal strength at excellant on the laptop.  It just started acting up all of a sudden.  If I go back to facing center and then turn to the right, that's where my husband's laptop sits.  The only other equipment there is a calculator and a lamp and on the floor is another UPS which has his laptop (which has an Intel wireless G card in it), a laser printer, and the above mentioned calculator & lamp plugged in.
    Prior to today, I had the Logitech MX3100 keyboard & mouse set.  I had purchased a new mouse (Logitech MX Revolution).  So I was using the keyboard from the MX3100 with the new mouse and everything was fine running that way for weeks before the problem kicked in.  So I don't think it's got anything to do with the mouse.  Today's setup is a little different.  I am no longer using the MX3100 keyboard.  I am using Logitech DiNovo Edge, which uses a bluetooth dongle.  I also don't think it's any interference from this keyboard since this is a pre-existing problem.
    I do have a cordless phone in the room (it's on the left hand side of the desk from where I sit at the opposite end from the modem & router...also it's one of those that doesn't need a phone line)but it's a 5.8 ghz.
    The old router had the option to change the channel, etc.  This one has auto for standard channel & wide channel & there's no way to change it that I can see.  Radio band is also set to auto but does have 2 choices under it (standard & wide).  As I said before, I use our last name for our SSID.  It's the same one I've been using for years.  There is no one else around here with that SSID.  Network mode is mixed.
    Concerning the firmware....the information for mine is WRT300N V1.1 firmware v1.51.2.  I tried to look for an update but the only one in the list is the WRT300N V1.0.  I did click on that but the firmware version is lower and I don't want to screw anything up.  Is there a firmware update for me or not?  If so, please point me in the right direction as I can't find it.
    Concerning the signal strength....would it help to buy a new wireless card for the laptop?  The Intel card has been updated with the newest software.  The card is internal and to my knowledge can only be replaced with the same card or a bluetooth card.  (Computer is a Dell XPS M140.)  I do have a card slot but I'm confused because I think Dell called it an Express Card slot and I don't know whether or not the Linksys notebook card that is recommended for this router would work in this slot.  If the card would work, is it worth the expense?
    What else can I try.  I thought about moving the router furthur to the left but it would require moving a few other items and I'm not sure if the cords are long enough.  Would it help if the router & modem were not plugged into the same UPS?  I do have a regular surge protecter near where my phone is.  I would really rather leave them plugged into the UPS though for obvious reasons.
    Also if it helps, I have the router on it's side with the 2 antennas on the end pointing straight up and the flat one in the middle I have angled this way.
    I hope I have given enough information for some suggestions.
    Thanks,
    Lisa

    Thanks for the response.  I was wondering if anyone would take the time to read such a long post.  I wanted to be sure to try to give as much information as possible.
    My desktop (Dell XPS400) tower is made out of metal...but the router is actually not sitting on it.  There is a shelf to the left of my tower (when I'm facing it, otherwise it's to the right of it).  That's where the modem & router sit.  The shelf sits about 3" over from the edge of the computer and it's about 7" above it.
    As far as the wireless card for my husband's laptop...I'm still thinking about it.  I'm wondering if there would be any improvement in speed or the quality of the connection with the N card.
    Now I just went into the router's settings and tried to make the changes you suggested.  I was able to change  the radio band from auto to wide BUT once I do that, I loose the ability to leave the wide channel & standard channels on auto.  The options for the wide channel are 3-9 and the standard are 1 & 5.  I don't know which ones are best to pick so for now I'm not changing anything.  I didn't change the advanced settings either as I wasn't sure if I could do that without changing the other settings first.
    My husband has noted that he does see the quality of the connection occasionally jump to excellant.  For the most part it's staying on good in here.  We haven't brought it out into the living room yet to see what it does out there.  He hasn't needed to.  He has had it disconnect on him a couple of times as well.
    I did forgot to mention in that book I wrote that we do live in an apartment building.  We are on the 1st floor in the back of the building.  Our office is between our living room & another bedroom.  There is an apartment above us.  There is another apartment on the other side of the other bedroom.  Our bathroom is across the hall from this room, other side of that is the kitchen and then there is an apartment in the front of the building.  Our front door is off the living room, a hallway seperates our apartment from another one.  There are 4 apartments on each floor.  Laundry (directly under us) & storage in basement.
    I give all these details to try to get the best help.  I don't know if all this extra info is helpful or not.  We have been using Linksys routers for quite a few years now.  This is our 3rd one and our 2nd wireless one.  We have been in this apartment for a year now and had no trouble until a few weeks ago.  Previously lived in another apartment of the same floor plan in the same complex but on the 3rd floor (boy did we hate walking up those stairs!) with no trouble.
    Looking forward to hearing back from  you so I can try to make the changes you suggested.
    Thanks,
    Lisa

  • I'm new to Java, what do i need?

    Hi,
    I've been programming C++ for a while, and now I have decided to start programming in Java too.
    So, what do i need to program in Java?
    Got any Java compiler to recommend?

    Installation Notes - JDK 5.0 Microsoft Windows (32-bit)
    Your First Cup of Java
    The Java� Tutorial - A practical guide for programmers
    The Java� Tutorial - Trail: Learning the Java Language
    New to Java Center
    Java Programming Notes - Fred Swartz
    How To Think Like A Computer Scientist
    Introduction to Computer Science using Java
    The Java Developers Almanac 1.4
    Object-Oriented Programming Concepts
    Object-oriented language basics
    Don't Fear the OOP
    Books:
    The Java Programming Language - 4th Edition
    Head First Java, by Bert Bates and Kathy Sierra
    Thinking in Java (Free online), by Bruce Eckel
    Core Java, by Cay Horstmann and Gary Cornell
    Effective Java, by Joshua Bloch
    http://java.sun.com/developer/Books/javaprogramming/

  • Brand New to Java and Programming

    I'm brand new, ( RAW ) to software programming at this time. I'm starting from scratch, I work on a Help Desk for the government so I can perform some software functionality but nothing as far as programming.. I would like recommendations for someone starting out brand new.. Books to read (JAVA for Dummies?) any beginner courses? What steps would you take if you were starting out brand new as I am myself.. Thanks..
    PS, I plan on taking courses after I get the beginning stuff out of the way, just don't want to go in with no knowledge base..

    For a nice list of stock answers: The One to Torment Newbies with
    Sun's basic Java tutorial
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    http://javaalmanac.com . A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.
    James Gosling's The Java Programming Language. Gosling is
    the creator of Java. It doesn't get much more authoritative than this.

  • Dollar Change Program Help needed!!

    I need some immediate help writing a java program that determines change of 1 dollar recieved in the amout of quarters, dimes, and nickels when an item is purchased between the prices of 25cents and a dollar. For Example:
    Total Money: $1 (static)
    Enter the price of the item in cents: 45
    You bought an item for 45 cent and gave me a dollar, so your change is:
    2 quarters,
    0 dimes, and
    1 nickel.
    That is the basics of what I need, and I am not sure where to start.

    My program works as long as there is at least 1 penny to be given back in the change. I need help!
    //          CoinCounter.java
    //          This program counts the change given back from 1 dollar
    //          in specific values such as quarters, dimes, and nickels
    //          and pennies.
    //          Written By Jasen Hudson
    import javax.swing.*;
    import cs1.Keyboard;
    public class CoinCounter
    {// Begin class CoinCounter
         public static void main(String[] args)
              {// Begin main method
                   int cost = 0;
                   int dollar = 100;
                   int quarter = 25;
                   int dime = 10;
                   int nickel = 5;
                   int penny = 1;
                   int numQuarters = 0;
                   int numDimes = 0;
                   int numNickels = 0;
                   int numPennies = 0;
    //Item amount input
    String input = JOptionPane.showInputDialog
    ("Please enter the amount paid for the item.");
    cost = Integer.parseInt(input);
    //While statement
         int changeRequired = dollar - cost;
         while(changeRequired > 0){
              if((changeRequired - quarter>= 0){
              numQuarters ++;
                   changeRequired -= quarter;
                        continue;
              if(changeRequired - dime >= 0){
              numDimes ++;
                   changeRequired -= dime;
                        continue;
              if(changeRequired - nickel >= 0){
              numNickels ++;
                   changeRequired -= nickel;
                        continue;
              if(changeRequired - penny >= 0){
              numPennies ++;
                   changeRequired -= penny;
    //Amount of change needed to give back
         int change = dollar - cost;
    //System print out
         System.out.println("The change required for $1.00 from an item costing "
              + cost + " Cents is " +change+ ". Here is your change:");
              System.out.println(numQuarters+" Quarters");
              System.out.println(numDimes+" Dimes");
              System.out.println(numNickels+" Nickels");
              System.out.println(numPennies+" Pennies");
              System.exit(0);
    }

  • Real Trouble Setting Up New WRT160N Router...Help Needed

    Current configuration is as follows:
    Motorola DSL modem paired with a Netgear Wireless-G router. Works fine, I have a connection.
    There is a problem, though, accessing the router's browser interface. This has happened since I reformatted my PC from Vista back to XP Pro SP3. My computer came with Vista. The drivers for my "1394 Network Interface" are generic, and I am afraid that although the blinking green light fuctions when an ethernet cable is connected (router to PC), somehow something is not right. The router access address is not working (192.168.2.1). Perhaps I am entering it wrong? Do I need a port number? I run my PC wirelessly to the internet via a Netgear wireless PCI card that I have installed. It works fine.
    My objective is to set up/configure my new Linksys/Cisco Wireless-N router (WRT160N). After I insert the included CD to begin the setup process, the setup process itself fails due to an error. The setup program tells me that it is unable to detect an ethernet port, and to enable it if it is disabled. Well, I do have one, and it has a driver, albeit probably not the correct one. But it is there, and the setup program won't let me continue because it can't see it. Here is where the fun begins.
    I have already tried reinstalling the ethernet driver. I downloaded a PC information program like CPU-Z and it revealed my ethernet connector's manufacturer whose name escapes me at the moment. Since the PC came with Vista, I cannot readily find any XP drivers that will suit it. In a desperate yet feeble attempt I downloaded and paid for a driver-updater program, to no avail. My motherboard is an ASUS NodusM3. I have also tried to connect the WRT160N to my PC to check for any viable communication. None.
    So in a nutshell I can't get the router's setup program to believe that I have a viable ethernet connection, in which case I may not because I can't get the PC to run off the router via an ethernet cable. I can't even access  the router via the browser. In this case will I need new drivers? If so, where do I find them? How can this issue be resolved. It really sounds like a driver issue to me.

    The router uses no drivers.  Connect at 192.168.1.1 not .2.1.  Reset router by pressing reset button for 30 seconds.  Release and wait 10 seconds, and power cycle.  Connect to the correct IP of 192.168.1.1. via cable.

  • Wireless printing help needed

    How do I print wireless to my hp office pro 8500 from my I pad mini, help needed please

    use the hp eprint app. For more details, see: http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c01619067#N52

  • Desperately need Java network programming help!!!

    I need to make a Distributed File Sharing System (DFSS) using java language. The system should not make use of the central file server. The system should coordinate the concurrent access of files over the distributed environment. Caching may be used to enhance the system performance.
    It is basically network programming.
    Does any one have any idea how to make the DFSS. If you do please help!!!
    thank you in advance for you help
    cheers

    well, you're getting somewhere I guess. My original answer was intentionally vague because your original question was so vague. These fora are no good for asking questions like "how do I implement a distributed file system", they are good for asking things like "the following line(s) of code generate the following condition I didn't expect, rather I expected this condition, could someone tell me what is going on?" or something of similar specificity.
    So you are now asking how to, for instance, check to see if a text file is being shared. This is still too vague, but it's better than "how do I write a file sharing system". If you are feeling particularly industrious, go look at a project JXTA at http://www.jxta.org/ - it's open source, you can look at the code. Of course, if you're brand new, this might not help. In fact, not to discourage you, but if you're that new, this is not the project to be doing.
    Good Luck
    Lee

  • Error at new statement on extended program check need help

    Hi all ,
                       This is the code :
    LOOP AT i_stocks INTO wa_stocks WHERE NOT pulkt IS INITIAL AND
                             NOT bstkt IS INITIAL AND
                             NOT fprctr IS INITIAL AND
                             ( write_off_fix <> 0 OR
                               write_off_pup <> 0 ).
        AT NEW fprctr.
          CLEAR: l_prctrsum_fix, l_prctrsum_pup.
        ENDAT.
        IF wa_stocks-bukrs <> lastbukrs.
          lastbukrs = wa_stocks-bukrs.
          PERFORM document_header USING xreversal.
          i_counter = 1.
          CLEAR lastkostl.
        ENDIF.
        ADD wa_stocks-write_off_pup TO l_prctrsum_pup.
    ENDLOOP
    On Extended program check its says :
    The LOOP statement processing will be limited
    (FROM, TO and WHERE additions in LOOP)
    Interaction with group change processing (AT NEW, ...) is undefined
    (The message can be hidden with "#EC *)
    It means at statement   AT NEW fprctr .
    Need help , How can i resolve this error ?
    Regards .
    Edited by: ujjwal dharmak on Feb 19, 2010 9:55 AM
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on Feb 19, 2010 9:04 AM

    Since you are using where condition in loop statement and also using the control break statement thats why it is showing the error for you.
    So if you want you can do like this
    loop at itab into wa.
    if not  wa-f1 is initial ....<and other conditions>.
    continue.
    endif.
    at new   f1.
    endat.
    endloop.
    It will resolve your problem but I am having the doubt how the at new will work properly...
    Regards
    Shiba Prasad Dutta

  • Basic Java Program help needed urgently.

    I have posted the instructions to my project assignment on here that is due tomorrow. I have spent an extremely large amount of time trying to get the basics of programming and am having some difficulty off of the bat. Someone who has more experience with this and could walk me through the steps is what I am hoping for. Any Help however will be greatly appreciated. I am putting in a lot of effort, but I am not getting the results I need. Thank you for the consideration of assisting me with my issues. If you have any questions please feel free to ask. I would love to open up a dialogue.
    CIS 120
    Mathematical Operators
    Project-1
    Max possible pts 100
    Write a program “MathOperators” that reads two integers, displays user’s name, sum, product,
    difference, quotients and modulus of the two numbers.
    1. Create a header for your project as follows:
    * Prgrammer: Your Name (1 pt) *
    * Class: CIS 120 (1 pt) *
    * Section: (1 pt) *
    * Instructor: (1 pt) *
    * Program Name: Mathematical Operators (1 pt) *
    * Description: This java program will ask the user to enter two integers and *
    display sum, product, difference, quotients and modulus of the two numbers
    * (5 pts) *
    2. Display a friendly message e.g. Good Morning!! (2 pts)
    3. Explain your program to the user e.g. This java program can add, subtract, multiply,
    divide and calculate remainder of any two integer numbers entered by you. Let’s get
    started…. (5 pts)
    4. Prompt the user- Please enter your first name, store the value entered by user in a
    string variable name. Use input.next() instead of input.nextLine(). (8 pts)
    5. Prompt the user- name, enter first integer number , store the value entered by user in
    an integer variable num1.(5 pts)
    6. Prompt the user- name, enter second integer number , store the value entered by user in
    an integer variable num2.(5 pts)
    7. Display the numbers entered by the user as: name has entered the numbers num1and
    num2.(5 pts)
    8. Calculate sum, product, difference, quotients and modulus of the two numbers. ( 30 pts)
    9. Display sum, product, difference, quotients and modulus of the two numbers. ( 10 pts)
    10. Terminate your program with a friendly message like- Thanks for using my program,
    have a nice day!!(2 pts)

    Nice try. You have not demonstrated that you've at least TRIED to do something. No one is going to do your homework for you. Your "urgency" is yours alone.

  • Wireless Printer Help needed with a brand new AE router.

    Hello there, I just purchased an Airport Extreme router and I'm having problems getting my HP Photosmart C8180 All-in-one printer to receive print jobs even though it and my computers are all connected and visible to the new AE wireless network. This is happening to my mac and windows computers as well. Any suggestions?

    Does this help:
    http://support.apple.com/kb/HT3500
    How is the printer hooked to the network?

  • Setting up a new Free Software Project, organizational help needed.

    Hi
    I need some help with a project I am working on.
    I have been working on this project for some time now. I have written a program using JDK 6 and Eclipse.
    The actual software is not the problem here. The actual problem, as I am starting to find out, is how to distribute this program.
    I think I have organized the actual files incorrectly. Since I have been working on this program for some time now, its gotten a lot bigger then
    I originally thought it would be. Also I have been using SVN and sourceforge, so I have been reluctent to make drastic changes to the layout of the
    source code.
    But I am starting to see that I need to adapt the source code to some standard if I am to either get other to help me or to release the program.
    And here is where your help comes in.
    I need to know how to organize my files.
    I have organized the *.java files in a somewhat orderly fashion, but from what I understand most source code is organized into "src", "lib", ect folders.
    This is what I need the help with.
    My program uses some external jar files that contain some methods, functions and class I use.
    I also have some images and icons used in the program.
    There are also files that are created, written to and read from the program, which I need to keep.
    What is the best way to organize these files and is there some sort of "standard of free software" out there?
    I would appreciate any help on the matter.

    Just a shot in the dark here...
    Are you JARring your project when you make it into a binary? You can JAR it the same way with your source, as well. As for the folders that you are talking about, I'm not an Eclipse user, but doesn't the IDE organize your files into packages and such while you are working on a project?
    My perspective comes from NetBeans. When I create a project, the IDE automatically creates an Ant file and also organizes the project into packages. For example, if I start a project called StripNewLines, my Main class will be located in a package called stripnewlines, which I can refactor later to something like net.mycompany.stripnewlines, for example. Then, when I need to include resources such as files or icons, I go into my file manager and simply create new folders under my project's source tree. For example, my project file tree may look something like:
    + StripNewLines/
    + dist/
    + lib/
    + StripNewLines.jar
    + README.TXT
    + src/
    +net/
    + mycompany/
    + stripnewlines
    + Main.java
    Once I get done adding my files and icons, it might look like this:
    + StripNewLines/
    + dist/
    + lib/
    + StripNewLines.jar
    + README.TXT
    + src/
    +net/
    + mycompany/
    + stripnewlines/
    + Main.java
    + files/
    + LICENSE
    + README
    + art/
    + file-open.png
    + exit.png
    + new.png
    Once I've added those files and icons to my file heirarchy in my file manager, NetBeans will automatically update the project and add the packages net.mycompany.files and net.mycompany.art. Then I just have to access them by their paths to use them in my application.
    Once you've gotten your application completed and compile it to a jar file, you can drop to a shell and use the `jar` command to "pack up" your source tree. By doing it this way, you have a single file for download as a binary and another single file for download as a source archive. Obviously, if you are using libraries, you will need to zip up or tarchive your lib/ folder and JAR file for the distributions, so that your external libraries will also be available to your application on another machine.
    Anyhow, just some thoughts. I do hope this helps you a little and doesn't confuse you more.
    Cheers,
    Sean Carrick
    PekinSOFT Systems

  • Setting up HP L-7590 via usb to wireless router, help needed..!

    Hi,
    I have been using my L7590 via lan to a wireless router for a few years... that was perfrect...
    Recently I had to change router because of change of ISP. The new router is a Huawei B683... the  problem I have is that this router does not allow LAN connections from the router ...!! It does has a USB port that is for the printer...
    I am unsure as to how I setup the printer connected via usb to the router....
    Do I use the network installation setup...? Or do I use the USB setup...??
    Any help is greatly appreciated...
    Thanks

    Hi,
    Connecting the printer to a router's USB port (aka. print server) will only allow you basic print functionality , it won't provide you any scan functionality, faxing from the computer, ink levels or any operation of the HP Solution Center program.
    To get full functionality you must work with the provided functionality which means USB connection directly to a single PC or Ethernet connection to a router.. therefore using an Ethernet router will be the preferred solution for you.
    In order to setup the printer as you described you should connect the printer to the USB port and go to Control Panel > System. click add a printer and add it through the network.. there might be a need to enter your wireless homepage to enable the printer through the USB, there might be additional setup information in there.. that veries between different print servers and you may contact Huawei support or your ISP for any assistant within the print server configuration.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • SOCKET PROGRAMMING  HELP NEEDED!!!!

    hi,
    I got an idea of establishing socket connection with all clients from SERVER through the windows command
    called (arp -a). when we type the stated command on dosprompt in server, it gives the list of current system's
    ipaddress.....switched on. SO i can establish socket connections in a for loop where i can take the following ipaddress from output listed from command.
    i've written the code to call the command in JAVA.
    i write the dosprompt output in a file named list1.txt
    import java.util.*;
    import java.io.*;
    import java.io.File;
    public class RunCommand
    public static String[] runCommand(String cmd) throws IOException
    ArrayList list = new ArrayList();
    Process proc = Runtime.getRuntime().exec(cmd);
    InputStream istr = proc.getInputStream();
    BufferedReader br = new BufferedReader(new InputStreamReader(istr));
    String str;
    while ((str = br.readLine()) != null)
    list.add(str);
    try
    proc.waitFor();
    }catch (InterruptedException e)
    System.err.println("process was interrupted");
    // check its exit value
    if (proc.exitValue() != 0)
    System.err.println("exit value was non-zero");
    // close stream
    br.close();
    // return list of strings to caller
    return (String[])list.toArray(new String[0]);
    public static void main(String[] args) throws Exception
    try
    FileWriter f1=new FileWriter("list1.txt");
    String[] s = runCommand("arp -a");
    for (int i = 0; i< s.length; i++)
    f1.write(s);
    System.out.println(s[i]);
    f1.close();
    }catch (Exception ex) { System.out.println(ex);}
    SAMPLE OUTPUT:
    Interface: 172.16.3.1 on Interface 0x1000003
    Internet Address Physical Address Type
    172.16.3.4 00-00-e2-13-a9-e8 dynamic
    172.16.3.6 00-00-e2-13-aa-0f dynamic
    172.16.3.10 00-00-e2-13-ab-bb dynamic
    172.16.3.12 00-00-e2-13-ab-93 dynamic
    172.16.3.16 00-00-e2-13-37-b8 dynamic
    172.16.3.17 00-00-e2-13-37-19 dynamic
    172.16.3.18 00-00-e2-13-37-1d dynamic
    172.16.3.19 00-00-e2-13-38-98 dynamic
    172.16.3.22 00-00-e2-13-37-54 dynamic
    172.16.3.23 00-00-e2-13-39-02 dynamic
    172.16.3.24 00-00-e2-13-39-0f dynamic
    172.16.3.26 00-00-e2-13-37-a5 dynamic
    172.16.3.27 00-00-e2-13-37-0b dynamic
    172.16.3.28 00-00-e2-13-37-12 dynamic
    172.16.3.29 00-00-e2-13-39-15 dynamic
    172.16.3.30 00-00-e2-13-38-af dynamic
    172.16.3.31 00-00-e2-13-37-fe dynamic
    172.16.3.32 00-00-e2-13-38-ff dynamic
    172.16.3.34 00-00-e2-13-ab-c8 dynamic
    172.16.3.37 00-00-e2-13-ab-67 dynamic
    172.16.3.42 00-00-e2-13-ab-19 dynamic
    PLS HELP ME OUT IN GETTING ONLY THE IPADDRESS IN FOR LOOP IN SERVER SOCKET PROGRAM TO INVOKE ALL CLIENT'S PROGRAM IN NETWORK.
    PLS HELP ME!!!!!!!
    ATTACH THE CODE!!!!!!!!!!!!

    Connecting to a client presumes that the client is waiting for a connection.
    If that is the case I would suggest looking a java.net.Socket.

  • Programing help needed  urgently

    Please help with my home work I'm really stuck
    Read in an integer from the keyboard, then check to see whether it is :
    Positive or not
    Even or odd
    A multiple of 7 or not
    The number must be displayed together with each of the tests.
    I don't know how to check for a multiple of seven that were I had a problem.
    Here is the program that I have written so far. It is in java.
    import java.util.Scanner;
    public class hwork11
    public static void main (String[]args)
    Scanner input=new Scanner (System.in);
    System.out.println("please enter a number");
    int num=input.nextInt(System.in);
    if(num>0)
    System.out.println(num+" is negative"):
    else
    System.out.println(num+" is positive");
    if( num%2 == 0)
    System.out.println(num+" even number");
    else
    System.out.println(num+" odd number");
    }

    Vee190 wrote:Please help with my home work I'm really stuck
    Read in an integer from the keyboard, then check to see whether it is :
    Positive or not
    Even or odd
    A multiple of 7 or not
    The number must be displayed together with each of the tests.
    I don't know how to check for a multiple of seven that were I had a problem.
    Here is the program that I have written so far. *{color:#0000ff}({color}* It is in java. *{color:#0000ff}r u kiddin me )*
    *{color}*
    import java.util.Scanner;
    public class hwork11
    public static void main (String[]args)
    Scanner input=new Scanner (System.in);
    System.out.println("please enter a number");
    int num=input.nextInt(System.in);
    if(num>0) *{color:#0000ff}( I think that numbers >0 are +. Whuddya think?){color}*
    System.out.println(num+" is negative"):
    else
    System.out.println(num+" is positive");
    if( num%2 == 0) *{color:#0000ff}If num is 4, do know why this statement is true? (num % 2 == 0)*
    **The key to answering your question about whether or not a number is a multiple of 7 is understanding the use of the % operator. Look it up, and figure it out. You will learn programming languages much faster if you understand what it is you are typing, rather than just trying to make a program by copying lines of code out of the book.*{color}*
    System.out.println(num+" even number");
    else
    System.out.println(num+" odd number");

Maybe you are looking for