×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    4

    Question help!! how to using table item and xml in j2me

    i'm using netbeans 7.0.1 and i want to create a table item using xml data but i can't find any information about table item with xml and i don't know it can use together or can't. Any one can help me thanks

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: help!! how to using table item and xml in j2me

    Hello amasahara,

    and welcome to Nokia Developer Discussion Boards!

    Personally I am not aware of whether a table item by using XML could be achieved. It could be possible by using JSR-172 for XML parsing, similar as shown here: http://www.developer.nokia.com/Commu...arsing_Example

    Additionally, you could construct UI by using NetBeans as shown by these examples here:

    http://www.developer.nokia.com/Commu...in_a_MIDP_Form

    http://www.developer.nokia.com/Commu...ble_in_Java_ME

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Registered User
    Join Date
    Feb 2012
    Posts
    4

    Re: help!! how to using table item and xml in j2me

    hi r2j7,
    thank you very much
    if y have any examples about j2me + webservice and rss or xml will make me understand more easily.
    thanks again

    Regards,
    amasahara

  4. #4
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: help!! how to using table item and xml in j2me

    Hello amasahara,

    regarding the examples, you might want to check the related developer resources on Java Developer's Library online:

    Java Developer's Library > Developer's guides > Networking > Web Services

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  5. #5
    Registered User
    Join Date
    Feb 2012
    Posts
    4

    Re: help!! how to using table item and xml in j2me

    hello r2j7,
    thank you very much

    so i have a question, we can put data to table item j2me like display on web, not the same all.
    ex: on web data is show horizontal but on j2me we show it vertical but data not exchange

    and y can give a code examples please

    Regards,
    amasahara
    Last edited by amasahara; 2012-02-15 at 00:56.

  6. #6
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: help!! how to using table item and xml in j2me

    Hello amasahara,

    could you provide more information on the requirement?:

    -do you mean that you want to scale the same data due to different display resolution?

    -or do you that mean you want to show the same data entirely differently i.e. on x scale for a mobile device instead of showing it on y scale of a laptop?

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  7. #7
    Registered User
    Join Date
    Feb 2012
    Posts
    4

    Re: help!! how to using table item and xml in j2me

    hello r2j7,

    i want show data with your 2 idea. My data get from a webservice so data i get to j2me is xml. And i don't know how to show all data to table because row or colum i can't set default

    Regards,
    amasahara

  8. #8
    Nokia Developer Expert
    Join Date
    Aug 2011
    Posts
    555

    Re: help!! how to using table item and xml in j2me

    Hi amasahara,

    You might want to consider LWUIT in order to display a table in your application. This can be done by using a Table component. If you use the DefaultTableModel all you have to do is insert your xml data by specifying the columns and rows in the DefaultTableModel constructor. You can also create your own TableModel. By using the isCellEditable method you can specify if a cell should be modifiable by the user or not.

    You can download the latest version (1.5) of LWUIT from here

    You can find LWUIT's Developer Guide here. Check in particular section 4.1

    There is a forum dedicated to LWUIT development here.

Similar Threads

  1. Adding a Choice Group to a Table Item
    By tosreejithp in forum Mobile Java General
    Replies: 0
    Last Post: 2009-12-06, 07:21
  2. Creating J2ME Table
    By vish0306 in forum Mobile Java General
    Replies: 2
    Last Post: 2009-09-14, 08:44
  3. Color in Table Item?
    By quoctrang in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2008-12-24, 16:27
  4. Table Item in J2ME!!
    By quoctrang in forum Mobile Java Tools & SDKs
    Replies: 8
    Last Post: 2008-12-23, 00:45
  5. item table - how to expand to screen size
    By Sniipe in forum Mobile Java General
    Replies: 2
    Last Post: 2006-01-20, 18:20

Posting Permissions

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