V12.7b6
I was hoping to release it as stable… but Android development is becoming increasingly difficult.
I am currently struggling with the support of Android 6, which is everything but trivial. Support for floating desktop should work again on 6 but the new permission handling is giving me headaches.
As of today, Lightning will display some notice about permission, try to avoid crashes, and that’s all. Nothing more. I will not wade throughout the code and add permission checks and request their activation everywhere the app needs to do something, this is just beyond me (at the moment). And I don’t even speak of scripts…
OK, end of my moaning 😉
What it means exactly is that the app may not behave as expected or it may behave strangely: in this case please have a look at permissions. I’ll try to improve things over time.
This beta doesn’t contain sensitive modifications, but it is the first to be built using the new SDK. Differences in behavior can be expected, including on version before Android 6.
For these reasons I am once again asking your help, dear Beta Testers, to check for possible regressions.
Full ChangeLog can be found here: http://www.lightninglauncher.com/wordpress/change-log/ ‎
]]>
< ![CDATA[
I will testing everyrhing… , but i have only kitkat…
]]>
< ![CDATA[
Right now i got b6
]]>
< ![CDATA[
Thank you for moaning (with description included) 😀
wish the best for you and LLX, I hope LLX will be compatible with all android version
]]>
< ![CDATA[
What are your problems with permission handling?
I recently updated the repostiory importer for that, so maybe I can help?
]]>
< ![CDATA[
Thanks for your help Lukas Morawietz The issue is to check whether the permission is granted or not. By default they are turned off on Android 6 (at least this is what I see on the emulator). The consequence is that things that used to work previously may not work anymore. For instance creating backups doesn’t work right after you install the app on 6.
The app should check that READ and WRITE storage permissions are enabled before to attempt to create an archive (or even before to list the existing archives), ask the user to grant the permission, then back to the application continue the task that was initiated. This is rather easy for simple tasks. This is less easy to parse the whole code for permission needs : for instance picking a font needs access to storage too,  exporting a temp script file to be read by an external editor too, picking an external image, etc. And above all it is time consuming. Some permissions are not even listed in the Android permission screen, you need to write custom code for this (ie: the floating desktop).
]]>
< ![CDATA[
Ah yes, SYSTEM_ALERT_WINDOW. This is really fucked up. Apparently google doesn’t want apps to use this anymore. Helpful here is Settings.canDrawOverlays and Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION).
Regarding code parsing: I’d help you with that too, but I’d need the code for that.
It seems like you are already beyond the step in which I could’ve helped :/
]]>
< ![CDATA[
Danbar Danbar I am 100% sure you are the one who discovered the most bugs in this app 😉
Lukas Morawietz SYSTEM_ALERT_WINDOW is meant for system windows, using it is a bit hackish, especially since the app uses non public APIs to create the window… But that’s so useful…
]]>
< ![CDATA[
Pierre Hébert​​ Can’t app check for permissions on start and then use it (this check) later when running?
]]>
< ![CDATA[
Viggo Jorgen
It is possible to ask on startup, but not desireable, as it defeats the purpose of runtime permissions. Additionally, you’d still have to check for them when you use them, because users can revoke them at any time.
]]>
< ![CDATA[
Lukas Morawietz Damn, Google really screwed this one up then.
]]>
< ![CDATA[
Viggo Jorgen Oh it’s nice for the user, just painful for developers.
]]>
< ![CDATA[
Lukas Morawietz IMO all should happen “behind the scenes”. System should react on exceptions thrown when permission isn’t granted and revert app back to state just before it was requested. All what dev should do is write in manifest what permission  is needed.
In Android everything is overcomplicated – you basically write app in your app to do something often trivial. At least in this area WP does things much betterÂ
]]>
< ![CDATA[
In the past Android was way less complicated, it was a pleasure to code, really. I wouldn’t say it is bad now, but nowadays things like fragments are IMHO not very fun, to say the least.
]]>
< ![CDATA[
B6, i mean, i doing everything (new install, set lock screen, set floating desktop, create new backup and template, restore both, add/delete desktop/folder/panel/change language, set as default launcher, from app drawer uninstall some app, try set different option for statusbar, try call by shortut, try add some dynamic text, maybe something more). I dont have any problem with permission on kitkat 4.4.2, almost pure android (i use gravitybox from xposed installer).
]]>
< ![CDATA[
Danbar Danbar​ good to know, thanks for your valuable help !
]]>
< ![CDATA[
See I don’t get why people will take a work of art and turn it into chaos…if it ain’t broke don’t fix it I say, and imo when Google jumped to lollipop they screwed up. Jb & kk were just getting very stable then the whole art disaster ruined a lot of good apps when dalvik was stable & comfortable and for what? Where’s the big improvement? Then they are dropping marshmallow when lollipop is nowhere near any stability kk has. I still love Android and I’ll never leave it but I just don’t see the reasoning ya know. I just got my tablet running and downgraded to kk and lightning runs way smoother. I also have a phone I can flash m on to test also. I’ve got roms from kk up on it so Pierre Hébert​​ thanks for giving me something to do Bro lol😂😉
]]>
< ![CDATA[
The reason why they changed from Dalvik to Art is because Oracle sued Google for the lines of code used. So Google created their own running time and decided to change it to avoid any further legal issues.
]]>
< ![CDATA[
There wasn’t a single line of code related to java, but there was plenty of $$$ to do for Oracle…
]]>
< ![CDATA[
Sorry, Pierre, that is incorrect. To be specific, it was 9 lines of code. You can Wikepedia it if you doubt.
]]>
< ![CDATA[
you mean this:Â http://www.xda-developers.com/update-on-the-oracle-versus-google-trial/ ?
]]>
< ![CDATA[
Oh now that is interesting, well there’s always some fine print lol
]]>
< ![CDATA[
Pierre Hébert​ you will not publish stable 12.7 and prepaire 12.8? Or will stable 12.7 and after will 12.8 beta?
]]>
< ![CDATA[
Yes, 12.7 first (soon), then 12.8 beta. I am working on both versions at the same time.
]]>