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

Web and WebWorks Development

Reply
New Contributor
Posts: 3
Registered: ‎07-30-2010
My Device: Not Specified

Playbook javascript extension not work

I refer to Writing JavaScript Extensions to implement extension, it can work in smartphone, but in playbook will catch exception.

 

ReferenceError: Can't find variable: sample

 

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Playbook javascript extension not work

HI deanlin168,

 

JavaScript extensions written in Java only work on the BlackBery Smarphone.  The PlayBook does not have a JVM to run Java.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Contributor
Posts: 3
Registered: ‎07-30-2010
My Device: Not Specified

Re: Playbook javascript extension not work

[ Edited ]
 
New Contributor
Posts: 3
Registered: ‎07-30-2010
My Device: Not Specified

Re: Playbook javascript extension not work

which means.. it is impossible to write a java application for playbook, is'nt it?
Highlighted
Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Playbook javascript extension not work

Correct.. at the moment you cannot develop a Java application for PlayBook.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter