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
New Developer
pururaj20
Posts: 2
Registered: ‎06-17-2009
My Device: Not Specified
Accepted Solution

Creating Help files

Hi,

i want to creat help files for my java application.

At the first plcae i want to create a help like the oneshown in blackberry.

But if its not possible at all or too complicated then iwould like to show it in browser. I was able to show it in the browser but the links don't work.

 

Any help would be appreciated.

Thanks

Puru

Developer
almeida
Posts: 91
Registered: ‎02-04-2009
My Device: Not Specified

Re: Creating Help files

I use browser-based help for my application.  I have a bunch of HTML files included as resources in my module.  I use something similar to the following code to load the index page:

 

Browser.getDefaultSession().displayPage("cod://MyApplication/index.html");

 

 In index.html, I can link to the other pages with relative URLs:

 

<html>

<head>

<title>My Help</title>

</head>

<body>

<h1>My Help</h1>

<p>Click <a href="more.html">here</a> for more.</p>

</body>

</html>

 

Hope that helps.
Developer
Posts: 432
Registered: ‎02-23-2009
My Device: Not Specified

Re: Creating Help files

You can show help in your app just like default blackberry help. Make new help screen and push this screen thru any button or menu option. place all the text (help content) on this screen.

 

And if you want to show it on Browser then you save the .html file in your app resources as suggested in above post OR you can just pass a URL (your Help webpage) to browserby this way you will not need to increase your resource size.

 


Press the kudos button to thank the user who helped you.

If your problem was get solved then please mark the thread as "Accepted solution".

 

Deepesh Gupta
Super Contributor
pp
Posts: 278
Registered: ‎11-04-2010
My Device: 4.5 and above

Re: Creating Help files

hi, am new to bb.am also having the same problem.

i also want to create help file for our application.

i used getDefaultSession(),  it worked fine.but we dnt get the menu items tat one cam view in builtin help menu..

we dnt have find, next etc...

 

so am using browserFieldDemo. but am getting no stack trace.

pls help me for this.