[Q] Adding a value to the current hour - Zooper Widget General

Is there ANY way to add a number (1) to the current hour? I've been trying to figure it out for hours but I'm not getting anywhere.
I've tried variations of this:
$#Dmm#>50&&#Dmm#<60?hour plus one is (#Dh#+1)$
Anyone?

dgrasley said:
Is there ANY way to add a number (1) to the current hour? I've been trying to figure it out for hours but I'm not getting anywhere.
I've tried variations of this:
$#Dmm#>50&&#Dmm#<60?hour plus one is (#Dh#+1)$
Anyone?
Click to expand...
Click to collapse
Hi;
Here I've insert a code to add Day to Date:
http://forum.xda-developers.com/showthread.php?t=2607763
Probably same syntax could work also for time ... but there is a BIG problem:
Zooper consider Date as a number then if I add 10 to 25th January I obtain 35th January!!! Then I can't use this for my purpose
I don't know if you will have the same problem also with Time.

dgrasley said:
Is there ANY way to add a number (1) to the current hour? I've been trying to figure it out for hours but I'm not getting anywhere.
I've tried variations of this:
$#Dmm#>50&&#Dmm#<60?hour plus one is (#Dh#+1)$
Anyone?
Click to expand...
Click to collapse
Try it like this
Code:
$#Dmm#>50&&#Dmm#<60?(#Dh#+1)$
and it should work. Zooper seems to have a problem if you try to mix characters/text and math. If you want to have text AND math in one text module, split them up so you have something like this
Code:
hour plus one is $#Dmm#>50&&#Dmm#<60?(#Dh#+1)$
If you need the text also to be dependent on the conditional, you'll have to use it twice:
Code:
$#Dmm#>50&&#Dmm#<60?hour plus one is $$#Dmm#>50&&#Dmm#<60?(#Dh#+1)$

Related

Date Items on new ROM...how the hell...

Hi,
I can't beleive that I have to use 2 lines to show date Item on today with this new ROM! How can I hack the reg in order to optimize space on my today screen?
try this:
Hi Ecraseur,
Edited : I was not able to download your file but found it under another thread.
Seems to work quite nicely. Only question I have, it says "@466" with me, just before the time is displayed. What is this and can it be taken away ?
regards,
Ruud
What is the @NNN number
The @NNN number you see on your display is Internet Time, as defined by Swatch.
http://www.computeruser.com/resources/internet_time/
Best Regards
Hi Ecraseur,
OK, nice read. I now completely understand what it means.
At @562, I was completely informed
Now, how do I get it away as I hardly ever have any need for it.
Or is this not possible. I mean, there are different formats possible for
the date and the time, but the time has no mentioning whatsoever of this Swatch-time.
regards,
Ruud
You can ask to the developper
http://www.pocketpt.net/forum/index.php?act=ST&f=6&t=8229
Greetings,
I'm the developer of TodayTime! I've read all of your comments and suggestions and I'll check the file, make some changes and post a new version later today!
New version will include support for date & time formats either on the left and/or the right of the screen (and maybe the center!), format support for swatch internet time, and font-size overriding.
Please check back later for a new version
Great! Thank you very much for the plugin
Is it possible to add an alarm bell time if it's turned on? Just like the normal WM5 plugin? And maybe the active alarms time too? :wink:
I personally don't use swatch time and I prefer alarm time
The changes are made, i'll test it and upload a new version tomorrow!
YRLS said:
Great! Thank you very much for the plugin
Is it possible to add an alarm bell time if it's turned on? Just like the normal WM5 plugin? And maybe the active alarms time too? :wink:
I personally don't use swatch time and I prefer alarm time
Click to expand...
Click to collapse
Hum... I'll have to check the API for that!
ei99070 said:
The changes are made, i'll test it and upload a new version tomorrow!
Click to expand...
Click to collapse
Hi any update on this?
Hi, i'm posting a little wm_paint bug.
When switching from poirtrait to landscape mode, time is hidden by a scrollbar if any.
Any way to check the existence of the scrollbar?
I'd like to see the clock icon as in the original version also (nuttin important however).
playerkiller said:
Hi, i'm posting a little wm_paint bug.
When switching from poirtrait to landscape mode, time is hidden by a scrollbar if any.
Any way to check the existence of the scrollbar?
I'd like to see the clock icon as in the original version also (nuttin important however).
Click to expand...
Click to collapse
This has been reported, will check that on next update
Please report further bugs/suggestions and check for further updates on this topic!

