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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Developer
ignites
Posts: 465
Registered: ‎04-11-2012
My Carrier: Rogers

Invoke ScreenShot using Javascript? (PlayBook)

I was wondering if it was possible to invoke a screen shot using javascript for PB OS. Thanks!


Developer for easyDial for BlackBerry Bold & inLink for BlackBerry PlayBook
Find me online via twitter, or on the techfruits.com webpage. Please hit the like button below if what I said helped!
Please use plain text.
Developer
Rcjuk
Posts: 62
Registered: ‎04-29-2010

Re: Invoke ScreenShot using Javascript? (PlayBook)

I don't think so at the minute. I might possibly be available in the future though:

 

https://github.com/blackberry/WebWorks-Community-APIs/issues/43

Please use plain text.
Administrator
astanley
Posts: 1,127
Registered: ‎07-02-2009
My Carrier: Bell

Re: Invoke ScreenShot using Javascript? (PlayBook)

Ryan's correct, this API hasn't been created yet, and I am not entirely sure if the AIR SDK offers the right capabilities to allow developers to build one for PlayBook.  I created an extension like this once upon a time for the J2ME platform.

 

Going forward with BB10, I expect/hope that C/C++ extensions will offer the right APIs needed to produce a screenshot extension.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.

Watch the BlackBerry Jam Americas Sessions.
Please use plain text.
Developer
ignites
Posts: 465
Registered: ‎04-11-2012
My Carrier: Rogers

Re: Invoke ScreenShot using Javascript? (PlayBook)

Then im curious as to how they did it for the TAT scrapbook app :smileywink:


Developer for easyDial for BlackBerry Bold & inLink for BlackBerry PlayBook
Find me online via twitter, or on the techfruits.com webpage. Please hit the like button below if what I said helped!
Please use plain text.
Administrator
astanley
Posts: 1,127
Registered: ‎07-02-2009
My Carrier: Bell

Re: Invoke ScreenShot using Javascript? (PlayBook)

Ah that answers my own question :smileyhappy:

 

The scrapbook app was created using the NDK.  So yes, there will be a solution - I just need to find that source code and we can publish something once we have the 3rd party extension for WebWorks + BlackBerry 10 story ready to go.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.

Watch the BlackBerry Jam Americas Sessions.
Please use plain text.
Developer
Developer
LBP
Posts: 602
Registered: ‎04-29-2011
My Carrier: none

Re: Invoke ScreenShot using Javascript? (PlayBook)


astanley wrote:

Ah that answers my own question :smileyhappy:

 

The scrapbook app was created using the NDK.  So yes, there will be a solution - I just need to find that source code and we can publish something once we have the 3rd party extension for WebWorks + BlackBerry 10 story ready to go.


To give it a push. How is it going? Any news on it? Sounds very interesting to capture screen!!


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Please use plain text.
Administrator
astanley
Posts: 1,127
Registered: ‎07-02-2009
My Carrier: Bell

Re: Invoke ScreenShot using Javascript? (PlayBook)

No progress to report. However I've moved this request into Github

 

https://github.com/blackberry/WebWorks-Community-APIs/issues/90

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.

Watch the BlackBerry Jam Americas Sessions.
Please use plain text.
Developer
Developer
LBP
Posts: 602
Registered: ‎04-29-2011
My Carrier: none

Re: Invoke ScreenShot using Javascript? (PlayBook)

Thx Adam. Hoped to see it for PlayBook and BB10.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Please use plain text.