Good morning, afternoon, evening and night - Zooper Widget General

Ive been working on this for a few days but i cant figure it out. Ive googled around and cant find any code for it. It works out to a point, at certian times of the day it will say good morning, but then when its going to switch to afternoon it displays like "morningafternoon" same for evening and night as well. This is the closest ive gotten for this to work correctly.
Good $#DHH#<=12?morning$$#DHH#>= 12?afternoon$$#DHH#<=16?evening$ sir
If anyone could help that would be great. Thanks all

Sxnill said:
Ive been working on this for a few days but i cant figure it out. Ive googled around and cant find any code for it. It works out to a point, at certian times of the day it will say good morning, but then when its going to switch to afternoon it displays like "morningafternoon" same for evening and night as well. This is the closest ive gotten for this to work correctly.
Good $#DHH#<=12?morning$$#DHH#>= 12?afternoon$$#DHH#<=16?evening$ sir
If anyone could help that would be great. Thanks all
Click to expand...
Click to collapse
First off, your logic flows like this:
If it's less than or equal to 12, print morning
If it's greater than or equal to 12, print afternoon
It it's less than or equal to 16, print evening
Try this.
Code:
Good $#DHH#<=12?morning$ $#DHH#>=16?evening$ $#DHH#<16&&#DHH#>12?afternoon$, sir.
If it's less than or equal to 12, print morning.
If it's greater than or equal to 16, print evening.
Otherwise, print afternoon.
Let me know if that works, but I think it should.
EDIT: It would appear as though you can't nest conditionals in Zooper. I guess you learn something new every day. Seems kind of silly to not be able to do that, but I've fixed my code snippet to what I believe should work.

Sxnill said:
Ive been working on this for a few days but i cant figure it out. Ive googled around and cant find any code for it. It works out to a point, at certian times of the day it will say good morning, but then when its going to switch to afternoon it displays like "morningafternoon" same for evening and night as well. This is the closest ive gotten for this to work correctly.
Good $#DHH#<=12?morning$$#DHH#>= 12?afternoon$$#DHH#<=16?evening$ sir
If anyone could help that would be great. Thanks all
Click to expand...
Click to collapse
The problem with your conditionals is that they are overlapping each other. Morning and afternoon booth have an "equal 12" part in their condition meaning while the hour is twelve, both will be displayed. The next problem is that your evening string is checking for "smaller 16". Every hour between midnight and that time is smaller as the number 16, so evening should be displayed the whole time.
What you need to do is limit the conditionals so they don't overlap each other and only one condition is true at the same time. For your example this should look more like this:
Good $#DHH#<12?morning$$#DHH#>= 12 && #DHH#<16?afternoon$$#DHH#>=16?evening$ sir
If you have more conditions then the one you listed or if you need other boundaries (for instance if "morning" should only be displayed between 7 and 12) you need to adapt this further. I hope you understood the principle of this though Oh and here is a link to the description of Zooper conditionals and the available symbols, might be worth a read: http://zooper.themerapp.com/support/solutions/articles/158018-conditionals-and-boolean

xancgy said:
First off, your logic flows like this:
If it's less than or equal to 12, print morning
If it's greater than or equal to 12, print afternoon
It it's less than or equal to 16, print evening
Try this.
Code:
Good $#DHH#<=12?morning$ $#DHH#>=16?evening$ $#DHH#<16&&#DHH#>12?afternoon$, sir.
If it's less than or equal to 12, print morning.
If it's greater than or equal to 16, print evening.
Otherwise, print afternoon.
Let me know if that works, but I think it should.
Click to expand...
Click to collapse
EDIT: It would appear as though you can't nest conditionals in Zooper. I guess you learn something new every day. Seems kind of silly to not be able to do that, but I've fixed my code snippet to what I believe should work.

kwerdenker thanks alot, that makes alot more since now, i just got started with using zooper so coding this so somewhat different than writing php. Still figuring it out though. Thanks everyone for all the responses.

Related

BT Broadband Anywhere

