You Are Here:

Community: Developer Discussion Boards

#1 Old Smile HTML inside a MIDlet - 2009-02-17, 07:23

Join Date: Aug 2008
Posts: 197
Location: Sri Lanka, Colombo
Send a message via Skype™ to HasithaRandika
HasithaRandika
Offline
Regular Contributor
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
Reply With Quote

#2 Old Re: HTML inside a MIDlet - 2009-02-17, 07:55

Join Date: Mar 2003
Posts: 6,215
petrib
Offline
Forum Nokia Champion
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.
Reply With Quote

#3 Old Re: HTML inside a MIDlet - 2009-02-17, 07:58

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
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


MobiQuil.com
An initiative by Developers for Developers.
http://www.mobiquil.com - Alpha - Launched.
Reply With Quote

#4 Old Smile Re: HTML inside a MIDlet - 2009-02-17, 08:17

Join Date: Aug 2008
Posts: 197
Location: Sri Lanka, Colombo
Send a message via Skype™ to HasithaRandika
HasithaRandika
Offline
Regular Contributor
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
Reply With Quote

#5 Old HTML inside a MIDlet - 2009-02-17, 11:26

Join Date: Oct 2007
Posts: 21
sasikumar31
Offline
Registered User
Go through it ,you can get a idea.
http://ngphone.com/j2me/opensource/ui.htm
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display HTML from within my J2ME/MIDP MIDlet? hatchlab Mobile Java Tools & SDKs 16 2008-01-13 12:37
Minimizing and Maximizing a Midlet lekkie Mobile Java Networking & Messaging & Security 1 2007-02-20 09:15
'Response Unknown' when downloading midlet Weevil Mobile Java General 3 2004-05-30 18:01
How to create two instances of midlet marquito99 Mobile Java General 0 2004-04-30 02:33
launching MIDlet from another MIDlet on 6310i problem niko86 Mobile Java General 1 2002-08-07 10:38

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia