Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
billard
Posts: 4
Registered: ‎02-12-2009
My Device: Not Specified

How to get and set html for blackberry browser?

How to get and set html for blackberry browser?

Help me please.

Please use plain text.
Guru I
Xandrex
Posts: 18,379
Registered: ‎07-29-2008
My Device: Z10 10.1.0.2312 / Playbook 2.1 / 8900 5.0
My Carrier: Vodafone France (SFR) & B&You

Re: How to get and set html for blackberry browser?

hello,

I do not understand your question. Can you explain what the problem is and how you want to solve it?



The search box on top-right of this page is your true friend, and the public Knowledge Base too:
Please use plain text.
New Developer
billard
Posts: 4
Registered: ‎02-12-2009
My Device: Not Specified

Re: How to get and set html for blackberry browser?

I'm from Vietnam. All web pages of Vietnam use Precompound Unicode. But Blackberry support Composite Unicode only. I want to convert all response (HTML) from Precompound Unicode to Composite Unicode before display on BlackBerry Browser. Can you help me?
Please use plain text.
Guru I
Xandrex
Posts: 18,379
Registered: ‎07-29-2008
My Device: Z10 10.1.0.2312 / Playbook 2.1 / 8900 5.0
My Carrier: Vodafone France (SFR) & B&You

Re: How to get and set html for blackberry browser?

do I understand correctly your need ?

you want to create a Java application on your Blackberry device that will enable you to :
send HTTP requests
receive HTTP replies
modify the replies to change the char encoding
display the result



The search box on top-right of this page is your true friend, and the public Knowledge Base too:
Please use plain text.
New Developer
billard
Posts: 4
Registered: ‎02-12-2009
My Device: Not Specified

Re: How to get and set html for blackberry browser?

Yes. Is it possible?

Please use plain text.
Administrator
MSohm
Posts: 14,268
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: How to get and set html for blackberry browser?

You could use an HTTP filter for this.  Your application could intercept requests for specific servers, download and convert the content and then supply it to the browser.  Please have a look at the httpfilterdemo included with the BlackBerry JDE for an example.  You can download the BlackBerry JDE from here:  http://na.blackberry.com/eng/developers/javaappdev/devtools.jsp
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.