04-15-2010 02:52 PM
Have a look at BrowserField in OS 5.0. You can implement something similar in pre OS 5.0.
There is a video in it here:
I have never used this except as a display mechanism for information, and data collected from the Web, so I don't know if you can collect input data into your program.
04-15-2010 03:59 PM
I would like to create my application ui with html. And then I would like to be able to respond to the clicks by the user via my application.
I am not interested in rendering real web pages.
I just watched the video but it was not enough. Could you point me to any code that does something similar to what I am describing?
I am also targeting earlier os'es than 5.0. I would appreciate any suggestions on how to implement something similar to browser field 2.
04-15-2010 10:14 PM
You can use a local html file. You could find a sample here: http://docs.blackberry.com/en/developers/deliverab
But it definitely need 5.0 OS.
04-15-2010 11:12 PM
I think you could use the Scriptable class. I've read it several times, but haven't tried it though.
This project create a BB widget, that have a html button that would vibrate the device when clicked.
AFAIK, we could use this through Scriptable class on the BrowserField. It is explained in the video as mentioned by Peter.