When #AISDAY# is used with "Override Widget Locality", it would report the correct value before midnight local time.
Once the local time reaches 00:00hrs, #AISDAY# would invariably return a "0" regardless of which locality/timezone it is set to.
Clueless said:
When #AISDAY# is used with "Override Widget Locality", it would report the correct value before midnight local time.
Once the local time reaches 00:00hrs, #AISDAY# would invariably return a "0" regardless of which locality/timezone it is set to.
Click to expand...
Click to collapse
Report 1 from sunrise to sunset, and 0 from sunset to sunrise.
I have no problem.
Inviato dal mio GT-N7000 con Tapatalk 2
My local time zone is currently 12 hours ahead of New York.
If I set #AISDAY# widget locality to New York, it would report "1" when the sun rises there, but change to "0" when it's still noon over there and midnight where I am.
Sent from my SM-N9005 using Tapatalk
Clueless said:
My local time zone is currently 12 hours ahead of New York.
If I set #AISDAY# widget locality to New York, it would report "1" when the sun rises there, but change to "0" when it's still noon over there and midnight where I am.
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
You're right.
I tried from Italy to set New York, override aisday module and when in NY there is sunrise the value remain 0.
Inviato dal mio GT-N7000 con Tapatalk 2
I'm seeing this as well. Does anyone have any solution for this?
Related
Hy guys!!
I have my Account of Twitter but when I reload, if I dont have the auttomatic clock, it doesnt work.
The automatic clock doesnt work 4 me cos is one hour wrong
Thx
Salu2
Enviado desde mi HTC Desire usando Tapatalk
Sorry, not sure what you mean
hmm?
which automatic clock?
In settings / time-date / automatic clock
My Twitter Account only works with this setting on, and the problem is when this automatic clock didnt give my real time... It give me one hour more at... Sorry 4 my english...
Thx
How can i fix it? I have a leedroid ROM with sense 2.1.
Enviado desde mi HTC Desire usando Tapatalk
about ur time, remove automatic and set ur correct time zone and hour
about twitter its not related to ur time! why it should work only with automatic time??
andQlimax said:
about ur time, remove automatic and set ur correct time zone and hour
about twitter its not related to ur time! why it should work only with automatic time??
Click to expand...
Click to collapse
i'd have thought that too - network time = automatic time I think
is it the full twitter client? or htc peep? or other?
I have mine on network time to be honest - but I have seen it play up occasionally - one time it thought I was in Boston USA instead of UK and my alarm went off at 11am (instead of 5am)...
Lothaen said:
i'd have thought that too - network time = automatic time I think
is it the full twitter client? or htc peep? or other?
I have mine on network time to be honest - but I have seen it play up occasionally - one time it thought I was in Boston USA instead of UK and my alarm went off at 11am (instead of 5am)...
Click to expand...
Click to collapse
It happens with the Twitter and friendstream widget...
How those widgets works fine without the automátic clock?
Thx
Enviado desde mi HTC Desire usando Tapatalk
Fixed. I just put the time settings not auttomatic, just the greenwich hour and now everything works fine.
Salu2
Enviado desde mi HTC Desire usando Tapatalk
So I am trying to make a simple line of text for my next appointment. The problem so far is I cannot come up with a combination to have it display "Tomorrow" instead of the day of the week when the appointment is the next day. Has anyone accomplished this already?
Sent from my Galaxy Nexus using Tapatalk
AgentSmith said:
So I am trying to make a simple line of text for my next appointment. The problem so far is I cannot come up with a combination to have it display "Tomorrow" instead of the day of the week when the appointment is the next day. Has anyone accomplished this already?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
This is as far as I was able to go in a little tinkering, maybe you can finish it if possible. The problem is that on saturday it will display Sunday, not tomorrow (since it goes back to 1 the next day, Sunday)....
$(#Df#+1)=#C0Sf#?(Tomorrow):#C0SEEE#$
Its basically, IF "day of the week in numbers"+1 = "Day of the week of next appointment" THEN write "Tomorrow" ELSE write "Day of the week of next appointment"
AgentSmith said:
So I am trying to make a simple line of text for my next appointment. The problem so far is I cannot come up with a combination to have it display "Tomorrow" instead of the day of the week when the appointment is the next day. Has anyone accomplished this already?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
While mayhemrules solution might work, it has some flaws. Aside from the problem he mentioned, if you next appointment is on the next weekday of another week, it will still show "Tomorrow". To properly check if your appointment is on the next day, I would propose the following:
Code:
$#C0SddMM#=#W1Dddmm#?Tomorrow:#C0Sdd.mm.#$
This checks, if the day and month of the next appointment coincide with the day and month of the following day. If so, it displays Tomorrow and if not, it outputs the day and month of the appointment.
Thanks! Got it working.
I changed the code slightly to make it work properly:
Code:
$#C0SddMM#=#W1DddMM#?Tomorrow:#C0SEEEE#$
Does Zooper support multiple if's? Would also like to have it display 'today' appointments.
Sent from my Galaxy Nexus using Tapatalk
AgentSmith said:
Thanks! Got it working.
I changed the code slightly to make it work properly:
Code:
$#C0SddMM#=#W1DddMM#?Tomorrow:#C0SEEEE#$
Does Zooper support multiple if's? Would also like to have it display 'today' appointments.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
You can use multiple conditionals but you can't make if/else with them. So if you want to display Today/Tomorrow/Date you would have to do something like this (I didn't test it):
Code:
$#C0SddMM#=#DddMM#?Today$$#C0SddMM#=#W1DddMM#?Tomorrow$$[#C0SddMM#!=#W1DddMM#] && [#C0SddMM#!=#DddMM#]?#C0SEEEE#$
kwerdenker said:
You can use multiple conditionals but you can't make if/else with them. So if you want to display Today/Tomorrow/Date you would have to do something like this (I didn't test it):
Code:
$#C0SddMM#=#DddMM#?Today#$$#C0SddMM#=#W1DddMM#?Tomorrow$$[#C0SddMM#!=#W1DddMM#] && [#C0SddMM#!=#DddMM#]?#C0SEEEE#$
Click to expand...
Click to collapse
It works! Only had to remove the # after 'Today'. I just never thought of combining conditionals like that. I'm not a programmer.
Sent from my Galaxy Nexus using Tapatalk
AgentSmith said:
It works! Only had to remove the # after 'Today'. I just never thought of combining conditionals like that. I'm not a programmer.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Oh yes, sorry. That must have been a leftover from editing everything together. I edited my post so anyone checking this thread will get the correct one
I perfected it now:
Code:
$#C0SddMM#=?No appointments$$#C0SddMM#=#DddMM#?Today #C0SH\:mm#$$#C0SddMM#=#W1DddMM#?Tomorrow #C0SH\:mm#$$[#C0SddMM#!=#W1DddMM#] && [#C0SddMM#!=#DddMM#] && [#C0STd#<6]?#C0SEEEE#$$[#C0SddMM#!=#W1DddMM#] && [#C0SddMM#!=#DddMM#] && [#C0STd#>=6]?#C0Sd MMMM#$ #C0TITLE#
With this code it displays the next appointment.
If it's today/tomorrow then it displays 'today/tomorrow' 'time' 'description'.
If it's not today/tomorrow and less than 6 whole days from now it displays 'day of the week' 'description'.
If it's 6 days or more from now it displays 'date' 'description'.
Examples:
Today 13:00 lunch
Tomorrow 13:00 lunch
Friday lunch
8 March lunch
I had the boundary at 7 days at first. But then when the next appointment is say 6 days and 23 hours in the future then it displays the same day of the week as today which could be confusing.
Sent from my Kitkatted Galaxy Nexus
I'm trying to create a widget that changes background picture based on the time if the day. I can't seem to find a way to do it. Anyone had any suggestions?
Sent from my SM-N9005 using Tapatalk
gordec said:
I'm trying to create a widget that changes background picture based on the time if the day. I can't seem to find a way to do it. Anyone had any suggestions?
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
I had this problem with creating a widget which would say Morning/Afternoon/Evening/Go to sleep depending on the time of the day, I came up with this code
Code:
$#Dk#<7?Go to sleep$$#Dk#>=7 && #Dk#<12?Morning$$#Dk#>=12 && #Dk#<=16?Afternoon$$#Dk#>16?Evening$, Dude
So basically before 7am the widget would say "Go to sleep" (I always sleep that late heh), and from 7am-12pm it would say "Morning", 12pm-4pm "Afternoon and then 4pm onwards "Evening".
I guess you could substitude the words with the path to the pictures you want, good luck!
I saw someone else had asked a similar question, but I tried that answer's template, and then also the website, and neither is working, sooo....
I'm using text (not rich text, does this matter?) to tell me the current conditions and the temperature. I tried using the conditional code in the "edit text manually" section, and then, in the "advanced parameters" section. So far, I have #WCCOND#, #WCTEMPN#$<=32?[c]#00ffff[/c]$, to change the temperature to a light blue when it's 32 or below. This was also trial and error: the other two attempts based off the examples I tried, the temperature entirely disappeared: now, at least, it's still visible, but it's not turning blue even though it's 19 outside. Am I writing this code wrong?
If you want to change the color of the temperature only, use [c]$#WCTEMPN#<=32?#ff00ffff:#ff000000$[/c] in advanced parameters and #WCTEMPN# as text.
Sent from GT-I9505 via Tapatalk
CopKiller76 said:
If you want to change the color of the temperature only, use [c]$#WCTEMPN#<=32?#ff00ffff:#ff000000$[/c] in advanced parameters and #WCTEMPN# as text.
Sent from GT-I9505 via Tapatalk
Click to expand...
Click to collapse
Does it matter if it's text, or rich text?
....also, I'm using six number colour codes, does that make a difference?
Nevermind, I think I've got it. I'm just a little annoyed that between your example, the website's example, and someone else, the code doesn't seem to match
Doesnt matter richtext only has a few more options.
Sent from GT-I9505 via Tapatalk
CopKiller76 said:
Doesnt matter richtext only has a few more options.
Sent from GT-I9505 via Tapatalk
Click to expand...
Click to collapse
Okay, so then, if I use the Advanced Parameters, is it going to affect everything within the module? I'm trying to apply this idea to my battery stats, using #BSTAT#, #BLEV#, and #BLEFT#. All three are present in the module, but in Advanced Parameters, I'm only trying to apply a change in colour (like the website example) to #BLEV#. However, it changes all three instead of just one.
The change in advanced is for the complete module. In this case you have to use rich text and try doing this with bb-code.
Sent from GT-I9505 via Tapatalk
---------- Post added at 08:20 PM ---------- Previous post was at 08:12 PM ----------
Try this #BSTAT# $#BLEVN#<=30?[c=#ffff0000]#BLEV#[/c]:[c=#ff00ff00]#BLEV#[/c]$ #BLEFT#
Sent from GT-I9505 via Tapatalk
CopKiller76 said:
The change in advanced is for the complete module. In this case you have to use rich text and try doing this with bb-code.
Sent from GT-I9505 via Tapatalk
Click to expand...
Click to collapse
But can BBC code change the colour dynamically as well?
Example added.
Sent from GT-I9505 via Tapatalk
Nope. Maybe I'll just try small separate widgets then.
Sokudoningyou said:
Nope. Maybe I'll just try small separate widgets then.
Click to expand...
Click to collapse
Not working for you?
Sent from GT-I9505 via Tapatalk
CopKiller76 said:
Not working for you?
Sent from GT-I9505 via Tapatalk
Click to expand...
Click to collapse
No, didn't work.
As i look over my other widgets i see there is a change in the newest zooper(themer zooper?). If you write the # in a color tag there is sometimes an error. Try this:
#BSTAT# $#BLEVN#<=30?[c=ffff0000]#BLEV#[/c]:[c=ff00ff00]#BLEV#[/c]$ #BLEFT#
On Android you have to use 8 digit colorcode cause the first 2 digits are for the alpha value. use 00 to ff for 0-100% alpha.
Edit: This is not for Advanced Parameters, its for the Edit Text input field!
CopKiller76 said:
As i look over my other widgets i see there is a change in the newest zooper(themer zooper?). If you write the # in a color tag there is sometimes an error. Try this:
#BSTAT# $#BLEVN#<=30?[c=ffff0000]#BLEV#[/c]:[c=ff00ff00]#BLEV#[/c]$ #BLEFT#
On Android you have to use 8 digit colorcode cause the first 2 digits are for the alpha value. use 00 to ff for 0-100% alpha.
Edit: This is not for Advanced Parameters, its for the Edit Text input field!
Click to expand...
Click to collapse
I actually got it to work finally, but I'm just using the battery level as a separate piece within the widget. Much less stress. But thanks!
Sokudoningyou said:
I actually got it to work finally, but I'm just using the battery level as a separate piece within the widget. Much less stress. But thanks!
Click to expand...
Click to collapse
In case this might help either of you down the road, here's a paste from an app I built where this works.
Code:
[c]$ #BLEVN# > 30 ? #FFA0A0A0 $$ #BLEVN# <= 30 && #BLEVN# > 15 ? #FFE2892B $ $ #BLEVN# <= 15 ? #FFFF3F3F $ [/c]
Hello dear xda'lers,
i'm concerned about my own intelligence... i can't get a alarm for sunday set, i only can choose Day 1-6, but day 7 (Sunday) cant be chosen.
Is there anyone else out there with this problem?
Is there any trick i dont know about to get waked up sunday morning?
Thank you
BossAfair said:
Hello dear xda'lers,
i'm concerned about my own intelligence... i can't get a alarm for sunday set, i only can choose Day 1-6, but day 7 (Sunday) cant be chosen.
Is there anyone else out there with this problem?
Is there any trick i dont know about to get waked up sunday morning?
Thank you
Click to expand...
Click to collapse
I was going to ask the same question. Seems they forgot sunday lol
Morak75 said:
I was going to ask the same question. Seems they forgot sunday lol
Click to expand...
Click to collapse
In fact, it is there, invisible, but if you click on the very edge of the screen, it'll check the 7th day and you'll see a portion of the sphere.
Just lacking a bit of polish .
Frisou said:
In fact, it is there, invisible, but if you click on the very edge of the screen, it'll check the 7th day and you'll see a portion of the sphere.
Just lacking a bit of polish .
Click to expand...
Click to collapse
There it is ! lol not just a bit Ty
Maybe they have fixed it in colorOS 2.0.
They definitively fixed it in v2.0.
Sent from my X9006 using XDA Premium 4 mobile app
This bug comes from the Find 5 ColorOS beta, one day (1.05i beta) they changed the behavior (from popup with weekdays you could select) to the new numbers format. But there is a misstake because many languages are longer weekdays/wochentage than the original you will lose some numbers.
I hope they will switch back to the old working style! Currently on the newest Find 5 beta its still this way.