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
Developer
Posts: 466
Registered: ‎04-11-2012
My Device: Bold 9900
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!
Developer
Posts: 62
Registered: ‎04-29-2010
My Device: N/A

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

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
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.
Developer
Posts: 466
Registered: ‎04-11-2012
My Device: Bold 9900
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!
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
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.
Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
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.
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
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.
Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
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.