Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread James Mugford
Thanks for clearing this Marc. Best, James On 29/09/13 14:52, Marc Deslauriers wrote: On 13-09-29 06:28 AM, James Mugford wrote: Wow, as easy as that? Would there not be any security restrictions or hoops to jump through? The application confinement won't allow applications to take screens

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread Omer Akram
You could also use this small tool. http://ubuntuone.com/7KQ1GdgJQjglgMORs6YJuH Just copy it to /usr/local/bin/ on your system and run it globally while the phone is connected with the cable. On Sun, Sep 29, 2013 at 11:46 PM, Khairul Aizat Kamarudzzaman < fen...@ubuntu.com> wrote: > screenshot

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread Khairul Aizat Kamarudzzaman
thanks for that !!! On Mon, Sep 30, 2013 at 2:54 AM, Fabian Herb wrote: > > Am 29.09.2013 um 20:46 schrieb Khairul Aizat Kamarudzzaman < > fen...@ubuntu.com>: > > > screenshot also needed for purpose of test , as for now .. i need to use > another camera phone to screenshot errors, bugs fixed a

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread Fabian Herb
Am 29.09.2013 um 20:46 schrieb Khairul Aizat Kamarudzzaman : > screenshot also needed for purpose of test , as for now .. i need to use > another camera phone to screenshot errors, bugs fixed and etc .. :) Alternatively you can ssh into your phone and type: /system/bin/screencap -p filename.

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread Khairul Aizat Kamarudzzaman
screenshot also needed for purpose of test , as for now .. i need to use another camera phone to screenshot errors, bugs fixed and etc .. :) On Mon, Sep 30, 2013 at 1:12 AM, Roman Shchekin wrote: > On MeeGo even third party app can take a screenshot :) > > > > 2013/9/29 Shuduo Sang > >> On Mon

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread Roman Shchekin
On MeeGo even third party app can take a screenshot :) 2013/9/29 Shuduo Sang > On Mon, Sep 30, 2013 at 12:36 AM, Marc Deslauriers > wrote: > > On 13-09-29 12:27 PM, Shuduo Sang wrote: > >> Hmm, both of iOS and Android allow user to take screenshot with a > >> global hot key. This function be

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread Shuduo Sang
On Mon, Sep 30, 2013 at 12:36 AM, Marc Deslauriers wrote: > On 13-09-29 12:27 PM, Shuduo Sang wrote: >> Hmm, both of iOS and Android allow user to take screenshot with a >> global hot key. This function be used very frequently to quick share >> something to friend, at least to me. > > Users will b

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread Marc Deslauriers
On 13-09-29 12:27 PM, Shuduo Sang wrote: > Hmm, both of iOS and Android allow user to take screenshot with a > global hot key. This function be used very frequently to quick share > something to friend, at least to me. Users will be allowed to take screenshots, as it will be done by a trusted appl

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread Shuduo Sang
Hmm, both of iOS and Android allow user to take screenshot with a global hot key. This function be used very frequently to quick share something to friend, at least to me. On Sun, Sep 29, 2013 at 9:52 PM, Marc Deslauriers wrote: > On 13-09-29 06:28 AM, James Mugford wrote: >> Wow, as easy as that

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread Marc Deslauriers
On 13-09-29 06:28 AM, James Mugford wrote: > Wow, as easy as that? > > Would there not be any security restrictions or hoops to jump through? > The application confinement won't allow applications to take screenshots of any window they don't own, so this won't be possible for security reasons.

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread James Mugford
Wow, as easy as that? Would there not be any security restrictions or hoops to jump through? Best, James On 29/09/13 10:55, mrqt...@gmail.com wrote: qt take screenshot -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-29 Thread mrqtros
Use Qt methods instead ;) Just try find "qt take screenshot" ;) Br, Roman 29.09.13 4:16 Fabian Herb написал(а): Hello, since Ubuntu Touch uses the same kernel as Android, this would be technically possible with the exact same code. Actually, /dev/graphics/fb0 is present on my Nexus 4. How

Re: [Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-28 Thread Fabian Herb
Hello, since Ubuntu Touch uses the same kernel as Android, this would be technically possible with the exact same code. Actually, /dev/graphics/fb0 is present on my Nexus 4. However if this is accessible to ordinary apps then I would consider this a security flaw that needs to be fixed. I don'

[Ubuntu-phone] Is pragmatically taking a screenshot possible?

2013-09-28 Thread James Mugford
Hi folks, Is it technically possible to create an app that can take a screenshot of the home screen or device viewport? It is for the purpose of creating something technologically similar to a water screen saver. It is possible in rooted Android phones, via the NDK, with /dev/graphics/f