Anyone got the s620 on BT Broadband Anywhere?
Any good?
Anychance of the Cabs for BT Talk lol?
Installation files are here: http://btsupport.custhelp.com/cgi-b...05&p_cv=2.1805&p_cats=1804,1805&p_faqid=10901
Discussion about how crap it is here:
http://beta.bt.com/bta/forums/thread.jspa?threadID=3464&start=60&tstart=0
indiekiduk said:
Installation files are here: http://btsupport.custhelp.com/cgi-b...05&p_cv=2.1805&p_cats=1804,1805&p_faqid=10901
Discussion about how crap it is here:
http://beta.bt.com/bta/forums/thread.jspa?threadID=3464&start=60&tstart=0
Click to expand...
Click to collapse
Nothing good to say as a BT user, have reset phone so as to get away from there lame programming.
Lol yeh I had read all these already, usually because my HomeHub fails me on a daily basis (Misses his Netgear )
Hi,
I got my BT Total broadband package last week, personally I can’t say a bad word about it, in fact very impressed so far.
Granted the HTC s620 is the first phone of its kind I have ever had so I can’t compare but I love the little device. Good screen, good camera, clear calls, good reception, no problems setting up email, thumbs up all round. The only issue I had was with Active Sync but the details of that are in another thread.
I haven’t hammered the home hub yet but again so far it’s being kicking out a good strong signal since I set it up.
Gumshoe said:
Hi,
I got my BT Total broadband package last week, personally I can’t say a bad word about it, in fact very impressed so far.
Granted the HTC s620 is the first phone of its kind I have ever had so I can’t compare but I love the little device. Good screen, good camera, clear calls, good reception, no problems setting up email, thumbs up all round. The only issue I had was with Active Sync but the details of that are in another thread.
I haven’t hammered the home hub yet but again so far it’s being kicking out a good strong signal since I set it up.
Click to expand...
Click to collapse
How long does your battery last???
Obviously it depends on what your doing but on standby it’s lasting about 5 days, with average use, (paying games, web browsing) I’d say 1-2 days. However this is with the standard battery. It comes with an extended battery in the box which I haven’t used yet, but I guess it will add about 25-40% extra, that said I need to try it really.
The only bad is (which it does warm you about) when using the wireless connection to your hub (or any hot spot) it uses loads of power. I left my phone attached to it and the phone powered off in the middle of the night (waking me up) so it literally discharged the battery in a matter of hours just by being connected via wi-fi.
Gumshoe said:
Obviously it depends on what your doing but on standby it’s lasting about 5 days, with average use, (paying games, web browsing) I’d say 1-2 days. However this is with the standard battery. It comes with an extended battery in the box which I haven’t used yet, but I guess it will add about 25-40% extra, that said I need to try it really.
The only bad is (which it does warm you about) when using the wireless connection to your hub (or any hot spot) it uses loads of power. I left my phone attached to it and the phone powered off in the middle of the night (waking me up) so it literally discharged the battery in a matter of hours just by being connected via wi-fi.
Click to expand...
Click to collapse
I think you have been lucky and got a BT s620 that works, i was getting 2 days on average use, now i get 4 days of average use without the BT software and i have more RAM available. The only thing i don't have is BBtalk anymore, small thing to loose to make the phone better "work"
On another note, I’ve being treating my new phone with extra special care since I’ve got it, however, I’ve just had a major (and very unexpected) nose bleed. And guess what? Yup blood all over my new shiny Smartphone. But it’s resisted well and cleaned up OK and thankfully functioning fine, so that is hopefully a good indicator that it will be resilient over time.
Gumshoe said:
On another note, I’ve being treating my new phone with extra special care since I’ve got it, however, I’ve just had a major (and very unexpected) nose bleed. And guess what? Yup blood all over my new shiny Smartphone. But it’s resisted well and cleaned up OK and thankfully functioning fine, so that is hopefully a good indicator that it will be resilient over time.
Click to expand...
Click to collapse
You'd have thought a smartphone could have cleaned itself or poped out a little umbrella to protect itself.
indiekiduk said:
Installation files are here: http://btsupport.custhelp.com/cgi-b...05&p_cv=2.1805&p_cats=1804,1805&p_faqid=10901
Discussion about how crap it is here:
http://beta.bt.com/bta/forums/thread.jspa?threadID=3464&start=60&tstart=0
Click to expand...
Click to collapse
You are better off sticking with version 2.35 as 2.37 is incredibly buggy. I have the installer for 2.35 if anyone needs it.
Battery life varies from 2 - 4 days depending on how often you use WiFi. If you use BBTalk a lot then be prepared to charge daily (not really an issue IMHO)
Ive had mine a few weeks now and I havnt had much problems with it whatso ever... then again I havnt had any problems with any of my BT products (homehub, vision, mobile etc...) it doesnt mean that it doesnt happen though as I have heard other people complian about some of their services.
Battery life doesnt seem bad whatsoever, as long as you dont leave it connected to wifi like I did once as that just drains the battery in a matter of hours.
Just come back off of a holiday where I used it to play games (guitar hero III rocks), watch my Family Guy videos using Coreplayer, take pictures and record videos of the kids and even use it as a phone once in a while and the battery lasted me just fine all I did was stick it on charge when I went to bed.
So I personally rate this phone, Ive even stopped using my old HP PPC which I used to take on long trips.
Ive noticed a lot of people also mentioning how much RAM the bt software uses, but I find that if im using a different homescreen other than the BT specific ones my available RAM is a whole lot better and I still have access to the bt software without having to uninstall the bt software.
bt broadband talk
probably a stupid question but..
is there any way to have bt broadband talk installed without having the other bt stuff?
and if so has anyone got the installer?
I get about 4-5 days out of mine before charging but that is on the extended battery the phone was crap to start with but i have unistalled the BT crap and that has made it usable but i would say it is not a very good phone and it is very quirky I much prefer my HTC universal which i will be going back to once my new screen arrives and is fitted.
Bt broadband anywahere
Hello fellow subscribers,
Is there anyone out there who can tweak the BT Broadband anywhere software so that it installs fully and works with wm6.1 and wm6.5?
Could those who have the know-how please respond? I am happy to get a PM if that's the best way to respond to my question.
Cheers.
YOSEFE said:
Hello fellow subscribers,
Is there anyone out there who can tweak the BT Broadband anywhere software so that it installs fully and works with wm6.1 and wm6.5?
Could those who have the know-how please respond? I am happy to get a PM if that's the best way to respond to my question.
Cheers.
Click to expand...
Click to collapse
If you check the BT Anywhere Forum people have got the VOIP to work with WM6.1, not that i think worth it as it's a bismal.
The rest of the software is pointless especially the AV and the ROM won't even go into it
What you gain in a WM6.1 ROM far supases the loss of BT Software
I don't know where I am missing it, I have googled for this, gone onto the said forum, could not find any discussion there.
I will ry again just now. If you know precisely the link, could I have it please?
Thanks.
YOSEFE said:
I don't know where I am missing it, I have googled for this, gone onto the said forum, could not find any discussion there.
I will ry again just now. If you know precisely the link, could I have it please?
Thanks.
Click to expand...
Click to collapse
I'll have a look been along time since used the website but just mem it
http://www.beta.bt.com/bta/forums/thread.jspa?threadID=4876&start=0&tstart=0

