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
Contributor
guru01
Posts: 21
Registered: ‎12-31-2012
My Device: 8520
My Carrier: GLO

WEBWORK API FOR DEVICE SPECIFIC FUNCTIONS

[ Edited ]

Hello,

I will like to know if there is any WebWorks BB OS API for device specific functions.

E.g.: An API that that power off device, or restart a device.

 

Thank you.

Please use plain text.
Developer
nathanpc
Posts: 134
Registered: ‎05-19-2012
My Device: Torch 9800, PlayBook 64GB, Dev Alpha
My Carrier: VIVO Brazil

Re: WEBWORK API FOR DEVICE SPECIFIC FUNCTIONS

The default WebWorks API doesn't support the kind of things you want, but you can get more advanced by creating extensions.

If I helped you please click the "Like" button to support my work.
My apps: CherryNotes - Bookmarked - Requests
Social Me: about.me - Twitter
Please use plain text.
Contributor
guru01
Posts: 21
Registered: ‎12-31-2012
My Device: 8520
My Carrier: GLO

Re: WEBWORK API FOR DEVICE SPECIFIC FUNCTIONS

@nathanpc

I assume if i have to develop an ext to achieve this, i will need to create a function that can perform a restart to the device.

Can i get a documentation to a core function or something that is tied to the effect.

Please use plain text.
Developer
nathanpc
Posts: 134
Registered: ‎05-19-2012
My Device: Torch 9800, PlayBook 64GB, Dev Alpha
My Carrier: VIVO Brazil

Re: WEBWORK API FOR DEVICE SPECIFIC FUNCTIONS

You can check out the BlackBerry Java Documentation for the APIs you want to use.

If I helped you please click the "Like" button to support my work.
My apps: CherryNotes - Bookmarked - Requests
Social Me: about.me - Twitter
Please use plain text.
Contributor
guru01
Posts: 21
Registered: ‎12-31-2012
My Device: 8520
My Carrier: GLO

Re: WEBWORK API FOR DEVICE SPECIFIC FUNCTIONS

@nathanpc Thanks a million that helps alot. But, right now am stock because i don't know how to code in Java. Can i get a tutorial or documentation that can help me connect java script with the Java API. Thank you.
Please use plain text.