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
Posts: 86
Registered: ‎12-06-2012
My Device: Curve 8520
My Carrier: Blackberry store
Accepted Solution

Can i switch screen from inside the extendJavaScript ?

hello friends,

Can i  switch screen  inside the extendJavaScript  by calling push(screen) method in blackberry version 5.0?

I am not able to do that.

can any one help me out ?

 

 

Developer
Posts: 16,676
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Can i switch screen from inside the extendJavaScript ?

in what context are you using javascript?
maybe you want to ask the question on the webworks board? with bb java you usually don't use javascript.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 86
Registered: ‎12-06-2012
My Device: Curve 8520
My Carrier: Blackberry store

Re: Can i switch screen from inside the extendJavaScript ?

i am running my html page on browserfield and on click of that html i am getting back into my native app where i want to switch my screen 

Developer
Posts: 86
Registered: ‎12-06-2012
My Device: Curve 8520
My Carrier: Blackberry store

Re: Can i switch screen from inside the extendJavaScript ?

i have solved it . through invokeLater() function  now i can switch screen properly