The "battery bug"?

I recently got my Droid Incredible and while researching I came across many topics on google about the "battery bug" in which various sites and forum posts report that the dinc doesn't charge all the way when it is turned on. There have been many supposed workarounds to get around the issue, which you guys probably already know, mostly involves turning off the phone after the phone reports that it is charged to 100%.
In any case, I was searching around this board and didn't find to much topics about this here, granted I only searched up to February. Does the bug actually exist or is it the battery management function that drains that falsely reports the 100% that I read in another topic here?
But suppose that it is real, are there any permanent fixes to this issue, such as through custom roms and/or kernals?
Sorry if this has been asked (a million times) before. Thought I'd get the best answer by creating a new topic. Thanks for the read.
Here's a big part of the info you're looking for...Your batter gauge is lying to you...
wildland said:
Here's a big part of the info you're looking for...Your batter gauge is lying to you...
Click to expand...
Click to collapse
Ahhh, this is what I get for skimming. I didn't read the latter part of the post. Thank you for this. Now I will go hang my head in shame.
wildland said:
Here's a big part of the info you're looking for...Your batter gauge is lying to you...
Click to expand...
Click to collapse
Thanks for the link, I will definitely sit down and read it next time I'm on the throne.
Just so I don't completely waste this topic, I'll ask my other question here: If I got a replacement for my dinc, how likely is it going to have some bad backlight bleeding? The one I have right now bleeds noticeably from the top and a little from the bottom.
retsnom said:
Just so I don't completely waste this topic, I'll ask my other question here: If I got a replacement for my dinc, how likely is it going to have some bad backlight bleeding? The one I have right now bleeds noticeably from the top and a little from the bottom.
Click to expand...
Click to collapse
If that is your only problem I wouldn't recommend playing the roulette game that is Verizon's Certified Like New program. There is little to no quality control and I managed to get 2 Incredibles that were completely unusable before finally getting one that worked at all.
zerocool79346 said:
If that is your only problem I wouldn't recommend playing the roulette game that is Verizon's Certified Like New program. There is little to no quality control and I managed to get 2 Incredibles that were completely unusable before finally getting one that worked at all.
Click to expand...
Click to collapse
Wait, they don't give you a new replacement? I'm still within in 14 day return period if that makes any difference.
retsnom said:
Wait, they don't give you a new replacement? I'm still within in 14 day return period if that makes any difference.
Click to expand...
Click to collapse
Hmm, I'm actually not sure about that situation, I would demand it if I were you. But I can promise if you get outside of the 14 day return period you won't get anything but used, and a little light leakage is nothing compared to what you might end up with.

someone please help, my mind is cannibolizing itselfit

i've exchanged my first galaxy nexus today because i noticed that on really low brightness there were two streaks going down the screen. they were only visible when the brightness was low. i did have it on auto, which means that in dark places, this was the case a lot. anyway, i went to the store where i got the phone and they were really nice and exchanged it for me. big props to popular electronics. now, the screen seems fine. you could still see some streaking on super low brightness, but its definately much better. i would say to most people, even, not noticeable. i'm just anal, i guess. however, it now seems that the phone is a little slower/laggy. i mean some transitions between screens/menus is not as smooth as i think it was on the other phone. now, logically, the same phone running the same software, there's no way it could be different. however, it just seems like it. i don't know if it's just me at this point trying to find something or it's actually slower. i did factory reset twice, before entering all my info. someone, please tell me that's its just me or is actually possible for it to be laggy or for the software to work differently on this phone? almost everything else seems perfectly fine which is why i keep thinking it's just me. sometimes when you get something in your head, you start finding things your looking for.
by the way, i love this phone. have had all the nexus phones since nexus one and this one is by far the best.
Restore it. And chill out and smoke some pot.
i've also just did a speedtest.net test on this new phone and the speeds seem lower. last time i did speedtest on my other nexus, i saw about 10mbps, now the best i got was 7 mbps, most times around 5. could the same radio get a weaker signal this new one.
wasya152 said:
i've also just did a speedtest.net test on this new phone and the speeds seem lower. last time i did speedtest on my other nexus, i saw about 10mbps, now the best i got was 7 mbps, most times around 5. could the same radio get a weaker signal this new one.
Click to expand...
Click to collapse
Unless you averaged dozens and dozens of speedtests then compared both devices in the same place at the same time of day you can't even come close to making a comparison like that.
For the record, I think you're just freaking out...
Yeah, its probably your brain getting the better of you. If you want, you could root your phone and try a custom rom if you wanted more speed? Maybe there was something you turned on in the settings unknowingly, or was already turned on (I have heard about something you can turn on in the settings called 2d gpu rendering or something which makes the performance better but causes compatibility issues with other apps) and don't smoke pot like the first guy suggested.
martonikaj said:
Unless you averaged dozens and dozens of speedtests then compared both devices in the same place at the same time of day you can't even come close to making a comparison like that.
For the record, I think you're just freaking out...
Click to expand...
Click to collapse
i think i'm just freaking out too. i just watched a bunch of youtube reviews and it seems those phones worked the same.
You're totally just freaking out
Relax - This phone is AWESOME!
alright guys. thanks for the replies. i'm going to leave it alone. the phone is awesome. i was pretty sure i was just being retarded about this whole thing.

[Q] HELP - child wiped out phone (brick?) and mom needs help...

