Posted by: pierrot | on January 2, 2016
Posted in | 6 Comments » Tags:
< ![CDATA[
If you use Tasker, maybe you will need plugin AutoAlarm. Read the next alarm and set variable.
]]>
Thank you, Abdullah Alahdal. I was hoping it might be possible just using LL.
I’m not good in that. Maybe TrianguloY can help.
From a dynamic text, no. But there are other ways.
Not tested, but this should work as a binding (in the label property).
LL.bindClass(“android.provider.Settings”);
return Settings.System.getString(cntx.getContentResolver(),Settings.System.NEXT_ALARM_FORMATTED);
The issue as usual is that it is not updated automatically, so you need to force it somehow. The easier way is to add this line at the beginning
//$ll_second
But it will update it every second and maybe a bit battery consuming.
Another way is to manually update it from a button or an event. If you prefer this ask and I’ll provide details.
Thank you very much, TrianguloY, I will try this. Can I assume that $ll_minute would also work to force an update minutes wise instead of each second?
Yes 😉
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
< ![CDATA[
If you use Tasker, maybe you will need plugin AutoAlarm. Read the next alarm and set variable.
]]>
< ![CDATA[
Thank you, Abdullah Alahdal. I was hoping it might be possible just using LL.
]]>
< ![CDATA[
I’m not good in that. Maybe TrianguloY can help.
]]>
< ![CDATA[
From a dynamic text, no. But there are other ways.
Not tested, but this should work as a binding (in the label property).
LL.bindClass(“android.provider.Settings”);
return Settings.System.getString(cntx.getContentResolver(),Settings.System.NEXT_ALARM_FORMATTED);
The issue as usual is that it is not updated automatically, so you need to force it somehow. The easier way is to add this line at the beginning
//$ll_second
But it will update it every second and maybe a bit battery consuming.
Another way is to manually update it from a button or an event. If you prefer this ask and I’ll provide details.
]]>
< ![CDATA[
Thank you very much, TrianguloY, I will try this. Can I assume that $ll_minute would also work to force an update minutes wise instead of each second?
]]>
< ![CDATA[
Yes 😉
]]>