TilesOrganization / support

Support pages for Tiles, Android application on Google Play (https://play.google.com/store/apps/details?id=com.rascarlo.quick.settings.tiles).
47 stars 4 forks source link

No screenshot tile even tho permission has been granted #12

Closed RealRexen closed 6 years ago

RealRexen commented 6 years ago

I did adb shell pm grant com.rascarlo.quick.settings.tiles android.permission.WRITE_EXTERNAL_STORAGE in cmd and got no errors but yet I can't add the screenshot tile screenshot_2017-12-04-08-19-26

azumukupoe commented 6 years ago

Your device have to be rooted.

rascarlo commented 6 years ago

@RealRexen as explained in the google play description, your device needs superuser privileges

RealRexen commented 6 years ago

Then why does the wiki not say that plus there was this other app that could add the screenshot tool without me needing root

rascarlo commented 6 years ago

@RealRexen the wiki doesn't say that such command enables the screenshot tile. Also you don't need to use adb to grant external storage permission, because it is listed as a permission that can be requested by the app at runtime. about any other apps doing so, ask to the developers

RealRexen commented 6 years ago

I'll look into the app that I use to use in the past for more quick tiles, this is the app I had used https://play.google.com/store/apps/details?id=it.simonesestito.ntiles but is possible because my phone was made by LG that things could work different? Edit: From what I recall the phone didn't use the systems screenshot command but did something that made its own folder and saved the screenshot there

rascarlo commented 6 years ago

@RealRexen there is no clean way to take a screenshot on non-rooted devices. Developers can use the MediaProjection class (https://developer.android.com/reference/android/media/projection/MediaProjection.html) but it is a gimmick. such class is intended to use for screenrecording and not to screen capture. I have zero wish and interest in such spaghetti code. I assume they are using the class to start a screenrecord and then extract a frame from the video file. That is a gimmick and Tiles doesn't work on gimmicks or hacky code.

RealRexen commented 6 years ago

So android has a built in screen recorder but no easy screenshot tool (without using the hardware buttons)?

rascarlo commented 6 years ago

exactly