Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8897825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:26:56+00:00 2026-06-15T00:26:56+00:00

I want to create menu from XMLFile. My xml is like this <?xml version=1.0

  • 0

I want to create menu from XMLFile. My xml is like this

<?xml version="1.0" encoding="UTF-8"?>
<root>
<parent title="Layanan Anda">
    <menu title="Info Kartu">
        <submenu title="Informasi Saldo">
            <input type="numberpassword" length="4">Kode </input>
        </submenu>
        <submenu title="Mutasi Kartu Utama">
            <input type="numberpassword" length="4">Kode </input>
        </submenu>
        <submenu title="Mutasi Kartu Lain">
            <input type="number" length="10">Kartu</input>
            <input type="numberpassword" length="4">Kode </input>
        </submenu>
        <submenu title="Deposito">
            <input type="number" length="10">Bilyet</input>
            <input type="numberpassword" length="4">Kode </input>
        </submenu>
    </menu>
    <menu title="Kartu Anda">
    </menu>
    <menu title="Other Info">
    </menu>
    <menu title="Isi">
    </menu>
</parent>
<parent title="Menu Favorit">
</parent>
<parent title="Recent Menu">
</parent>
<parent title="Setting">
</parent>    
</root>

In HomeScreen, list menu parent will show first. And when I click parent menu, application will show list menu from “menu” tag. When I click menu again, application will show list menu from submenu. And vice versa when I want to back to parent menu.

How can I implement this in J2ME?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:26:57+00:00Added an answer on June 15, 2026 at 12:26 am

    Parse your XML file and create a tree structure to hold the menu/submenu items. Each node should hold the items of a single level. For example:

    • root: Layanan Anda, Menu Favorit, Recent Menu, Setting
      • menu: Info Kartu, Kartu Anda, Other Info, Isi
        • submenu: Informasi Saldo, Mutasi Kartu Utama, Mutasi Kartu Lain, Deposito

    Then use a graphical List to show the items of a node.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an XML Sitemap like this <?xml version=1.0 encoding=utf-8 ?> <Menu> <MenuItem Name=Page
I want to create a menu like on this design A menu where you
i want to create a button/menu in title bar on each windows explore(or in
i want to create a simple dropdown menu with div but i have this
I want to create a dynamic select input (dropdown menu) from JSON. I have
I want to create a menu from category names in database, so far I
I want to create a menu that appears sliding from a side of my
I want to create dynamic menu from Database it's mean i have Catagory is
I want to create a dynamic menu that will get it's items from a
I want to create a html list () from an xml using xslt. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.