i already connect to internet.

but if im trying to access the site, it only gives me the code (page source) of it.

why is that?

Recommended Answers

All 4 Replies

HttpConnection is a request-response protocol. It will help you send and receive data, but not to re-build accessed web page on your device. To build and application that will able to interpret web coding you would have to build mobile web browser such as Opera.
However if you just wish to upload/download or send/receive data from web server, perhaps also link to database, HttpConnection is what you need to use

do you knwo any site regarding my problem sir?

and i also want to ask

how to parse html in j2me?

No, I do not know any resources and you unlikely to find any. As in regarding of parsing html you more then welcome to go through W3C documentation and figure for your self how to developed new mobile browser

thank you sir. im gonna try it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.