简体   繁体   中英

Hyperlink in J2ME

How I create hyperlink in J2ME? After click the string item J2ME has to open website in system web browser.

See the same discussion on nokia forum. It will helps you.

you need to use Platformrequest method to launch link in webBrowser.
Just check string is valid web address or not.

Better create your own Button component by extending Item class and overriding paint to draw text with specified font and underlined and also you can add Action listener to it so that you can perform action usable in forms too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM