Developers, please create new permission package with

Developers, please create new permission package with

android.permisssion.ACCESS_FINE_LOCATION

and maybe it is also worth adding

android.permisssion.ACCESS_COARSE_LOCATION

Thanks!

]]>
« (Previous Post)
(Next Post) »

23 Commentsto Developers, please create new permission package with

  1. Anonymous says:

    < ![CDATA[

    As these are really closely related, I think it doesn’t make much sense to have two packages.



    Afaik FINE supersedes COARSE anyway, so the first is enough for anything.


    If that is not true, I think one package with both of them would be sufficient.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Lukas Morawietz I think it makes sense to add both into package with “location” in its name;



    Found info that FINE includes COARSE here: http://stackoverflow.com/questions/15310742/if-i-have-access-fine-location-already-can-i-omit-access-coarse-location



    but still, including both will not be any worse.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    “Note: If you are using both NETWORK_PROVIDER and GPS_PROVIDER, then you need to request only the ACCESS_FINE_LOCATION permission, because it includes permission for both providers. (Permission for ACCESS_COARSE_LOCATION includes permission only for NETWORK_PROVIDER.)”


    -source: https://developer.android.com/guide/topics/location/strategies.html



    fine is enough. No need to request coarse too.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    With exposed and Lukas’ module Lightning Permission , all is fine. Root your device if possible. Dmitry Avsioukov​

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Bruno-Isa LAMOUR-ARNOULD Actually I have Xposed framework installed. Could you please point me to the module you mentioned, because I couldn’t find it in Xposed repository

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Dmitry Avsioukov check on Playstore


    Lightning Permission

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Lukas Morawietz Yep, official Android documentation is an ultimate source. So only FINE is needed then.

    ]]>

  8. Anonymous says:

    < ![CDATA[

    https://play.google.com/store/apps/details?id=com.faendir.lightning_launcher.permission_manager It is not in the Xposed repository. Unless the repository gets categories or useful filter, I won’t add it there. I think it is overfilled with app specific modules anyway, no need to add more to it.

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Lukas Morawietz Just tried this module on my emulator (I use Genymotion). It doesn’t work – just fails on start. Not tried on real device yet, as I only have one Android device – the Head Unit in my car 🙂

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Dmitry Avsioukov


    what do you mean it fails? It crashes? Does nothing? Shows a warning? Produces logs?

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Dmitry Avsioukov try on your real device. Fine here on my Note2 N7100

    ]]>

  12. Anonymous says:

    < ![CDATA[

    Lukas Morawietz from logcat:



    06-11 22:16:18.304 E/AndroidRuntime(16718): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.faendir.lightning_launcher.permission_manager/com.faendir.lightning_launcher.permission_manager.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar



    06-11 22:16:18.304 E/AndroidRuntime(16718): at com.faendir.lightning_launcher.permission_manager.MainActivity.setupLayout(MainActivity.java:158)

    ]]>

  13. Anonymous says:

    < ![CDATA[

    Bruno-Isa LAMOUR-ARNOULD even if it will work on my real device, it is not enough to me: I cannot write code in my car on parking, I do it at home and smoke-test in emulator; once it looks good, only then I go to my car and live-test it there; so I definitely need GPS permissions for LLX in my emulator.

    ]]>

  14. Anonymous says:

    < ![CDATA[

    Dmitry Avsioukov


     this doesn’t look like an error in my app. The android runtime fails to load a resource. I recommend a fresh install. If that doesn’t work try a different emulator. I test in genymotion too and it runs fine.

    ]]>

  15. Anonymous says:

    < ![CDATA[

    Lukas Morawietz I see. I have a KK 4.4.4 (API level 19), I guess that problem is there.



    I see that in res, you have layout, layout-v14, and layout-v21;


    android.support.v7.widget.Toolbar which is mentioned in error occurs in abc_screen_toolbar.xml which exists in layout and layout-v21only.

    ]]>

  16. Anonymous says:

    < ![CDATA[

    Dmitry Avsioukov


    It should work on any device above API 11.

    ]]>

  17. Anonymous says:

    < ![CDATA[

    I’ll go check in car

    ]]>

  18. Anonymous says:

    < ![CDATA[

    Lukas Morawietz Nope, it doesn’t work in my real device either (API 19). The same error about inflating a toolbar 🙁

    ]]>

  19. Anonymous says:

    < ![CDATA[

    Dmitry Avsioukov


    there is an update on the way. You might want to try that again. However I have no idea what is broken and thus haven’t fixed anything. I’m currently setting up an Xposed 4.4. emulator for testing.

    ]]>

  20. Anonymous says:

    < ![CDATA[

    Lukas Morawietz You’re great! So fast response! And v1.6 is working for me (in emulator at least). Will go and check in car, but I’m almost sure it’ll work.


    UPD: Yep, it works! Thank you again!

    ]]>

  21. Anonymous says:

    < ![CDATA[

    Well, I am a bit late and I understand this is not needed anymore but I’ll add these permissions (as two distinct packages for granularity)

    ]]>

  22. Anonymous says:

    < ![CDATA[

    Not late at all. Native permission is better than xposed hook, on my mind. Just because no need to use extra component.

    ]]>

  23. Anonymous says:

    < ![CDATA[

    Two new packages are ready, get them while they are hot!


    http://www.lightninglauncher.com/permissions/

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *