Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User amasahara's Avatar
    Join Date
    Feb 2012
    Posts
    4
    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 Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    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

  3. #3
    Registered User amasahara's Avatar
    Join Date
    Feb 2012
    Posts
    4
    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 Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    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

  5. #5
    Registered User amasahara's Avatar
    Join Date
    Feb 2012
    Posts
    4
    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 Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    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

  7. #7
    Registered User amasahara's Avatar
    Join Date
    Feb 2012
    Posts
    4
    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 skalogir's Avatar
    Join Date
    Aug 2011
    Posts
    547
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved