J2ME Help for a Masters Project

Hi All
I really need help in relation to J2ME which i am doing for my masters project.I have a web page which resides on my personal web server for windows. I want to connect to this page using J2ME and MIDP. The address of this page is http://localhost/Barry/Query1_1.HTML. This page contains a text box where i enter a number and hit the run query button and this brings me to an asp page with the results from a database displayed.
Basically all i need to know is how do i connect to this page. I would be really grateful if some kind person would email me at [email protected] with the answer and the code needed.Cheers

have you tried using java.net.URL?

Similar Messages

  • Need help for a school project

    I am new to Oracle/Sql and the last part of my project requires that I use a Stored Procedure to access info from an AUTHORS table. I have followed the guidelines in the assignment but for some reason the Stored procedure is not working. If someone could help I would REALLY appreciate it. Thanks.
    public void fillSet(string key)
    if (connect())
    cmd.CommandText = "SELECT TO_CHAR(SALES.ORD_DATE), SALES.QTY, SALES.TITLE_ID, TITLES.TITLE, TITLES. PRICE FROM SALES, TITLES WHERE SALES.TITLE_ID = TITLES.TITLE_ID AND SALES.STOR_ID = :key";
    parm = new OracleParameter("key", key);
    cmd.Parameters.Add(parm);
    reader = cmd.ExecuteReader();
    while (reader.Read())
    ORDER_DATE = (string)reader.GetString(0);
    QUANTITY = (int)reader.GetDecimal(1);
    TITLE_ID = (string)reader.GetString(2);
    TITLE = (string)reader.GetString(3);
    PRICE = (double)reader.GetDouble(4);
    TOTAL = QUANTITY * PRICE;
    AUTHORS = loadStoredProcedure(TITLE_ID);
    loadDataSet();
    reader.Dispose();
    cmd.Dispose();
    oracleConn.Close();
    return;
    else return;
    public string loadStoredProcedure(string match)
    string cmdStr2 = "ALLAUTHORSFORTITLE";
    op1 = new OracleParameter();
    op1.Direction = ParameterDirection.Input;
    op1.Value = (object)match;
    op2 = new OracleParameter();
    op2.Direction = ParameterDirection.Output;
    op2.Size = 100;
    cmd2 = new OracleCommand();
    cmd2.CommandText = cmdStr2;
    cmd2.Parameters.Add(op1);
    cmd2.Parameters.Add(op2);
    cmd2.CommandType = CommandType.StoredProcedure;
    int code = cmd2.ExecuteNonQuery();  //error here
    String buildit = (string)op2.Value;
    oracleConn.Close();
    return buildit;
    }

    Hi,
    In cases with the same problems do you have, it's recommended to post a break point before the call of the store procedure. And then test the store procedure with this values separately. If you do this you can find out where the problem is.
    Also, is best if you put the output of the console log to see what it's the problem.
    Regards,

  • I need help for a school project please help MEEEEEEEDX

    ok ladies and gents help me out i need some info on oracle solaris 11 and i havent been able to find it online. here is the stuff i need:
    1. Number of Clients Supported-
    2. Number of Processors Supported-
    3. Support for SMTP, HTTP, DNS, File & Print and Remote Administration-
    4. Support for Windows, Linux, UNIX & Appleclients-
    5. Back up capabilities-
    if you know anything about this stuff please help me out i would greatly appreciate it. and have a great turkey day everybody.XD

    No one will do your work for you, particularly if it is schoolwork.
    You would be cheating and whatever grade you might get would be false because it wouldn't be your work.
    Here is the link to Oracle's documentation page.
    From there you can get to the documentation for Solaris 11.
    http://www.oracle.com/technetwork/documentation/solaris-11-192991.html
    There is a lot of OS documentation there, so you had better start reading.
      It will take some time for you to eventually undertand it all.

  • Suggestion of a topic for masters project from the Comp sci point of view

    I want to decide a topic for my masters project. Preferably dont want to use any hardware. Can i simulate an engine simulator without any hardware.

    Simulating a simulator. Yes, that sounds like a very theoretical topic ;-)
    But seriously, LabVIEW is a great environment for simulation. NI even has a simulation toolkit for simulating control systems.

  • Plz help me to get Projects for Practice

    hi,
         I am vijay recently completed SAP In SD module.Plz help me to get projects for practice

    if you want to put am image into a game use this code:
    try {
    Image Img = Image.createImage("/your.png");
    catch(Exception e) {
    You have to have a try/catch statment to check for errors.
    You can have animated png with sprites.
    If you have a picture thats 32x32 put the next frame into it 32x64 and continue like that.
    I added a link to a good guide to make game in J2ME
    http://www.microjava.com/articles/techtalk/midp2_games?PageNo=1

  • How do i transfer a project to a cd for further mastering?

    i know this is a simple question but how do i transfer a project to a cd or dvd-r for further mastering?also i am thinking about getting a macbook and am wondering how i would transfer my work in logic 8 on the imac to a brand new macbook?

    Hi,
    1st: If you want to give your project to a studio, give them the whole Logic Project if they have logic, too. Once it is bounced, they can't to more than tweak the final mix.
    If you have to bounce it for the studio, bounce it with 24 bit PCM and inportant : Do not use dithering! This step will added by the studio after mastering.
    2nd: To export a project, make shure all Audio, Samples and all these things are saved inside the project folder. There is an option in the preferences when you make a new project. Try this out.
    Fox

  • Need help for my project(how to call function in ancestor object)

    dear all, i need your help for my project.My problem is stated as follow:
    say i have a class call frameA and frameB, both of them are extend from
    JFrame, frameA structure can be described briefly as follow:
    //frameA.java
    public class frameA extends JFrame{
    private frameB fb;
    public frameA()
    fb=new frameb();
    show();
    public void func()
    JOptionPane.showMessageDialog(null,"OK");
    now, my problem raised, after frameA and fb is created, how can i access the ancestor object(which is frameA) within fb's code,
    what should i add inside frameB? i need the answer urgently......
    thanx a lot!!!
    cheers

    Hi,
    For this kind of problem, I believe you can use the inner class.
    Here's the sample code I hope will help:
    class MyApp{ 
    B bFrame;
    A aFrame;
    class A extends JFrame{
    public void doSomething(){
    bFrame = new B();
    bFrame.doSomething();
    class B extends JFrame{
    public void doSomething(){
    aFrame = new A();
    aFrame.doSomething();
    If you have further question, you can email me your task sample code at [email protected] and I will solve it for you.
    With my best,
    Zike Huang(Jim)

  • Need help for the web based project

    I am using netbeans 5.5 and Sql server for db.What is the full form for DAO and how is it going to help me in my project.U also talk about uml want ot know about it.
    and how is it coming to help me.Its a very wast topic i serached.what will be helpful to me of the UML.
    What should i start first --- jsp or db design.
    What should i use for web based project --- only use jsp(presentation)+dao or jsp+servlet+dao.What would be best ?
    provide some nice link based on dynamic fetching of values from the database and showing it at runtime.
    Message was edited by:
    java@mani

    As stated in http://forum.java.sun.com/thread.jspa?threadID=5167752 start reading the Java EE tutorial to get insights in the material.
    what will be helpful to me of the UML.UML generally visualizes the core functionality. See http://www.google.com/search?q=uml+tutorial for some tuts.
    What should i start first --- jsp or db design.Start with both and end with the best balance between both.
    What should i use for web based project --- only use
    jsp(presentation)+dao or jsp+servlet+dao.Depends on the business needs. Generally 3-tier webapplications are the best: web, business and data.
    provide some nice link based on dynamic fetching of values from the
    database and showing it at runtime.Check some SQL and JDBC tutorials how to fetch and process the data:
    http://www.google.com/search?q=sql+tutorial
    http://www.google.com/search?q=jdbc+tutorial
    How to process it in the business and web layer is stated in the Java EE tutorial I've linked in your former topic.
    For applying the patterns, check the http://java.sun.com/blueprints/corej2eepatterns/

  • Ideas for masters project in algorithmic problems?

    Hi,
    I'm about to start my masters project in computer science. The topic is algorithmic problems. So I'm wondering if you have any ideas for a project?
    I have some ideas, but I'd like to get more. One of the ideas is to "remake the most annoying app you are forced to use". I'm not really forced to use any annoying apps though, perhaps some of you guys are? It has to require some sort of clever algorithmic design.
    Thanks!
    Last edited by khs (2011-08-24 08:55:31)

    Well I could tell you some complex ones I got in touch with on my college, but they're pretty scenario-specific, so I don't know how will you like them:
    1) Make a fully-playable checkers game with advanced AI.
    2) Find fastest route from any point A to any point B on a grayscale map, with white pixel being the lowest altitude, and black being the highest altitude.
    3) Make a system for student group substitution. This must include: StudentA from GroupA wants to switch to GroupB, but there are no spaces available in GroupB. StudentB from GroupB wants to switch to GroupC, which is also full. StudentC from GroupC wants to go to GroupA, but only switch available to him is an offer to go to GroupB from StudentB which he can execute. When he does it, he could switch with a StudentA for GroupA. But, he won't do that because he's not sure StudentA wants a spot in GroupB. Design a system which would recognize this and list all the pathways so each student can get into group he wants by switching groups to that target group. Note: this is said to be extremely difficult to make btw
    4) ...
    I'll edit if I remember more.
    These were from few ago and it's possible I missed something in presenting them to you, I wrote them in my own words.

  • Setting Scratch discs for 3 different projects -- HELP

    I have a new mac book pro and I am going to use it for some mobile editing.
    I have some scratch files from my imac that apparently didnt migrate to the new ext HD that I copied everything to so I am having difficulty finding the media files "media offline" and I cant find it in the scratch folders.
    I think I might have trashed it because it was in a wrong folder or mislabled one...... so here is what I need to know.
    on the EXT HD that I am capturing to:
    Do I need to set up a scracth "FOLDER" for every different project or just allow all projects to save under the scratch folders that set themselves up after choosing that disc?
    I was setting the scratch folders to different folders on the EXT HD trying to keep them separate but I think -----I need to reset after I open up each project to do any editing correct? If not the project i am working on will save under the last project setting ... right?
    thanks
    any info or links to how to best workflow this would be appreciated.
    tim

    When you initially set up a Scratch Folder, Final Cut creates a folder labeled "Capture Scratch", then a sub-folder inside with the name of your project. As you create new projects, a new sub-folder will be created with the new names of your project.
    In my workplace, because we're Xsan based, and because of the numerous projects that are worked on, we've developed a slightly different practice. Instead of everyone's media residing within one Capture Scratch folder, we build our own folder/sub-folder structure. For example:
    http://dl.getdropbox.com/u/19589/Sample%20File%20Structure.png
    We use this method to keep all of our projects separated and organized, while it may seem cumbersome, it has worked really well for us.
    Hope this helps.

  • Help regarding J2ME CDC for VxWorks target

    hi
    i'm getting a NoClassDefFoundError when attempting to run a "HelloWorld" test class in J2ME CDC for VxWorks target.
    i created the boot image for VxWorks through J2ME CDC and made use of that boot image to boot VxWorks.
    in the target, i navigated to "bin" directory using
    cd "<j2me-home>/cdcfoundation/build/vxworks/bin"
    and issued the command
    runJava "-Djava.class.path=../testclasses.zip HelloWorld".
    i got a NoClassDefFoundError when i ran the above command.
    i'm herewith attaching the stack trace for u'r kind perusal.
    please help me out of this situation.
    thanks in advance,
    ashok
    java.lang.NoClassDefFoundError : java.io.VxWorksFileSystem
         at java.io.FileSystem.getFileSystem()Ljava/io/FileSystem;(Native Method)
         at java.io.File.<clinit>()V(File.java:98)
         at java.lang.Class.runStaticInitializers()V(Class.java:1499)
         at sun.misc.Launcher$ExtClassLoader.getExtClassLoader.getExtDirs()
              [Ljava/io/File;(Launcher.java:164)
         at sun.misc.Launcher$ExtClassLoader.getExtClassLoader()
              Lsun/misc/Launcher$ExtClassLoader;(Launcher.java:130)
         at sun.misc.Launcher.<init>()V(Launcher.java:70)
         at sun.misc.Launcher$1.run()Ljava/lang/Object;(Launcher.java:52)
         at java.security.AccessController.doPrivileged0
              (Ljava/security/PrivilegedAction;
                   [Ljava/lang/Object;)Z(AccessController.java:265)
         at java.security.AccessController.doPrivileged
              (Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)
                   Ljava/lang/Object;(AccessController.java:278)
         at java.security.AccessController.doPrivileged
              (Ljava/security/PrivilegedAction;)
                   Ljava.lang/Object;(AccessController.java:251)
         at sun.misc.Launcher.<clinit>()v(Launcher.java:43)
         at java.lang.Class.runStaticInitializers()V(Class.java:1499)
         at java.lang.ClassLoader.getStaticClassLoader()
              Ljava/lang/ClassLoader;(ClassLoader.java:968)

    Did you solve the problem?
    You probably have to need to input "-Xbootclasspath".
    I also have the silimar problem.(UnsatisfiedLinkError)
    If you know about below, let me know. please.
    Thanks in advance.
    -> runJava "-Xbootclasspath=/Flash0/cdc.jar -Djava.class.path=/Flash0 HelloWorld"
    rfaSetMappingContext called!
    rfaSetMappingContext called!
    rfaSetMappingContext called!
    java.lang.UnsatisfiedLinkError: java.io.VxWorksFileSystem.initIDs()V
    at java.io.VxWorksFileSystem.<clinit>()V(Unknown Source)
    at java.lang.Class.runStaticInitializers()V(Unknown Source)
    at java.io.FileSystem.getFileSystem()Ljava/io/FileSystem;(Native Method)
    at java.io.File.<clinit>()V(Unknown Source)
    at java.lang.Class.runStaticInitializers()V(Unknown Source)
    at sun.misc.Launcher.getClassPath(Ljava/lang/String;)[Ljava/io/File;(Unknown Source)
            at sun.misc.Launcher.access$200(Ljava/lang/String;)[Ljava/io/File;(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.getAppClassLoader(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;(Unknown Source)
            at sun.misc.Launcher.<init>()V(Unknown Source)
            at sun.misc.Launcher$1.run()Ljava/lang/Object;(Unknown Source)
            at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
            at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Unknown Source)
            at sun.misc.Launcher.<clinit>()V(Unknown Source)
            at java.lang.Class.runStaticInitializers()V(Unknown Source)
            at java.lang.ClassLoader.getSystemClassLoader()Ljava/lang/ClassLoader;(Unknown Source)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Can u help me for my new project

    hi all
    i am going to my new project
    dear on that project our enviourment is....
    for frond end ::: we use orain erp software
    backend ::: oracle database 10g.
    report :: for oracle Discoverer
    editing :: oracle developer/ 2000
    i have no idea about oracle discoverer and oracle developer/2000
    i want to learn myself plz. give me any advice and suggestion...its very helpful for me.
    also i want both software and doc for learn give me any link there i get software.
    plz its very urgent;
    thanx in advance..
    regards
    Mohammadi.

    also i want both software and doc for learn give me any link there i get software.You can find both, software and documentation, on OTN
    http://www.oracle.com/technology/index.html

  • Help me for Patent a project for apple ?

    hi
    can u help me for witch one i contact to for Patent a project for apple ?
    i made a thing fore apple iphone / ipod / ipad
    i want to Patent it for apple
    plz help me
    somone like Bob Mansfield ?

    You could try old fashion mail, from the link above:
    Apple
    1 Infinite Loop
    Cupertino, CA 95014
    408.996.1010
    It will be a tough sell.  Apple tends to ignore unsolicited ideas. 
    You should patent your idea then submit it to industry so as not to loose credit for your idea.
    Get a translator to go over your letter.
    Robert

  • What r the industries suuporting or helping  for SAP project implemetation?

    what r the industries suuporting or helping  for SAP project implemetation

    Hi
    The project team selects the processes that best fit your business from R/3’s functional offering, using the following tools:
    AcceleratedSAP Implementation Assistant
    Question and Answer Database (Q&Adb)
    Business Process Master List (BPML)
    R/3 Structure Modeler
    Business Navigator and external modeling tools
    Regards
    Manoj

  • Resp Person Tab is not coming in CJ20N for a particular project type

    Hi All,
    I am unaware of the standard SAP screen in CJ20N but we have a screen in CJ20n wherein we can assign a person / link a person this particular tab is not coming at all for a particular project type (Resp Person) rather a different tab (cust enhancement) is coming but our problem is we have a mass program which works on BDC and hence if the required screens are not there it fails.
    Can someone please tell me if there is come config i can check/ maintain for this resp person tab so that it starts coming for all project types.
    Regards
    Anmol Pareek

    Hey Sarang,
    Thanks a lot, it was helpful, one more thing though, In Resp Persons tab there is something called Link Employees and my problem is that i have a mass linking program (using BDC) which cannot work if i dont see that screen in my BDC (without changing BDC). The way you have told is in OPUK/ OPUJ check for proj type and see if person responsible is hidden or not. I dont think that is what i am asking because no matter what this person responsible is hidden, but for certain project types Resp Person tab itself is not coming and that is the problem.
    Regards
    anmol

Maybe you are looking for

  • Creating a small transition video 100px

    Hi, I'm not sure if this is the appropriate flash thread to start here but since it's listed under Media I thought I'd stick it under this subcategory. What I'm trying to do is make a 100 x 100 pixels (small) video for a sig. I wanted to take 3 diffe

  • Lost messages on iPad 2 when creating new Apple ID on new iPhone and changed it on the iPad

    We have got a new iPhone5, and when setting it up the first time, a new Apple ID was typed in, unaware the problemes it would cause. We also changed the Apple ID on our iPad2, and lost all historic messages at iMessages. Is it possible to have it res

  • Test connection of target data server

    Hi All, Is there any command we can put in package which will test the connection to target datastore. Same thing we are able to do in Topology Manager with test button of Dataserver. What we want if the connection is o.k then only our interface shou

  • Check mark next to song title

    I downloaded Itunes 7.3 now I can only play 1 song at a time without checking each song, I did not have to do this before. I have 7500 songs in my library and it will take days to check mark each one. Is there a better way to make my library play wit

  • Chat funktioniert nicht - Lizenz gesperrt

    Ich versuche jetzt bereits den 2. Tag diesen Support chat zu erreichen, da meine Lizenz gesperrt ist (Wechsel auf neuen PC) - auf dem alten kann ich die Lizenz nicht freischalten auf dem neuen - soll ich mich beim Support melden... nur wo Telefonisch