How to access the appdrawer by using its id of 99?
How to access the appdrawer by using its id of 99?
Goal is to style the appdrawer without opening it.
Access is a bit harder due to recent screen API changes. It seems.
Pierre Hébert
]]>
< ![CDATA[
It’s not only a bit harder, it’s also broken !
Using the new API, here is how it is supposed to work:
– if the screen is the background screen : works, return a valid container, but views have no size
– if the screen is the app drawer : fully working
– any other screen : return null
Using LL.getContainerById() should take the right switch according to the context (that is: if the app drawer screen is available, use it, otherwise use the background screen)
At the moment it doesn’t work but this will be repaired for the next beta.
]]>
< ![CDATA[
Confirmed working in v14b2.
Cheers.
]]>
< ![CDATA[
Karsten Franke
I love your zune theme ..would u help me with the script..
Every time I reload all apps in your app container it ..launcher crashes ..same goes for recent call and news..actually everything that’s in a folder makes the launcher FC…
Thank you / danke
]]>
< ![CDATA[
Da Germarican
Many thanks.
I am planning to publish an updated version of my template soon with a fix for that issue and some other smaller improvements.
Pierre Hébert
I noticed that LL.getcurrenScript() after a confirm() call crashes LL also in latest release.
I worked around it in my latest template by calling getCurrentscript earlier.
May be you could have a look anyway.
]]>
< ![CDATA[
Awesome ..your theme is the only reason I bought ‘LL..
And maybe u could add a music player to your pins ..instead of your address.. would by nice.. thanks
]]>
< ![CDATA[
Glad to hear.
BTW: You can add your own widgets (incl. A music one depending on which apps you have installed on your device)
Just longpress an empty space in the pin section and hit the + sign in the popup menu.
Feel free to drop me an email for further questions.
]]>
< ![CDATA[
Ok thanks..im totally new to this still have to find out a lot about the functions
]]>
< ![CDATA[
Karsten Franke, indeed this is a known issue with getCurrentScript() in all versions. If it doesn’t crash, it may return a wrong value after an interruption.
]]>
< ![CDATA[
Yeah that what i always get ..errors in line so And so..only reason i nougat the launcher And theme
]]>