| Reply | « Previous Thread | Next Thread » |
|
Join Date: Aug 2008
Posts: 197
Location: Sri Lanka, Colombo
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 |
| HasithaRandika |
| View Public Profile |
| Find all posts by HasithaRandika |
|
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. |
|
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. |
|
Join Date: Aug 2008
Posts: 197
Location: Sri Lanka, Colombo
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 |
| HasithaRandika |
| View Public Profile |
| Find all posts by HasithaRandika |
|
Go through it ,you can get a idea.
http://ngphone.com/j2me/opensource/ui.htm |
| sasikumar31 |
| View Public Profile |
| Find all posts by sasikumar31 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |