08-03-2010 07:37 AM
I am new to BB development.But have checked most of sample apps in BB.
I want to have a " two way communication between my application and the web content".
ex-- in my index.html
i will have an icon and on click of that i would wan to call "loadFromJavaclass" method, which i would write in my class which extends Uiapplication class.
Is this possible?
08-25-2010 11:43 PM
I think, It is Possible with servlets.
and U have to check that servlets is possible or not in BB.
Press Kudoes and Accept as solution Button, If u got Answer.
08-25-2010 11:47 PM
You can definitly do that with Widgets. RIM has some tutorials on how to write your own java libraries and packages them so they can be used by Widgets, thus allowing you to start a UIApplication or something similar.
08-26-2010 06:37 AM
Well sure with your own code you can execute arbitrary code. We are doing this, in fact
you can write an entire UI in html if you like with "custom extenstions" The latest browser
seems to ave more hooks that the older ones, but you can probably just designate
a fake host name for your arbitrary code and intercept connections to that fake destionation.
08-26-2010 12:14 PM
Tutorial and source:
08-26-2010 02:27 PM
I remember looking at those when they first came out and they did seem quite
powerful but we already had a different approach but I can't remember specifically
if there were any obvious limitations to what you could do with widgets vs a custom