hi everyone! I am seeking your expertise as I came upon this forum trying to help my son fix his phone. He's only 11 years old- but as we call him at home our "tech guy". He got a brand new HTC One M8 (carrier is ATT) yesterday and 3 hours later - the phone was "bricked" as I have been told. Apparently, (these are his words) he "unlocked the bootloader using HTCdev, then flashed twrp, then flashed supersu.zip.
I have no idea what any of that means but apparently he did something wrong because his phone is not working and we don't know how to fix it. If you have any compassion for a frustrated Mom who's trying not to be angry with her son -- I would appreciate any advice you can give on how to fix this.
I have attached a picture of what the phone looks like when we turn it on. I also posted this under the ATT forum too.
Thanks in advance for your help!
You bought your 11 year old son an M8?
Do you adopt?
Bchgirl19 said:
hi everyone! I am seeking your expertise as I came upon this forum trying to help my son fix his phone. He's only 11 years old- but as we call him at home our "tech guy". He got a brand new HTC One M8 (carrier is ATT) yesterday and 3 hours later - the phone was "bricked" as I have been told. Apparently, (these are his words) he "unlocked the bootloader using HTCdev, then flashed twrp, then flashed supersu.zip.
I have no idea what any of that means but apparently he did something wrong because his phone is not working and we don't know how to fix it. If you have any compassion for a frustrated Mom who's trying not to be angry with her son -- I would appreciate any advice you can give on how to fix this.
I have attached a picture of what the phone looks like when we turn it on. I also posted this under the ATT forum too.
Thanks in advance for your help!
Click to expand...
Click to collapse
Going by the pic, the bootloader has been relocked. So that's a problem. The bootloader will need to be unlocked again. I would suggest heading over to Youtube, as I have found video tutorials the most helpful when I was learning this stuff. There are plenty of videos that are even specific to the M8.
Edit: I should also point out that a phone can almost always be saved/restored if it still powers on. So don't panic. It would probably be in your best interest though to find someone experienced to fix it. Trying to explain the process to fix it here is not going to be helpful to someone who doesn't know what they're doing. If you can't find someone experienced, then my best suggestion, as stated above, would be to watch some Youtube tutorials on unlocking/rooting the M8.
Okay. In all seriousness.
When was this screen grab taken? In other words, is this your current position with the phone?
Relocked... etc etc
Are you in the US on AT&T?
Your tech son needs to restore ATT backup.. Hopefully someone in that forum has it
sent from my mobile device
UPDATE on my son
Thank you all so much for your responses! It is much appreciated. Believe it or not - this kid fixed it all by himself. Basically (remember I am not technical) he unlocked the boot loader then flashed a ROM onto an SD card and was able to load. Don't think I worded correctly - but I think you know what I am talking about -- it's fixed and working fine. WHEW!!
I guess he "retraced" the steps he did last night and was able to get it. Actually it's strange the first ROM he put on wasn't allowing him to find or pick up wifi. He found another and got it. This kid is good!
I will certainly keep the info to this forum handy because something tells me that I will be visiting again with this child..................
Have a great evening!!
p.s. I typed the wrong key -- he's 12 not 11 And - sure I'd adopt! But he did save up his own money to get this phone and only wanted it to do these "cool" things as he says to it.....rest of my family - we are simple and use Iphones -- sorry.
All I can say to this is Wow!!
Bchgirl19 said:
Thank you all so much for your responses! It is much appreciated. Believe it or not - this kid fixed it all by himself. Basically (remember I am not technical) he unlocked the boot loader then flashed a ROM onto an SD card and was able to load. Don't think I worded correctly - but I think you know what I am talking about -- it's fixed and working fine. WHEW!!
I guess he "retraced" the steps he did last night and was able to get it. Actually it's strange the first ROM he put on wasn't allowing him to find or pick up wifi. He found another and got it. This kid is good!
I will certainly keep the info to this forum handy because something tells me that I will be visiting again with this child..................
Have a great evening!!
p.s. I typed the wrong key -- he's 12 not 11 And - sure I'd adopt! But he did save up his own money to get this phone and only wanted it to do these "cool" things as he says to it.....rest of my family - we are simple and use Iphones -- sorry.
Click to expand...
Click to collapse
I'm glad to hear everything worked out for you and your son.
It's great to know that you're letting your kid tinker around as he is. I know these are quite expensive devices, but we often do learn from our mistakes, and that is even more true when it comes to technology. I'm sure that I have a bit of a bias being a software developer, but tech is such a huge part of life now, and that is only going to become more so with time. So getting an early start as he is, your son is going to have a leg-up in the world, even if he doesn't choose this type of field as a career path.
MindfulSheep said:
I'm glad to hear everything worked out for you and your son.
It's great to know that you're letting your kid tinker around as he is. I know these are quite expensive devices, but we often do learn from our mistakes, and that is even more true when it comes to technology. I'm sure that I have a bit of a bias being a software developer, but tech is such a huge part of life now, and that is only going to become more so with time. So getting an early start as he is, your son is going to have a leg-up in the world, even if he doesn't choose this type of field as a career path.
Click to expand...
Click to collapse
Agree! But keep an eye on him, so that he sleeps from time to time. And hide your car keys!
Please don't create multiple threads asking the same question.
http://forum.xda-developers.com/showthread.php?t=2750594
MindfulSheep said:
I'm glad to hear everything worked out for you and your son.
It's great to know that you're letting your kid tinker around as he is. I know these are quite expensive devices, but we often do learn from our mistakes, and that is even more true when it comes to technology. I'm sure that I have a bit of a bias being a software developer, but tech is such a huge part of life now, and that is only going to become more so with time. So getting an early start as he is, your son is going to have a leg-up in the world, even if he doesn't choose this type of field as a career path.
Click to expand...
Click to collapse
Thanks!! He's very into all of this stuff and always has been from a very young age -- started with Legos at 2. He doesn't play sports and this is his "thing". He really LOVES all this stuff. He's actually really good and understands most things. As you can see - we certainly have issues now and then but overall we certainly let him "tinker". I really should write stuff down so we can laugh about it in about 10 years. We tried to limit his Internet time a couple of years ago and added a password on his computer that we had to input on his computer to gain access. Little **** put a keystroke logger on the computer to get the password. Then he somehow modified the main password screen to say PENIS when we logged on. The stories go on and on....... We will let him continue his technology building and hopefully he really have a bright future in technology!
Thanks for all of the input and support from this forum!
Bchgirl19 said:
Thanks!! He's very into all of this stuff and always has been from a very young age -- started with Legos at 2. He doesn't play sports and this is his "thing". He really LOVES all this stuff. He's actually really good and understands most things. As you can see - we certainly have issues now and then but overall we certainly let him "tinker". I really should write stuff down so we can laugh about it in about 10 years. We tried to limit his Internet time a couple of years ago and added a password on his computer that we had to input on his computer to gain access. Little **** put a keystroke logger on the computer to get the password. Then he somehow modified the main password screen to say PENIS when we logged on. The stories go on and on....... We will let him continue his technology building and hopefully he really have a bright future in technology!
Thanks for all of the input and support from this forum!
Click to expand...
Click to collapse
I was the same from an early age and always have been. I have taken apart or modified more household items than I can think of. I broke a lot of stuff messing as a kid, but now I have a lot of knowledge and can fix almost any thing properly.
It seems you are not so bad yourself with the technical stuff as most moms wouldn't have a clue or even be able to repeat what you have explained here.

Slow device maintenance.

Hi,
I recently got myself an s9 256gb (exynos) and have had multiple issues with my first one.
Luckily they replaced it with another new one, and it had been running fine for a couple days.
Still need to get my notes from gmail working working (previous iPhone user), but i'll fix that.
Anyways, my question is. How long does it take you guys to see, "the stats" when you press on device maintanance?
It used to show it to me allmost instantly, but now it takes me around 40 seconds each time I open it.
On Youtube it looked like the phone of the revieuwers also showed it instantly, but I like to ask real users instead.
Thanks in advance..
Mine took around 37 seconds to load.
It's a bug for everyone atm, wait for an update
Tomogitarist said:
Mine took around 37 seconds to load.
Click to expand...
Click to collapse
Thank you, guess i am not the only one.
*Detection* said:
It's a bug for everyone atm, wait for an update
Click to expand...
Click to collapse
Oh ok, thanks. That explains some. I was affraid that i had to return this one aswell and give up on the s9.
/update
Checked with the phone of a friend, his is done in a couple of seconds...

Categories

Resources