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

Java Development

Reply
Developer
Developer
Posts: 34
Registered: ‎11-02-2009
My Device: Not Specified

How to read data from css file to string?

[ Edited ]

Hi all,

 

I want to read data from a css file by permanently link (eg. "cod:///[project name]/style.css") then embed that to a html string to display in BrowserSession, but i dont know how to read data from a file in project.

 

Plz give me some code if it is possible.

 

many thanks ~

Highlighted
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: How to read data from css file to string?

Check this KB article.

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To_...


Use Search. "Accept Solution" If the problem is resolved.