Stock Droid Incredible Calculator question

Hey guys I noticed this this morning while doing a calculation. I am using the stock calculator that came with my Droid Incredible. I've not done any rooting or anything like that. When I enter 365.2 - 358.8 I get the total of 6.3999999999 instead of 6.4 like I should.
Is anyone else getting such calculations?
I've not been able to reproduce this using any other combination of numbers, although occasionally it will produce a something like this: instead of saying 3.4 it will say 3.4000000000. It doesn't do it to every value, but occasionally.
Any thoughts?
Wow, that is just FREAKY!! Same thing on mine! Guess I shouldnt use it for math class huh!
It just has something to do with how computers calculate math. Almost all computers will have problems with some calculations, for example, if you go to Google.com and type in something like 1-.9999999 or 999999999999999-999999999999998 it will give you a wrong answer. But yeah, lol, I wouldn't use this phone on tests or homework unless you don't have anything else around.
amdpimp said:
Hey guys I noticed this this morning while doing a calculation. I am using the stock calculator that came with my Droid Incredible. I've not done any rooting or anything like that. When I enter 365.2 - 358.8 I get the total of 6.3999999999 instead of 6.4 like I should.
Is anyone else getting such calculations?
I've not been able to reproduce this using any other combination of numbers, although occasionally it will produce a something like this: instead of saying 3.4 it will say 3.4000000000. It doesn't do it to every value, but occasionally.
Any thoughts?
Click to expand...
Click to collapse
Well for what it's worth, 6.3999999~ is the same thing as 6.4
That is true about the rounding. I was actually heavily tempted to remove the stock calculator if I found find a better version on the Market.
Oh, and just for comparison sake, the stock calculator on the Moto Droid displays it correctly as 6.4
RealCalc Scientific Calculator in the Market works great.. and it gives you that 6.4 you are looking for..
On a serious note, I use handy calc, it's really nice and can graph functions too
The stock calc apparently has no way to save to memory... Kind of weird even for a very basic calculator.
If it does via some weird keystroke, I have never figured it out.
Try doing a trig function on the calculator...
Its USELESS.
Well, if you've memorized radian conversions, you can possible use it, but, its like needing an abacus to use a calculator...not worth it.
Why they didn't set it to use DEGREES for angles is beyond me...and there doesn't appear to be an option of switching it either.
Any of you geniuses figure out a way to make it work, ....
...or is the phone's calculator just a fake feature, and I should just down load one that works?
- Teeej
Droid Incredible
Verizon
amdpimp said:
Any thoughts?
Click to expand...
Click to collapse
Divide all results by zero.
LOL
That's tooooo funny. Makes you wonder if a simple calculator program can't do that math correctly, what else is going on behind the scenes.
Could this be a clue to the mysterious battery drainage problem under Android?
So here's what I got from HTC when I filed a ticket over it:
***********************
Dear Teesh,
Thank you for contacting us about this problem in the calculator application. I actually had one other email about this with another person several months ago, and what we determined was that it was an Android issue. I tested the math on one each of every Android phone we have and was able to recreate the issue. I also, when I was not at work, tested it with a friend's Android device that was not an HTC phone; same result. It appears to be something in the way that the base Android calculator is written; I sent the information up to the proper departments to see what could be done about it, but once the request goes up I don't get any direct response to it. I will again send up the information just in case; I remember posting on the code.google.com page about it when it happened, although I can't find that post now. Interestingly, if the remainder is greater than or equal to .5 it will show the correct answer. I apologize for any inconvenience you may have experienced, and I hope that it is something resolved in the near future.
To send a reply to this message or let me know I have successfully answered your question log in to our ContactUs site using your email address and your ticket number 10USCW39ENA000982.
Sincerely,
Philip
HTC

[Q] Abbreviate Weather Conditions

