Creating a HTML page from the J2ME application

Hi,
I am developingan application in J2ME. Can anyone of you out there, help me whether there is any way I can generate a HTML page from the application.
I have the data but I don't know ho to create a HTML page from a J2ME application.
Any document or any code will prove handy.
Thanking in anticipation.
Ashish

When you say that "you have the data" you mean that you have HTML code data(<html><body>Hello World</body></html>)? If yes you should create an algorithm that "read" html tag and display text in the appropriate layout/font/size/color...
A solution could be simplify your HTML code (server side), so you can easly "decode" and display text.
Giovanni
Italy

Similar Messages

  • Is the way to retrieve the deleted pages from the database application

    Hi,
    I was just deleted the pages from my database application wizard. Now, i want to retrieve the deleted pages, can you help me to retrieve those pages.
    Thankyou.

    Halloween can be a scary time -- especially if you Oops your APEX application. Of course you can't travel back in time but through the miracle of flashback, you may be able to get the APEX appl. back to where it was when. I tried these approaches and was successful with them.
    *** This assumes flashback is running on the APEX schema(?). Your abiliy to go back a given number of minutes (or hours?) will depend on whether the saved values still exist in the database. ***
    A) If you modify a page and want to go back to what you had, say, about 30 minutes ago.
    1) Under the Utilities button (on that page), select History.
    2) Determine how far back in time you want to go by examining the list of editing changes displayed.
    3) Do a page export of that page (also under Utilities) and fill in “As of __ minutes ago”.
    4) If you don’t want to lose what you've got on the “damaged” page, copy it to another page number for now.
    5) Import the exported page file.
    6) Check if you got back what you wanted.
    7) If not, try an earlier (or later) time and have another go at it.
    B) If you deleted the wrong page in the application!
    1) Assuming the last thing you did was this deletion, export the entire application filling in “As of __ minutes ago”.
    2) Just to be careful, import the file to a different unused application number. Don't overwrite someone else's application.
    3) Copy the deleted page from the new application back to where you need it.
    4) Clean up by deleting the unneeded application.
    C) If, "Doh," you deleted the wrong application!!!!
    1) Are you able to retire? If no, then proceed!
    2) Create a minimal application (with a single page) with the same number as the one deleted.
    3) Export the application filling in “As of __ minutes ago” with an appropriate number of minutes.
    4) The export file should contain the code you need to restore.
    5) You can inspect it with an editor.
    Look about line 25 for" Pages: <number>".
    For specific pages look for "page_000nn".
    5) Import the file to the same appl. number. You should get everything back!
    YMMV: Your mileage may vary!
    I'll take my leave with the words of that immortal song:
    "Yes. Oops, Oops, Oopsie! Good Bye. But Oops, Oops, Oopsie. Don't Cry."
    (With apologies to Ted Fio Rito, 1900-1971.)
    Howard

  • How to extract HTML page from the internet

    i am new to java, i wish to know how to extract Html page from the internet and also how to identify the differences between the images and text information?

    You can create a java.net.URL that points to the file you want to "extract" and read the HTML code (or what ever that file contains) from there using the inputstream given by URL.openStream().
    The difference between images and text... well, images are embedded in html using the img-tag. example: <IMG src="http://forum.java.sun.com/images/reply.gif" alt="Reply">. Attributes width, height, alt are sometimes left out and there may or may not be quotes around the values and everything is case insensitive... you'll be having hard time trying to parse the input so I'd suggest using existing parsers.
    What are you trying to do anyway? You can load a URL directly to a JTextEditorPane with the setPage(URL page) method...

  • Open HTML page from the stage

    How can I open a HTML page by pressing a button on the stage?
    I've created a rollover button and I'm trying to make it open
    an existing html page from the local disk (not an internet URL).
    But I can't make it open with Lingo or behaviour.
    Please help.
    Thanks a lot.
    Gideon.

    goToNetPage "
    http://somewhere.html" is the
    typical form for a page on
    the web, director must use the address format the system's
    browser uses
    for local files, this is somewhat platform dependant, a
    practical
    aproach is to open the file in question from within your
    browser then
    copy and paste the displayed address into your lingo code.
    Some report the goToNetPage counterpart provided by the
    buddyAPI xtra
    works more reliably, the xtra can be used for free if limited
    to a
    couple of functions.
    An alternate approach buddyAPI can use is to have the browser
    directly
    access the html file as if it were double clicked in the file
    manager
    using the same form commonly used to open PDF files with
    acrobat.
    (sorry I don't have example code handy)

  • May by anyway view Local Network files[e-book] or videos or html pages, from the main PC

    In ipad 3 upgraded to 4 ios, may by anyway view Local Network files[e-book] or videos or html pages, from the main PC if, this main has local host[php/mysql] or, from the local network itself: eg //user/downloads/pdf/ebook1.pdf?

    In ipad 3 upgraded to 4 ios, may by anyway view Local Network files[e-book] or videos or html pages, from the main PC if, this main has local host[php/mysql] or, from the local network itself: eg //user/downloads/pdf/ebook1.pdf?

  • How to populate a table in the html page from the java script

    Hi all,
    I have doubt in populating a table in the html page. my application is as follows
    I have a html page in which i have a combo box and a table following the combo box.
    i have to populate the table depending on the item selected in the combo box.
    for this i am using javascript to get the value of combo box onClick
    then i have to call some function thru jsp to get the data and then i have to populate the table with thst into from java script
    how can i do this, i.e populating html table from java script
    Thanks in advance
    satya

    Hi Mihai,
    You can populate data in DO_INIT_CONTEXT method of ur impl class in your Z component.
    data:
    lv_struct_ref type ref to YOUR_STRUCTURE,
    lv_value_node type ref to cl_bsp_wd_value_node,
    lv_bo_coll type ref to if_bol_bo_col.
    Data: current type ref to if_bol_bo_property_access.
    data: dref type ref to data.
    data: lv_guid_h type crmt_object_guid.
    data: lt_attr type table of YOUR_STRUCTURE.
    data: ls_attr type YOUR_STRUCTURE.
    data: lr_entity type ref to cl_crm_bol_entity.
    create object lv_bo_coll type cl_crm_bol_bo_col.
    lt_attr is ur internal table.
    Loop at lt_attr into ls_attr.
      create data lv_struct_ref.
      create object lv_value_node
           exporting
                iv_data_ref = lv_struct_ref.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = 'YOURFIELDNAME1'
    iv_value = ls_attr-firstname.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = ' YOURFIELDNAME2'
    iv_value = ls_attr-lastname.
    lv_bo_coll->add( lv_value_node ).
    typed_context->YOURCONTEXTNODE->set_collection( lv_bo_coll ).
    endloop.
    Regards,
    Raghu

  • How to invoke a HTML page from a GUI application.

    Use JFrame to devewlop a GUI.
    Add a Button to the GUI.
    Click the ADD Button.
    Add ActionListener to the Button.
    Click ADD Button.
    A HTML page with a hard coded path like index.html has to open in a browser.

    Hi there,
    get Runtime Environment at action performed.
    after getting Runtime execute following command,
    Runtime.exec("iexplore.exe","java.sun.com");
    u should specify location for iexplore.exe and url as parameter to pass to browser.
    I think it might work for u,
    Dhwanit Shah

  • Issue in Dreamweaver PHP pages from the PHP template

    I am learning to develop and publish a web catalog with a shopping cart feature attached. I am using PHP and MySQL as the tools to build this data driven website. However after creating the catalog list within the PHP template and needing the list as the menu within the sidebar of the webpages, the catalog list shows in the PHP template in Dreamweaver. But once I try to create a sub page from the PHP template, the list and all the contents does not show in the preview. After much checks, there is a issue with the sidebar class of the div, the issue is that a message shows that "Any content that does not fit in a fixed-width or -height box causes the box to expand to fit the content rather than letting the content overflow." I have tried to put the overflow:auto or overflow:hidden but to no success. How can get the catalog list to show without manually entering the over 50 categories that is already entered in the MySQL database? The template uses the 2 column fixed, sidebar, header and footer layout.

    It's a little hard to understand your question and its context. Can you please upload this page and give us a link so we can see what you are describing?

  • Access HTML Pages from Forte Applications

    We are currently looking at how to redevelop our online help facility for a
    Forte application. We are investigating the use of HTML pages.
    Has anyone written a Forte application that opens particular HTML pages? If so,
    how was it done?
    Regards,
    Steve Isaac
    Senior Consultant, Information Services Group
    Hydro Electric Corporation of Tasmania
    4 Elizabeth St, Hobart, Australia, 7000
    Phone : +61 03 6230 5161
    e-mail: [email protected]

    We have created the idea of an OnLineAssistant that uses HTML pages to drive
    help in a Wizard-like fashion.
    We use an embedded ActiveX browser control in a Forte window to display the
    HTML pages. The pages are launched by passing the application, window, and
    widget name to the OnLineAssistant window, which uses the information to load
    the correct page.
    For example: an application screen for entering customer name and address
    passes it's information to the on-line assistant, which links and displays the
    page associated with that particular step of a task wizard defined for that
    widget. The ActiveX control then allows the user to link into any of the
    other pages associated through standard HTML.
    This context-sensitive mechanism is also used to launch on-line help (without
    the task orientation) at the user's request.
    One of the benefits of this approach is that we can put the message passing
    into a generic framework ancestor without making any application code changes,
    and the OnLineAssistant HTML pages can then be created by non-programmers and
    deployed independently from the application, and HTML can do most of the
    navigation work.
    -DFR

  • Printing html pages from JSF-JSC created pages

    Hi all,
    I have a serious problem with my web apps created with JSC using the JSF components. I designed a page full of tables, developed in vertical for a total of about three or four pages scrolling down.
    When I try to print the generated page from the browser (Firefox, Safari, Explorer) I always get just the first 'page', the entire webpage generated by my application is not saw as a long page, but just 'cutted' out.
    It seems like all JSF components have some problems being like layers or so...any hint? How can I print my html page generated by my web app?
    G

    Perhaps viewing the source of the generated html page will give you a clue to what's wrong..

  • How to Create HTML page from portal

    Hi
    I have a requirement to create html pages from portal.
    There will be an author who can choose document type as HTML
    and then he will write html codes on saving it should be saved as HTML doc in UCM.
    and publisher should be able to display it on portal(may be using content presenter).
    please help me in this. I know there is rich text editor task flow which can save a doc as doc file.
    and in spaces we have option of creating HTLM file but i don't know how to do it for my portal.
    Thanks

    A better way would be to create the page using approach in this blog:
    https://blogs.oracle.com/ATEAM_WEBCENTER/entry/content_presenter_cmis_complete
    That way the page can be edited inline and the html author need not upload html to ucm everytime.

  • Get parameters from html page from java application standalone ...

    Hi all,
    I work in one solution that i have values in Html Page and i want get the parameters values from html and cath they in java application standalone.
    The Html page is in same host than de java application.
    I want know if this is possible. I wnat know if without HttpServlet i can get the parameters from Html Page pure.
    Thanks in Advance for the ideas,
    Antonio.

    Hi Abdul,
    The problem is my client want one solution where i have one page simple page Html and one application java standalone. This application runs in one machine, but we don't have web server. So the question is: Is possible without web server i can get the parameters values that is inside the html page from java application. I remember you that the application java is one .jar that run's with one command line from crontab "java -jar teste.jar".

  • I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    I cannot open Pages from the app or from a saved document on the desk top.  I get an error: "The application Pages cannot be opened  -1712"  Any suggestions?

    The following previous discussion has a solution that worked for a variety of people with the -1712 error on a variety of applications and may help: The application Safari can't be opened -1712

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • Reading data in HTML page from a  Java Stand alone application

    hey,
    i ve read bout how to read html pages using the URL and how to parse them using HTMLeditorkit and stuff.. but i want to read the values tht are updated in the HTML page dynamically and then use them in my java application ... is tht possible .. then i also want to check the click here links and the working of them ...
    please reply ...

    well .. i did tht too ..
    public void handleStartTag(HTML.Tag tag,
       MutableAttributeSet attributes, int position) {
              try{
                   //if (tag==HTML.Tag.A)
                   System.out.println("tagged");
                   this.writeAttributes(attributes);
                   if(tag==HTML.Tag.INPUT)
                   System.out.println("input found");
              catch(IOException ex){
                   System.err.println(ex);
         }the <A> tag thing is working but it is not recognizing the <input> tag ....
    ne ideas why this is not working ...

Maybe you are looking for

  • DVI to HDMI via adapter: video hiccups

    I have a 13" MacBook (Late 2007). I connected a Belkin mini-DVI-to-HDMI cable to it, which I plugged into my Sony 32" LCD TV. When I play back TV shows that I have purchased in iTunes, the video hiccups -- that is, pauses for a fraction of a second -

  • Font problem in xfce

    Hi All, I'm having a problem with fonts in certain applications in XFCE (doesn't happen when I use openbox).   For example, here's what chrome looks like: I'm sure it's something simple like a missing font, but I'm not entirely sure how to fix it. Ha

  • Error 500 and Java Error after BOBJ 4.0 installation

    Hi, I have installed BOBJ 4.0 and I have also installed SP 1 and SP 2 with FP up to 10. Now when I tried to launch CMC or BI Launch Pad I get following error. Following error started appearing after unsuccessful single sign on and SP updates. http st

  • The music in slideshow quit working

    We ran about three slidesshows with music and now it won't play the music with the slideshow

  • Missing photos after migration from iPhoto to Photos

    Last week I upgraded my desktop MacPro from OS 10.9.latest to OS 10.10.3. When I first opened Photos, it did the migration from iPhotos without apparent problem. But I have noticed that many (hundreds at least) of the photos from my pre-migration iPh