web browser

Hello,

I would like to know if there is some kind of J2ME web browser that we could use within a midlet to display data?

Via GOOGLE i found this mini-opera but i am not sure if we can access it via our own midlet , is there an API for mini-opera available?

What i was thinking to do is to have a server sending HTML data as byte through a socket, the mobile device display the data according to the HTML code.

Mini-opera is not using directly HTML i guess but some proprietary language. How hard would it be to parse HTML on midlet side and draw in a Canvas accordingly ? Is there someone who did some work on this area?

thanks

seb

[674 byte] By [sebvena] at [2007-11-27 6:08:27]
# 1

Hi sebven.

I don't understand very well what you want to do, but I'm creating a similar project where I need to call the browser on the mobile device.

In your midlet you can use the service platformRequest to call the browser in the mobile device.

See this: http://developers.sun.com/techtopics/mobility/midp/ttips/platformRequest/index.html

Hope I helped.

pedro.gmra at 2007-7-12 17:10:47 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

hi thanks for your reply,

What i want to do is something like this.

My midlet send a tag (for example a string) to my server. The server returns the web page corresponding for that tag. Now instead of parsing the received code and display that in forms/canvas i was wondering of i could display the code via a browser ?

thanks

seb

sebvena at 2007-7-12 17:10:47 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
simple, just make your server return only the url link and then use that link on the platform request method
jonney69a at 2007-7-12 17:10:47 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

yes thanks. i thought of doing that.

But I read that it might shutdown my midlet on some platforms.

When the browser is started , does it put my midlet in pause state otherwise?

Or is it possible to have the midlet running in background? I want to be able to interact with the midlet even if the browser is running

cheers

seb

sebvena at 2007-7-12 17:10:47 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
That is not possible.A browser is for browsing websites, not for interacting with other applications.
deepspacea at 2007-7-12 17:10:47 > top of Java-index,Java Mobility Forums,Java ME Technologies...