← Back to team overview

ubuntu-phone team mailing list archive

Re: Is pragmatically taking a screenshot possible?

 

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.


However if this is accessible to ordinary apps then I would consider this a security flaw that needs to be fixed. I don't want apps to send screenshots of what I'm doing to someone on the net.


Best regards,
Fabian


Am 28.09.2013 um 23:08 schrieb James Mugford <james@xxxxxxxxxxxxxxx>:


> 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/fb0 .
>
> Tutorial here: http://www.pocketmagic.net/2010/11/android-native-screen-capture-application-using-the-framebuffer/#.UkVXCniZilM
>
> Any help appreciated.
>
> --
> Mailing list: http://www.pocketmagic.net/2010/11/android-native-screen-capture-application-using-the-framebuffer/#.UkVXCniZilM
> Post to : james@xxxxxxxxxxxxxxx
> Unsubscribe : http://www.pocketmagic.net/2010/11/android-native-screen-capture-application-using-the-framebuffer/#.UkVXCniZilM
> More help : http://www.pocketmagic.net/2010/11/android-native-screen-capture-application-using-the-framebuffer/#.UkVXCniZilM





Follow ups

References