So I've just started playing with Zooper and this is something has been an issue. With the layout I have now whenever the weather condition whenever it is thunderstorming outside (which is very often) it overlaps the word condition. So my question is: Is there any way to abbreviate thunderstorm to T-Storm?
Well that was actually easier to do than I thought. Just in case anyone else needs it here is what I did.
$#WCCOND#=thunderstorm?T-Storm:#WCCOND#$
nhartse1 said:
Well that was actually easier to do than I thought. Just in case anyone else needs it here is what I did.
$#WCCOND#=thunderstorm?T-Storm:#WCCOND#$
Click to expand...
Click to collapse
Found this buried in a Google Search. Thank you. Any idea for how to do this for multiple codes? IE, T-Storms, Scattered T-Storms, Heavy Blizzard, etc.?
Wrong thread
Thanks! I'm digging around a bit more with Zooper. Appreciate the information!
Mokum020 said:
You just have to repeat the code for every weather condition you want to abbreviate.
I also think you don't need the last bit of the code, this should do the trick:
$#WCCOND#=thunderstorm?T-Storm$$#WCCOND#=scattered clouds?S-Clouds$
Click to expand...
Click to collapse
How is this code finished? I tried using what's listed and nothing displays. It needs to end by telling it to display the current condition if it's different then any of the conditions listed to abbreviate. Messing with it and can't figure out the right ending.
Wrong thread
BigPimpin said:
How is this code finished? I tried using what's listed and nothing displays. It needs to end by telling it to display the current condition if it's different then any of the conditions listed to abbreviate. Messing with it and can't figure out the right ending.
Click to expand...
Click to collapse
Could you work out a solution?

Google Keep and numbers

Any one know how to prevent Google Keep from underlining numbers and making difficult to edit them?
Thanks
m+a+r+k said:
Any one know how to prevent Google Keep from underlining numbers and making difficult to edit them?
Thanks
Click to expand...
Click to collapse
That is a pain isn't it? How long the numbers are will determine how convenient these ideas might or might not be. Use an * asterisk or a / forward slash instead of a - hyphen. A space between numbers works and combinations of letters and numbers also works without being underlined.
wantabe said:
That is a pain isn't it? How long the numbers are will determine how convenient these ideas might or might not be. Use an * asterisk or a / forward slash instead of a - hyphen. A space between numbers works and combinations of letters and numbers also works without being underlined.
Click to expand...
Click to collapse
Thanks for the reply. Even 2014 in "12 Sep 2014" gets underlined? Why? - it isn't a phone number! Same with 99-100 or 158 85 or 121/56.
I just don't understand why someone thought this was a great idea.
m+a+r+k said:
Thanks for the reply. Even 2014 in "12 Sep 2014" gets underlined? Why? - it isn't a phone number! Same with 99-100 or 158 85 or 121/56.
I just don't understand why someone thought this was a great idea.
Click to expand...
Click to collapse
I just tried 12 Sep 2014 and 2014 is not underlined for me. I'm using the google keyboard if that makes any difference. Theoretically if something is underlined you should be able to tap on it and it will open the phone dialer, calendar, maps or possibly some other app I'm not thinking of.
Try the date with a colon after it 13 09 2014:
Odd isn't it?
I realise there is the potential to use numbers as links but I just wish there was a way to turn it off.

Need Date Calculation Help

I'm trying to make a 'days since' text display to show the number of days since my kid was born. His birth date was 04/10/2014. Today he is 511 days old but my widget says 220.
The string I'm using is: #D04102014Td#
What am I doing wrong?
Thank you for any help you can offer.
solodev said:
I'm trying to make a 'days since' text display to show the number of days since my kid was born. His birth date was 04/10/2014. Today he is 511 days old but my widget says 220.
The string I'm using is: #D04102014Td#
What am I doing wrong?
Thank you for any help you can offer.
Click to expand...
Click to collapse
Hi solodev, #D201404100000Td# should work.
CopKiller76 said:
Hi solodev, #D201404100000Td# should work.
Click to expand...
Click to collapse
I came across this thread with your reply...would it be possible to explain WHY this works? What is the reason for the additional characters you've added? I assume they are to represent hours and minutes which would mean the formula requires full qualification but I'd rather hear it from you than make the assumption and be wrong.
Thanks!!
I think zooper needs the time if the date is in another year.

Categories

Resources