[Q] discharge - Zooper Widget General

is there any way that zooper can display how long it has been since unplugged

rickyjune said:
is there any way that zooper can display how long it has been since unplugged
Click to expand...
Click to collapse
You could use a string like this:
#BSTAT# since #BDTEEEE, MMMM d, yyy# at #BDTh:mm a#
This will get you a result that looks like this:
"Discharging since Sunday, June 8, 2014 at 8:51 PM"
Of course, you can customize as you see fit. I hope this helps.

Related

[Q]Display "Tomorrow" for next day appointment

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

[Q] Alarmclock on Sunday

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.

Facer and Weather

It has been cloudy and raining for the last 3 hours yet my watch face made thru facer still says CLEAR.... The battery percent is correct, location is slightly off (but it is raining there also).
Anyone else have a problem?
chrissard said:
It has been cloudy and raining for the last 3 hours yet my watch face made thru facer still says CLEAR.... The battery percent is correct, location is slightly off (but it is raining there also).
Anyone else have a problem?
Click to expand...
Click to collapse
Reddit now has a post stating "Weather Data is inaccurate"
chrissard said:
Reddit now has a post stating "Weather Data is inaccurate"
Click to expand...
Click to collapse
Yep, very inaccurate. Facer still has tons of bugs unforunately. Here's some I've noticed. Rotation for Calibre's day of the week circle rotation doesn't work correctly. Weather was never accurate. Also, the bug still exists where watch faces don't get pushed correctly onto the Moto360 unless clicking a stock watch face and pushing and clicking back to the Facer face.
opasha said:
Yep, very inaccurate. Facer still has tons of bugs unforunately. Here's some I've noticed. Rotation for Calibre's day of the week circle rotation doesn't work correctly. Weather was never accurate. Also, the bug still exists where watch faces don't get pushed correctly onto the Moto360 unless clicking a stock watch face and pushing and clicking back to the Facer face.
Click to expand...
Click to collapse
Hey! Dev here. Weather data and pushing watchfaces should be fixed in 0.90.01 that I pushed a few hours ago!
fodawim said:
Hey! Dev here. Weather data and pushing watchfaces should be fixed in 0.90.01 that I pushed a few hours ago!
Click to expand...
Click to collapse
I hope my comment did not deter you in the slightest, Rod. I was just providing feedback on what still exists. Thank you for constantly trying to make this app better. It's the main one I keep using because I really love the Calibre 17 watch face that I modified to my liking by two great themers on these forums. Can you explain to me how to rotate days of the week correctly in a circular rotation. What coding is needed for the input. Right now it's ((360/7)*#DF#) - for me this made the Yesterday to appear as Friday instead of Monday. He wrote ((360/12)*#DM#) for the days of the month rotation and that shows correctly as September. Can you explain this further? Thank you.
EDIT: Downloaded your new version you just mentioned. You fixed the SYNC issue, but weather now doesn't show correctly. It only shows #WCCT# - #WCT#F. Also, current weather icon only shows the number 01, so I'm guessing you're still working on that feature.
EDIT2: That's weird! Weather now works...I guess it needs time to refresh itself when you first apply it if the face has weather text.
Just an update. Weather does not refresh on latest version despite being checked for 1 hour interval.
opasha said:
Just an update. Weather does not refresh on latest version despite being checked for 1 hour interval.
Click to expand...
Click to collapse
Mine did update, today. We are to get more rain so will wait and see if it does work,
All I ever seem to get is the #WCT# or similar. Weather never seems to update. After reading the earlier comment I left it sitting for an hour to see if it would just start working, no such luck.
smw6180 said:
All I ever seem to get is the #WCT# or similar. Weather never seems to update. After reading the earlier comment I left it sitting for an hour to see if it would just start working, no such luck.
Click to expand...
Click to collapse
same issue lol thats why i stopped using facer. LOL ill go back once a solution is found
guaneet said:
same issue lol thats why i stopped using facer. LOL ill go back once a solution is found
Click to expand...
Click to collapse
What are you using instead? Just got my Moto today.
smw6180 said:
What are you using instead? Just got my Moto today.
Click to expand...
Click to collapse
The stock ones lol. The dial one.
Just to let you know facer runs as a full fledged app on the match which drains a lot of battery. It's advices you use the regular faces for more battery. You can pull over a day with the stock faces.
guaneet said:
The stock ones lol. The dial one.
Just to let you know facer runs as a full fledged app on the match which drains a lot of battery. It's advices you use the regular faces for more battery. You can pull over a day with the stock faces.
Click to expand...
Click to collapse
True, but I like my customizations.
smw6180 said:
True, but I like my customizations.
Click to expand...
Click to collapse
Same lol
I got this one too
https://play.google.com/store/apps/details?id=com.flyingrhinocmg.watchface_minimus360
Switch off every once in a while
I have a slightly different issue with the weather and my faces. If I select a face with weather displayed on it, for some reason it shows something along the lines of -323. Anyone have any idea of how to fix this?
Weather Icons?`
I have been trying to get weather icons to work with facer. can anyone offer any insight on how to properly set up the conditionals and store the images to show weather icons? (basically, just one icon showing at a time, for current weather condition)
I've never had weather or battery percent working on facer. On moto 360.
smw6180 said:
All I ever seem to get is the #WCT# or similar. Weather never seems to update. After reading the earlier comment I left it sitting for an hour to see if it would just start working, no such luck.
Click to expand...
Click to collapse
I had the same experience but on the battery percentage. Edit an existing template and ported to the phone, it worked at first but then was displaying the # tags on the battery percentage. Another bug I find is that sometimes, Facer just hang at syncing and I have to apply different simple faces to get it to respond.
vboyz103 said:
I had the same experience but on the battery percentage. Edit an existing template and ported to the phone, it worked at first but then was displaying the # tags on the battery percentage. Another bug I find is that sometimes, Facer just hang at syncing and I have to apply different simple faces to get it to respond.
Click to expand...
Click to collapse
Same here on my nexus 5. Weather and battery are hit and miss and lots of sync hangs with facer.
Facer never works for me on weather. Battery life a little tight but I do love the customizations!
Yeah Facer weather has never worked for me. I just get all the animations overlapping and -- for the temp or location. A shame as there are some really lovely looking faces out there. Battery and of course time work well otherwise. Tried all the known fixes...

[Q] Alarm

Hi,
how can I calculate how many hours and minutes are left to the next alarm?
In example: "XXh XXm to next alarm."
notivago70 said:
Hi,
how can I calculate how many hours and minutes are left to the next alarm?
In example: "XXh XXm to next alarm."
Click to expand...
Click to collapse
Can anyone help?
Have a look at post #3988 here:
http://www.zooper.org/wp/old/topic/time-lef-tto-next-alarm
It's a bit long winded but it seems to work ok.
You can use #SADThh:mm# but for me this appears to round the time to the nearest half hour so I assume it is not consistent on all devices.
Torgadden said:
Have a look at post #3988 here:
http://www.zooper.org/wp/old/topic/time-lef-tto-next-alarm
It's a bit long winded but it seems to work ok.
You can use #SADThh:mm# but for me this appears to round the time to the nearest half hour so I assume it is not consistent on all devices.
Click to expand...
Click to collapse
PERFECT!
Thank you very much! :good::good::good:

customize ambient display?

any way to edit what's on the ambient display?
would love to get a battery% on there.
Agreed. That would be nice.
Sent from my Pixel 2 XL using XDA Labs
I don't understand why Google doesn't put battery percent on the screen I would also like to be able to adjust the size
Have there been any updates on this subject now that we have the working root and TRWP?
Really love to have options to change clock colors and display battery percentage.
mngdew said:
Have there been any updates on this subject now that we have the working root and TRWP?
Really love to have options to change clock colors and display battery percentage.
Click to expand...
Click to collapse
Nope, not yet...
I want to know why the font changes. Sometimes its tall & skinny other times, short & fat.
winstonbyrd said:
I want to know why the font changes. Sometimes its tall & skinny other times, short & fat.
Click to expand...
Click to collapse
In order to prevent burn-in.
mngdew said:
In order to prevent burn-in.
Click to expand...
Click to collapse
Isn't that (also?) why it moves around?
It would be nice if Google could do something simple like say, have an automatic off setting so it's not wasting power during the night.
Must Samsung lead the way with everything Google does? Seriously?
TokyoGuy said:
It would be nice if Google could do something simple like say, have an automatic off setting so it's not wasting power during the night.
Must Samsung lead the way with everything Google does? Seriously?
Click to expand...
Click to collapse
So you'd like to see ambient display start but only run for a set amount of time? I know I've seen it get really dim, dimmer than when it starts
winstonbyrd said:
So you'd like to see ambient display start but only run for a set amount of time? I know I've seen it get really dim, dimmer than when it starts
Click to expand...
Click to collapse
Yes. It's something Samsung has had for ages now. I mean Google took the time to create a scheduled system for blue light reduction, yet couldn't bother to do the same with Ambient Display. It's either on 24-7 or off.
The best solution I've found is to put a piece of paper or such over the top sensor at night so the phone will think the device is in a pocket and turn off the screen.
TokyoGuy said:
paper or such over the top sensor
Click to expand...
Click to collapse
The best ideas are the easiest sometimes. I stay away from Samsung. I can't stand trying to figure out where they put stuff at. Why change menu structure even. I've tried several times because of the awesome hardware but never make it past about 2 months.
byproxy said:
any way to edit what's on the ambient display?
would love to get a battery% on there.
Click to expand...
Click to collapse
Want Ambient Display to show battery level? Star this issue and let Google know (but don't comment)
http://www.androidpolice.com/2017/1...how-battery-level-star-issue-let-google-know/
If you comment you *will* get spammed by Google notifications, just Star, do NOT comment. (don't ask how I know )
Google Issue Tracker
https://issuetracker.google.com/issues/62319884
Pkt_Lnt said:
Want Ambient Display to show battery level? Star this issue and let Google know (but don't comment)
http://www.androidpolice.com/2017/1...how-battery-level-star-issue-let-google-know/
If you comment you *will* get spammed by Google notifications, just Star, do NOT comment. (don't ask how I know )
Google Issue Tracker
https://issuetracker.google.com/issues/62319884
Click to expand...
Click to collapse
Cheers for the tip! :good::good: We've done my part now let's wait
I just got my pixel 2 XL and can't believe google has not enabled this already, it's a very basic item and a must have for many.
Pretty pathetic, hopefully once roms start dropping this will fix many shortcomings on the device.
As mentioned in an different thread, using Accubattery will display the battery level on the AOD. In my brief testing, Google reported the app as not consuming any measurable amount of power overnight, so no appreciable battery draw. Also, there is a root app from an XDA RC that displays the music you are currently playing/streaming on to the AOD. This is different from the existing "now playing" feature already built in, and at the end of the article HERE it says that almost any "text" can be displayed on the AOD. It's not the built in Google controls for the AOD we are expecting, but there is hope for customization for those with root, and in the coming ROMs.
Well, got this notice, just don't know what "Changed" (shrug)
https://issuetracker.google.com/issues/62319884
Changed
_______________________________
Reference Info: 62319884 [Feature request] Show battery level on active/ambient display
component: Android Public Tracker > Android Developer Preview
status: Assigned
reporter: [email protected]
assignee: [email protected]
cc: [email protected], [email protected]
type: Feature Request P4 S4
blocked by: 62436205
hotlist: Dev-Preview-O, Platform
Generated by Google IssueTracker notification system
You're receiving this email because you are subscribed to updates on Google IssueTracker issue 62319884 where you have the role: starred.
Click to expand...
Click to collapse
Pkt_Lnt said:
Well, got this notice, just don't know what "Changed" (shrug)
Click to expand...
Click to collapse
It just means there was another comment left. You will be spammed eternally! :silly:
v12xke said:
As mentioned in an different thread, using Accubattery will display the battery level on the AOD. In my brief testing, Google reported the app as not consuming any measurable amount of power overnight, so no appreciable battery draw. Also, there is a root app from an XDA RC that displays the music you are currently playing/streaming on to the AOD. This is different from the existing "now playing" feature already built in, and at the end of the article HERE it says that almost any "text" can be displayed on the AOD. It's not the built in Google controls for the AOD we are expecting, but there is hope for customization for those with root, and in the coming ROMs.
Click to expand...
Click to collapse
After I read your post I downloaded accubattery and it works quite well. Thanks for the heads up
I hope they enable the ability to keep the icon on the lockscreen while removing it from the notification panel.. that would be perfect.
sent from my Pixel 2 XL or Note FE

Categories

Resources