make web-browser application in j2me? - java-me

I'm new in j2me,but my recent craze in mobile application,I started from some basic application,I have read j2me complete reference book,I have run my small j2me programs on my cellphone,now I want to make web browser for my cellphone,can you suggest me some examples that will help me making this.

If you can use LWUIT there is HTMLComponent.
The most simple use case of HTMLComponent is rendering rich text:
HTMLComponent htmlC = new HTMLComponent(null);
htmlC.setBodyText("Hello <b>bold text</b>");

Related

How to launch a url in a text box on chrome? c#

I am currently working on a school project using C# which is to develop a basic program of my choice. Currently I'm faced with the problem of trying to implement a function where a URL is imputed into a textbox and a button would open that url in a web browser.
I've been searching for a solution to this problem but haven't found any luck as of yet so I would appreciate any help.
You have not provided enough information. Lets assume you have ASP.NET MVC app.
UI
View
Controller

WebView equivalent in Java ME

I am working on developing a hybrid mobile application, we already have a mobile interface for the application and we used WebView on Android to give users the sense of a stand-alone application.
The question is how can I do that on, let's say, Nokia phones?
-- Thanks;
If you can use LWUIT there is HTMLComponent: http://docs.oracle.com/javame/dev-tools/lwuit-1.4/LWUIT_Developer_Guide_HTML/bbjidhgf.html.
The most simple use case of HTMLComponent is rendering rich text:
HTMLComponent htmlC = new HTMLComponent(null);
htmlC.setBodyText("Hello <b>bold text</b>");

How can I implement/use browser using lwuit in j2me?

I am new to LWUIT, its indeed a great fun to use it so far. Currently I have to use its browser component to send and receive data to and from the server. Can anybody give me an insight about it or a tutorial so that I can get working into it. Thanks in advance.
If you intend to have browser specific functionality like XML, HTML page rendering in your application than read the following articles
HTML Component Writeup In Ofir's Blog
Mobile web and HTML inside JavaME with LWUIT {Suggested by #Baqueta, Thanks}
Download LWUIT 1.5 and check project 'Browser' under folder 'apps' in lwuit root directory.
.
If you intend to implement communication between client and server using LWUIT than refer LWUIT4IO library packaged with LWUIT 1.5 download. Read the following articles to better understand 'LWUIT4IO' the library.
Introducing LWUIT For IO (LWUIT4IO)
Parsing In LWUIT & LWUIT4IO
Logging & Caching In LWUIT4IO
.
If you intend to communicate with the server from mobile client purely for data exchange then have a look at Generic Connection Framework. Here you can find ample information, sample code snippets and get to know various connection methodologies available for JavaME.

J2ME problem in using TWUIK framework

i am developing application in which requirement is to use TWUIK framework in J2ME
i have worked with j2me polish as well as LWUIT but i didnt find any kind of help regarding
TWUIK. Even i am not able to create sample application which simply contain two textbox for login.
core style in TWUIK is to creating every component on canvas
i can create textbox but cant even get focus to that component
Experts any one can guide me???
Thanks in Advance

ZXING and LWUIT

I am using LWUIT to develop ZXING application which stops taking video when video come across with a QR code. I have seen j2me codes for zxing. Unforunately I found out that I cannot use some codes coz Canvas has been used a lot which LWUIT has no canvas.You have sample codes for LWUIT users to stop gettting video when camera saw a QRCode? I will be appreciated if you can provide me a sample code or tips for that. Thank you so much from now.
To integrate zxing you need to connect the LWUIT MediaComponent (or VideoComponent in the latest version) to the zxing framework, I haven't done this myself though:
http://www.java.net/node/706015?force=786
The other approach is to show a native Canvas and go back to LWUIT when you are done by using Form.show() which automatically reinstalls the LWUIT canvas. This has the major drawback of not working on RIM devices.

Resources