Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor HasithaRandika's Avatar
    Join Date
    Aug 2008
    Location
    Sri Lanka, Colombo
    Posts
    204
    hi nokia experts,

    i want to insert html inside a MIDlet is that possible to do??????

    if it's possible how can i do it????

    this is how you have done it for mobile phones aren't u?????

    regards,
    Randika

  2. #2
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,430
    If you want a MIDlet to show/render HTML within the MIDlet, you need to write your own HTML parser, renderer. In other words, you need to write your own browser in Java (there's no browser component part of J2ME).

    A MIDlet can also launch the device's default web/WAP browser via platformRequest(), but I suspect that's not what you want.

  3. #3
    Nokia Developer Champion balagopalks's Avatar
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,427
    You can bundle an HTML file inside a Jar file and you can read it. To render it with MIDP methods, its not possible, but what you can do is, you can write your own implementation for HTML parsing and display content yourself.

    If you want to display an HTML file from a server, you can use the browser to display the HTML file from a Web server using platformRequest().

    Regards
    Gopal
    Twitter : @balagopalks
    Linkedin : @balagopalks

  4. #4
    Regular Contributor HasithaRandika's Avatar
    Join Date
    Aug 2008
    Location
    Sri Lanka, Colombo
    Posts
    204
    thank you guys for your replies,,

    so i that case assume that i have a MIDlet which has a Form

    the form content should be a web page.

    so according to ur replies i need to have a way to parse html am i right??

    can i use something like KXML?????

    is this something to do with .mobi???

    hey experts what do u prefer for a attrctive GUI???
    regrads,
    Randika

  5. #5
    Registered User sasikumar31's Avatar
    Join Date
    Oct 2007
    Posts
    25
    Go through it ,you can get a idea.
    http://ngphone.com/j2me/opensource/ui.htm

Similar Threads

  1. How to display HTML from within my J2ME/MIDP MIDlet?
    By hatchlab in forum Mobile Java Tools & SDKs
    Replies: 17
    Last Post: 2011-07-18, 09:15
  2. Minimizing and Maximizing a Midlet
    By lekkie in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-02-20, 08:15
  3. 'Response Unknown' when downloading midlet
    By Weevil in forum Mobile Java General
    Replies: 3
    Last Post: 2004-05-30, 17:01
  4. How to create two instances of midlet
    By marquito99 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-30, 01:33
  5. launching MIDlet from another MIDlet on 6310i problem
    By niko86 in forum Mobile Java General
    Replies: 1
    Last Post: 2002-08-07, 09:38

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