×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    39

    Post How to display data in canvas which is fetched from servlet to midlet.

    I am able to display data from database using servlet.I am using MySQL as database.
    But i want to display it more nicely using canvas. Right now i have just print all the data's ,it doesn't look professional.
    I want to know how to show those data's nicely. How to use canvas? where i can use canvas? Is there any other way to display data/records so that it looks more professional.

    i created midlet and servlet. I can see the record which is on my database but as i have just printed using servlet on the mobile screen. Now i want to display those records nore nicely that is . say for example

    i am showing personal profile of a user.
    I am just displaying like ---
    "Name:" Abc,
    "Age:" 27 etc
    now i want to bold "Name" , "Age" stuff like that.
    I want to use color etc but i dont know how to do that. How can i make records look good?

    I have stored all the record in resultset and have passed it to midlet now i want display it more nicely. How to do that?

    i downloaded the j2me polish and i can see the option for running it on my myEclipse IDE but it gives me an error "No MeposeModel for project 'testHelloWorldCanvas'
    How does it work. What are the benifics.

    I read about j2me polish, i tried to install it on my Myeclipse 6 but it gives me some error, it wants some plugin "org.eclipse.jface.databinding(1.2.0)" or later version. I searched on net but i am not able to find that plugin.
    Can anyone guide me in going ahead with this.

    As output of this code i can see the data's in the midlet but just normal style as i am printing it on the screen.
    I dont know where to call or how to implement j2me polish in my application.
    I went through the details of polish but i am not able to install the polish into my IDE , MyEclipse 6, it gives me some error of installing some plug-in "org.eclipse.jface.databinding(1.2.0)". I searched for the plugin but i am not able to get it, what shall i do now.
    I wanted to make my application more interactive and want to make my application look more professional.
    Any one can guide me of this.
    Thank You.

    Need help as soon as possible.
    Thanks in advance.

  2. #2
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    254

    Re: How to display data in canvas which is fetched from servlet to midlet.

    hi
    there are fonts in the J2ME and u can set the color too
    but remember one thing that a canvas is an very primitive UI so dont expect too much

    regards
    Arun Gupta

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    39

    Re: How to display data in canvas which is fetched from servlet to midlet.

    Thank you for taking the pain to reply to me.

    How shall i do GUI part.
    What do you use for GUI purpose.


    Regards.

  4. #4
    Super Contributor
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330

    Thumbs up Re: How to display data in canvas which is fetched from servlet to midlet.

    hi,
    are'nt u working on canvas yet. if no then take some tutorials from
    java2s.com


    thanks,
    jitu_goldie..
    thanks,
    jitu_goldie..

    KEEP TRYING..

  5. #5
    Super Contributor
    Join Date
    Jun 2007
    Location
    Mumbai
    Posts
    539

    Re: How to display data in canvas which is fetched from servlet to midlet.

    hi vinoy,
    i am using Polish for long time, it works fine with eclipse. do the installation again and make sure u follow all steps shown here:

    http://www.j2mepolish.org/cms/leftse...tallation.html

    Prkash
    au revoir
    Prakash Raman

  6. #6
    Registered User
    Join Date
    Sep 2008
    Posts
    39

    Re: How to display data in canvas which is fetched from servlet to midlet.

    I am using MyEclipse 6.5.1GA when i follow those steps and try to search from MyEclipse then it asks for some installation of "org.eclipse.jface.databinding" first and then it will install the "Mepose". How from where will i get this plugin. I am tired of searching on net. Almost half dead.

Similar Threads

  1. Unable to send a single byte from a midlet to a servlet
    By Futer in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2008-02-02, 23:48
  2. J2me MIDlet to Servlet HttpPost connection Exception java.io.EOFException
    By sumanbera in forum Mobile Java Tools & SDKs
    Replies: 5
    Last Post: 2008-01-11, 12:29
  3. Midlet Installation on E61 not prompting for deletion of data
    By earamsey in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2007-07-17, 04:02
  4. Socket received data converted to unicode doesn't display the full informat
    By prsens in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2003-03-17, 03:36
  5. display of RGB Data
    By amrutz in forum Symbian
    Replies: 1
    Last Post: 2003-02-09, 15:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×