[Q] Data Billing cycled DATE Progress Bar - Zooper Widget General

Hi all,
So I have a progress bar for my data usage for my billing cycle (7th of the month). Underneath that I would like another progress bar to show how far along I am in my billing cycle (to easily glance if my data usage is lining up with the cycle usage). My thinking is the min would be the 6th of this month and max would be 7th of next month. But I have no idea how to implement that.
Am I thinking in the wrong direction or is there an easier way to do this?
Thanks,
Cliff

cwwilson said:
Hi all,
So I have a progress bar for my data usage for my billing cycle (7th of the month). Underneath that I would like another progress bar to show how far along I am in my billing cycle (to easily glance if my data usage is lining up with the cycle usage). My thinking is the min would be the 6th of this month and max would be 7th of next month. But I have no idea how to implement that.
Am I thinking in the wrong direction or is there an easier way to do this?
Thanks,
Cliff
Click to expand...
Click to collapse
This probably is the 100% exact answer, but I believe it will be close:
In the Min/Max section of the progress bar:
MIN: $(#DMM#*30)+6$
VALUE: $(#DMM#*30)+#Dd#$
MAX: $((#DMM#+1)*30+7)$
This is basing everything off of a 30 day month, which I believe is how most billing companies do as well.
So with that being said, let me explain what is going on here:
MIN:
$(#DMM#*30+6)$
$( <-- Starts a calculation
#DMM# <-- Is the current month
* <-- Multiply
30 <-- by 30 (number of days in a month)
+ <-- Add
6 <-- the 6th of the month
)$ <-- End the calculation
The Value and Max are pretty much the same except there is a #Dd# which is the current day
Basically I converted everything over to the days of the year (so since this is March (3), it the min would be 96, Today is the 13th so 90+13 = 103 us the value and the max is 3+1 (for April) * 30 = 120+7 making it 127
Next month it will be:
126
--- What ever day
157
Hope that points you in the right direction
Thanks,
Jeff
Check out my new MobiStyles Forum... Hints, tips, themes, widgets, scripts and much more coming! mobistyles com

Thanks!
Wow, I wouldn't have thought of that. Thanks! And thanks for the explanation. My only question now is how to account for the 1st through 5th of each month since that would be out of the min/max range. Any idea?
Thanks,
Cliff

cwwilson said:
Wow, I wouldn't have thought of that. Thanks! And thanks for the explanation. My only question now is how to account for the 1st through 5th of each month since that would be out of the min/max range. Any idea?
Thanks,
Cliff
Click to expand...
Click to collapse
hmmm.... Yeah I didn't think about that either.
So we would have to have a conditional statement in VALUE: $(#Ddd#)<=6?((#DMM#+1)*30+#Ddd#)#DMM#*30+#Ddd#)$
Now this will work like this:
$( <-- Starts a calculation
#Ddd# <-- This is the Current Day
<= <-- Less than or equals to
6 <-- The start date of your billing cycle
Here is the conditional stuff:
(#Ddd#)<=6?((#DMM#+1)*30+#Ddd#):(#DMM#*30+#Ddd#)
[------ IF ------] [------------ THAN ----------] [-------- ELSE ---------]
Pretty much the rest is easy to figure out... At which I found another bug, if that VALUE line is too long, it moves everything off the page. I will inform the Dev.
Hope that helps,
Jeff

As far as I can follow, that conditional makes perfect sense. I guess I'll find out for sure next month. I got around the line limitation by copying and pasting into the value.
Thanks dude, you rock.
Cliff

Related

anyone know of a weight watchers point calculator for WM SP

Anyone know of a spreadsheet or app that can do this?
As long as you are able to browse the net with your phone, just copy this into your phones browser favorites. Works for me.
http://www.webmilhouse.com/pointcalc.php
points = (calories/50) + (fat/12) - (min{fiber,4}/5)
In case you didn't know, "min{fiber,4}" means that you use the lower number. In other words, only the first four grams of fiber count.
You can use this formula in Excel to create your own pointes calculator.
I hope that helps!
Make your own weightwatchers program
So is there a way extract the food database from the WW program so you could add it as a separate spread sheet and search for food pint values? Also does anyone know formula for the exercise points?
excellent response
dewey1973 said:
points = (calories/50) + (fat/12) - (min{fiber,4}/5)
In case you didn't know, "min{fiber,4}" means that you use the lower number. In other words, only the first four grams of fiber count.
You can use this formula in Excel to create your own pointes calculator.
I hope that helps!
Click to expand...
Click to collapse
Thanks for that. I'm not as familiar with Excel as I should be. Any chance you could upload one with that formula already in it?
sorry to bring this back but thought i'd share...
the following formula will work in an excel to calculate points. it will not display any result if there's a number missing (otherwise you get 0.8 displayed in the result because of the fiber calculation), and will around to the nearest whole number (since fractions aren't accounted for in normal ww calculation):
=IF(C2="","",ROUND(((C2/50)+(C3/12)-((MIN(C4,4)/5))),0))
you will need to adjust the cell references to match your layout. in the above formula c2=calories, c3=fat, and c4=fiber.
hope this helps!
Developer one recently came out with a program called ifitone that tracks a lot of fitness info.
http://www.developerone.com/ifitone/screenshots.htm
Love to get my hands on this
i actually worked up an html file that can be used via a browser. same exact idea as plugging in that afore mentioned formula into an excel.
the only problem with this is that i can't figure out how to force the phone to go into number entry mode when inputing the info into the fields... so for the time being you have to hit the alt key for every number you enter. total PITA, so if someone knows how to fix, please do!
Many Thanks!
SirKeats said:
sorry to bring this back but thought i'd share...
=IF(C2="","",ROUND(((C2/50)+(C3/12)-((MIN(C4,4)/5))),0))
c2=calories, c3=fat, and c4=fiber.
hope this helps!
Click to expand...
Click to collapse
Thanks for bringing it back up! first thing I sat down to figure out this morning and you had the formula laid out. I had PointsCalc on my Treo 650 and my wife had gotten dependent on me having it handy when we're shopping. This is even easier to use!
I use Iambic Health and Diet Manager
Lots of options.
I believe you can "try before you buy"
i actually worked up an html file that can be used via a browser ...
Click to expand...
Click to collapse
I actually worked up a sweat reading the formulae.
Still; no pain, no gain.
Sorry I never responded to the request for the Excel file, I don't remember getting an email about a reply.
I wonder how many excercise points for reading the formula? Let's figure it out...
From Starling Fitness » What You Need To Know About Weight Watchers:
Activity Points:
These are harder to calculate. The calculation is based on perceived exertion. Light, Moderate and Heavy. They base the levels on sweating and breathing levels, which leaves asthmatics and heavy sweaters in a strange conundrum.
In January 2005, Weight Watchers released recommendations for Activity Levels based on Heart Rate:
* WeightWatchers.com - Exercise Intensity Levels
They use the typical calculation for Maximum Heart Rate:
Maximum Heart Rate = 220 - Age
They state you can calculate your activity levels based on the following:
* Light is about 40-54% Maximum Heart Rate.
* Moderate is 55-69% Maximum Heart Rate.
* Heavy is equal to or greater than 70% Maximum Heart Rate.
I used much more vigorous percentages in my estimations, so this bit of news made things much easier for me.
Once you’ve calculated how much time you’ve exercised at a certain activity level, here is the registered calculation for Activity Points:
Light Activity Points = Weight X Minutes X .000232
Moderate Activity Points = Weight X Minutes X .000327
Heavy Activity Points = Weight X Minutes X .0008077
You can add Activity Points into your total for the day. The Flex Points plan states that you need to use the Activity Points on the day that you use them. The older plan used to let you Bank a maximum of four Points and save them for up to a week.
Click to expand...
Click to collapse
I also purchased Iambic Health and Diet Manager. It is pretty good. It used to have a desktop client that you could use and sync between the phone and the PC. Then the software was sold to Iambic and now they charge for the desktop version separately. Bummer! It was easier to load up the database with your favorite foods (or at least your most frequently eaten foods [because usually you aren't going to be eating your FAVORITE foods]) using a full sized keyboard.
I made an Excel calculator (using a similar, if not the same, formula) that also had a way to calculate the points for a recipe given the ingredients. I'll see if I can dig it up.
points calculator
kendle said:
As long as you are able to browse the net with your phone, just copy this into your phones browser favorites. Works for me.
http://www.webmilhouse.com/pointcalc.php
Click to expand...
Click to collapse
This is just awesome. Its all you really need.
thanks!
I use a excel spread sheet on my tilt with wm6. I made it and synced it to my phone. Works great in Wal-mart where service can be spotty.

Flashaholic damage to phone?

I've had my Evo 4G since release day, and have been rooted pretty much the whole year I've had it. I've probably flashed over 100 different Roms on it (like twice a week sometimes). Has anyone noticed their phone sorta... crapping out on them. I mean, I use my Evo daily like mad, so it's definitely done me a good service these last 365.
Basically my question is, does treating your phone like a refillable flask of whiskey hurt it? Flash abuse? Flashoholicism on my phone, is it as damaging as alcoholism on me?
I'm scared!
Nah im sure flashing roms/kernels/themes a lot wont hurt ur phone
my phone isnt really crapping out
Flashing doesn't cause damage to the phone more than using it does.
NAND DOES have a limited number of writes, yes, however....you are writing to your phone any time it is powered on even if the screen is off.
So, no, doesn't cause damage.
Thanks for the response guys.
I can breathe a little easier now.
i know you think you have flashed alot but believe me, i have more
and not just roms. mods, keyboards, themes kernels anything really. i never use a rom daily i even keep some roms on my sd card for whenever i feel like switching to it.
and i have never had any problems. its still fast, sleek and i still show this bad boy off
LearnIIBurn said:
I've had my Evo 4G since release day, and have been rooted pretty much the whole year I've had it. I've probably flashed over 100 different Roms on it (like twice a week sometimes). Has anyone noticed their phone sorta... crapping out on them. I mean, I use my Evo daily like mad, so it's definitely done me a good service these last 365.
Basically my question is, does treating your phone like a refillable flask of whiskey hurt it? Flash abuse? Flashoholicism on my phone, is it as damaging as alcoholism on me?
I'm scared!
Click to expand...
Click to collapse
I don't believe it would do damage to your phone. I haven't noticed any ill effects on my phone.
LearnIIBurn said:
I've had my Evo 4G since release day, and have been rooted pretty much the whole year I've had it. I've probably flashed over 100 different Roms on it (like twice a week sometimes). Has anyone noticed their phone sorta... crapping out on them. I mean, I use my Evo daily like mad, so it's definitely done me a good service these last 365.
Basically my question is, does treating your phone like a refillable flask of whiskey hurt it? Flash abuse? Flashoholicism on my phone, is it as damaging as alcoholism on me?
I'm scared!
Click to expand...
Click to collapse
And you should be...JK I believe it is Flasholism...meh...Hi my name is..
from my understanding, flash memory starts to deteriorate after 45,000 wipes. Simple math states:
1 year on evo = 123 flashes per day
2 years on evo = 61 flashes per day
3 years on evo = 43 flashes per day
4 years on evo = 31 flashes per day
5 years on evo = 25 flashes per day
... and you notice a regressive curve, eventually equaling 1 flash per day ~123 years.
i would start to be concerned around years 60-80 taking hardware deterioration into account.
however, if you save 1 penny per day (assuming cost of phone is $500 excluding rebates) it will take 137 years to purchase a new phone
saving $10/day will take 50 days, but is similar to the monthly cost of a new car (excluding down payment, tax and tags) which should only account for 8% of your monthly income which would equal $3800/month or an annual income of $45,600/year
recommendation: buy a new phone within the next 4 years
mind boggling
alaman68 said:
from my understanding, flash memory starts to deteriorate after 45,000 wipes. Simple math states:
1 year on evo = 123 flashes per day
2 years on evo = 61 flashes per day
3 years on evo = 43 flashes per day
4 years on evo = 31 flashes per day
5 years on evo = 25 flashes per day
... and you notice a regressive curve, eventually equaling 1 flash per day ~123 years.
i would start to be concerned around years 60-80 taking hardware deterioration into account.
however, if you save 1 penny per day (assuming cost of phone is $500 excluding rebates) it will take 137 years to purchase a new phone
saving $10/day will take 50 days, but is similar to the monthly cost of a new car (excluding down payment, tax and tags) which should only account for 8% of your monthly income which would equal $3800/month or an annual income of $45,600/year
recommendation: buy a new phone within the next 4 years
Click to expand...
Click to collapse
You get Thanks from me simply for actually doing that math, then the other math...and that little bit of budgeting math there at the end...who needs college when you have XDA members? HAHA
Answered my question Lmfao. And I was worried about the few 4or5. i've flashed ... whew I'm safe lol
Sent from my pc36100 using XDA premium app

Relieving Myself of My Bravo

Hi, before I get anywhere else in this thread I must first say thank you. Thank you to all the developers and testers, all the time you spent trying to perfect such a tiny little device meant so much, especially towards the beginning when dealing with MotoBlur was a hassle on its own. You all are very great at what you do, especially in comparison to my own knowledge on android development, which is nothing. :laugh:
Secondly, I wasn't sure where to put this thread, I just set it somewhere where I knew it would have the best chance at being seen. I apologize in advance if I put it in the wrong subforum.
Anywho, the whole reason I made this thread is simple: I upgraded to the Samsung Galaxy S2 Skyrocket, and am no longer in need of my Bravo.
I know I could use it as a backup phone, but to be honest I have an old Samsung Epix that I like to use off and on. Back to Bravo point, I feel like getting rid of it.
It's in fair shape, with no cracks or dead pixels, but with 2 years worth of scratches when using it without a screen protector. It even has a new battery I put in last month. I know it's not perfect, but I imagine someone on here has one in way worse shape, or needs a spare for development purposes.
So, my offer is this: anyone who is interested in this phone needs only to send me a PM with a very brief explanation as to why they'd like it. I'm not some dean of a university requiring a 12 point essay as to why you deserve it more, I'd just like to know what you'd benefit from it.
In return, whoever ends up getting it, I ship it to you, minus the usb cable and SD card. For free. In other words past the PM sent, I would require nothing more.
Is it wrong of me to set this up here? I dunno. I've just seen people discussing their phones in the past as having major cracks and such, or needing to buy another one, and decided giving it away was better than letting it sit and gather dust.
But anyway, if you stuck it out and read the whole thing, and you're interested, thanks for reading.
-Hippy
hippyman said:
Hi, before I get anywhere else in this thread I must first say thank you. Thank you to all the developers and testers, all the time you spent trying to perfect such a tiny little device meant so much, especially towards the beginning when dealing with MotoBlur was a hassle on its own. You all are very great at what you do, especially in comparison to my own knowledge on android development, which is nothing. :laugh:
Secondly, I wasn't sure where to put this thread, I just set it somewhere where I knew it would have the best chance at being seen. I apologize in advance if I put it in the wrong subforum.
Anywho, the whole reason I made this thread is simple: I upgraded to the Samsung Galaxy S2 Skyrocket, and am no longer in need of my Bravo.
I know I could use it as a backup phone, but to be honest I have an old Samsung Epix that I like to use off and on. Back to Bravo point, I feel like getting rid of it.
It's in fair shape, with no cracks or dead pixels, but with 2 years worth of scratches when using it without a screen protector. It even has a new battery I put in last month. I know it's not perfect, but I imagine someone on here has one in way worse shape, or needs a spare for development purposes.
So, my offer is this: anyone who is interested in this phone needs only to send me a PM with a very brief explanation as to why they'd like it. I'm not some dean of a university requiring a 12 point essay as to why you deserve it more, I'd just like to know what you'd benefit from it.
In return, whoever ends up getting it, I ship it to you, minus the usb cable and SD card. For free. In other words past the PM sent, I would require nothing more.
Is it wrong of me to set this up here? I dunno. I've just seen people discussing their phones in the past as having major cracks and such, or needing to buy another one, and decided giving it away was better than letting it sit and gather dust.
But anyway, if you stuck it out and read the whole thing, and you're interested, thanks for reading.
-Hippy
Click to expand...
Click to collapse
Nice offer. Maybe a developer needs it somewhere. If not, craiglists or eBay for 50$.
TheLastSidekick said:
Nice offer. Maybe a developer needs it somewhere. If not, craiglists or eBay for 50$.
Click to expand...
Click to collapse
He was open to PM's on it for a week. I was the only one who replied so I was supposed to get it. He said I'd get in in a week or two -- that was almost 3 months ago and he hasn't logged onto XDA since August 16th. Hopefully nothing bad happened to him, but I'd have liked an "I'm sorry I can't send it PM" versus waiting on it for a month and a half and nothing.
//With his name being Hippyman, he could have easily been pulled over with a bag of "oregano". A buddy of mine got 3 months in county, 2 years probation, and drivers license revoked for 2 years because a state trooper in Arizona found a single weed seed on the floorboard (felony charge).
/csb time -- well, sort of
A few years back, I got an overnight job a Wal-Mart so I picked up my buddy and we went out driving all night (I was getting my body adjusted to overnight hours before the job started). I was stone cold sober, but my buddy had taken 2 xanax bars, a percocet, and a fifth of vodka (I despise pills and will never take them). A (county) cop pulled me over for going 55 in a 35 (I sped up to 55 because I SAW the speed limit sign that said 55 -- I ended up pulling over 3 ft from that sign). While he was searching my car (probable cause because my eyes were red from exhaustion) he found some tobacco on my floorboard from a cigar that was stepped on and I hadn't bothered to clean up (It was my first car and trashed to hell by this time so crap on the floor didn't matter to me by then; got a Mazda Miata a few weeks later).
The cop tried to give me a dui ticket for tobacco on the floor and having red eyes -- but it pissed him off that I could easily pass the sobriety tests - easily passed because I was SOBER.
The cop ended up giving me a speeding ticket cause he couldn't prove I was high (which I wasn't) and made my friend drive us out of that county -- remember that list of crap he had taken above, well, combine that with the fact that my friend didn't have a drivers license. He was totally f***ed up and nowhere in the state of mind to drive a car. I steered the car until we hit the county line a few miles later. Ended up having to pay $250 because I accelerated 100ft too soon.
If you ever go to Arkansas, stay away from Arkadelphia cause the cops their are complete morons. Also, if you ever do get pulled over, have a bag of "oregano", and get searched -- hide it in your damn left hand. I've been searched 3 times now with between a half ounce and two ounces and they have yet to find any of it......I have no idea how they missed the 2 oz in my hand, but they did....
skeevy420 said:
He was open to PM's on it for a week. I was the only one who replied so I was supposed to get it. He said I'd get in in a week or two -- that was almost 3 months ago and he hasn't logged onto XDA since August 16th. Hopefully nothing bad happened to him, but I'd have liked an "I'm sorry I can't send it PM" versus waiting on it for a month and a half and nothing.
//With his name being Hippyman, he could have easily been pulled over with a bag of "oregano". A buddy of mine got 3 months in county, 2 years probation, and drivers license revoked for 2 years because a state trooper in Arizona found a single weed seed on the floorboard (felony charge).
/csb time -- well, sort of
A few years back, I got an overnight job a Wal-Mart so I picked up my buddy and we went out driving all night (I was getting my body adjusted to overnight hours before the job started). I was stone cold sober, but my buddy had taken 2 xanax bars, a percocet, and a fifth of vodka (I despise pills and will never take them). A (county) cop pulled me over for going 55 in a 35 (I sped up to 55 because I SAW the speed limit sign that said 55 -- I ended up pulling over 3 ft from that sign). While he was searching my car (probable cause because my eyes were red from exhaustion) he found some tobacco on my floorboard from a cigar that was stepped on and I hadn't bothered to clean up (It was my first car and trashed to hell by this time so crap on the floor didn't matter to me by then; got a Mazda Miata a few weeks later).
The cop tried to give me a dui ticket for tobacco on the floor and having red eyes -- but it pissed him off that I could easily pass the sobriety tests - easily passed because I was SOBER.
The cop ended up giving me a speeding ticket cause he couldn't prove I was high (which I wasn't) and made my friend drive us out of that county -- remember that list of crap he had taken above, well, combine that with the fact that my friend didn't have a drivers license. He was totally f***ed up and nowhere in the state of mind to drive a car. I steered the car until we hit the county line a few miles later. Ended up having to pay $250 because I accelerated 100ft too soon.
If you ever go to Arkansas, stay away from Arkadelphia cause the cops their are complete morons. Also, if you ever do get pulled over, have a bag of "oregano", and get searched -- hide it in your damn left hand. I've been searched 3 times now with between a half ounce and two ounces and they have yet to find any of it......I have no idea how they missed the 2 oz in my hand, but they did....
Click to expand...
Click to collapse
Wow that is ridiculous. Won't have to worry about that though after getting caught in my bathroom lighting it up for the second time
BravoMotorola said:
Wow that is ridiculous. Won't have to worry about that though after getting caught in my bathroom lighting it up for the second time
Click to expand...
Click to collapse
Luckily, I've never been caught, except by my Dad when I was 17 (not smoking, just came home REALLLLLLY high). He ended up taking my stash, then 3 days later after he went through it, he came to me to get him some since it was way better than what he was getting at the time. When I told him it was only 25 a q, he was pissed cause he was having to pay 50 a q for the same. I was loling since connections were better than his.
The closest to actually being caught were the 2 times I was pulled over with quantity that I palmed in my left hand, and this time at school -- I was accused of drinking on campus that day; it was bs, I was drunk the previous day. Anyways, I had 2 packs of smokes and 2 separate halves on me -- one was regular, one was killer -- and on the way up to the office to get searched for the bottle I didn't have, I walked two steps behind the dean and started tossing my stash on top of lockers we went down the hall. Got searched, they found nothing, left the office, recovered everything, and went on with my day as usual. FYI, the one and only day I ever drunk at school was a free day at the end of the third quarter and all my tests were done -- the only thing on the agenda that day was watching movies or sleeping in class -- me and my buddy opted to get drunk. We'd have skipped that day, but if either of us would have one more day we'd be denied credit for the quarter. You could only miss 4 days every 18 weeks....
So there's actual rom crap here.....I flashed Quarx's CM10 Custom Kernel rom for the Defy Plus earlier (unmodified). Runs smooth and great, but the capactive buttons are way off and need to be fixed for normal use, camera didn't work (I expected that), capactive buttons also stay at 100% brightness. I think with a little bit of tweaking it could run great on the Bravo.
skeevy420 said:
Luckily, I've never been caught, except by my Dad when I was 17 (not smoking, just came home REALLLLLLY high). He ended up taking my stash, then 3 days later after he went through it, he came to me to get him some since it was way better than what he was getting at the time. When I told him it was only 25 a q, he was pissed cause he was having to pay 50 a q for the same. I was loling since connections were better than his.
The closest to actually being caught were the 2 times I was pulled over with quantity that I palmed in my left hand, and this time at school -- I was accused of drinking on campus that day; it was bs, I was drunk the previous day. Anyways, I had 2 packs of smokes and 2 separate halves on me -- one was regular, one was killer -- and on the way up to the office to get searched for the bottle I didn't have, I walked two steps behind the dean and started tossing my stash on top of lockers we went down the hall. Got searched, they found nothing, left the office, recovered everything, and went on with my day as usual. FYI, the one and only day I ever drunk at school was a free day at the end of the third quarter and all my tests were done -- the only thing on the agenda that day was watching movies or sleeping in class -- me and my buddy opted to get drunk. We'd have skipped that day, but if either of us would have one more day we'd be denied credit for the quarter. You could only miss 4 days every 18 weeks....
So there's actual rom crap here.....I flashed Quarx's CM10 Custom Kernel rom for the Defy Plus earlier (unmodified). Runs smooth and great, but the capactive buttons are way off and need to be fixed for normal use, camera didn't work (I expected that), capactive buttons also stay at 100% brightness. I think with a little bit of tweaking it could run great on the Bravo.
Click to expand...
Click to collapse
Good news on the rom!! and great story for a lazy sunday!
Haha great story. They never took my stash because I said it was all gone but I still haven't smoked it because the drug test me. Anyways, so does the Defy kernel make it a lot smoother than before or does it seem smoother or what?
BravoMotorola said:
Haha great story. They never took my stash because I said it was all gone but I still haven't smoked it because the drug test me. Anyways, so does the Defy kernel make it a lot smoother than before or does it seem smoother or what?
Click to expand...
Click to collapse
it's smoother and snappier for a host of reasons - the main one being optimization of the interactive governor with power hal. using any other governor with these builds may cause problems. q is working on 3.0 kernel now
syllogyking said:
it's smoother and snappier for a host of reasons - the main one being optimization of the interactive governor with power hal. using any other governor with these builds may cause problems. q is working on 3.0 kernel now
Click to expand...
Click to collapse
+1 to that. JB with custom kernel runs about as smooth as CM7 ports from back before Quarx supported the Bravo. The only real issue is the capacitive buttons. So far all I've done is grazed over the keylayout files, but they seemed to be the same as CM7 Defy keylayout. Enabling the virtual keys helps, but I'd like to figure out a real fix.
For the fun of it, I attempted to boot CM7 with the custom kernel, didn't work.
Have a working Defy CM7 1104 port (yesterday), bare bones works just fine, but one of PmR's tweaks killed the wifi . Having issues rebuilding framework-res.apk for the animations and some ICS theme elements. Still want to add in PDroid. I'll upload the bare bones rom later today if its wanted.
//Stash was taken cause I fell over the ottoman and it came out of my pocket. Only ever been tested for work; I've passed all but one, they called me for an interview WHILE I was smoking. Did every trick I knew and failed it. If I knew I wasn't going to be watched (first test at that place) I'd have brought clean pee with me. Medicinal MMJ on the ballot tomorrow, hopefully it'll pass since all my smoking anymore is for medicinal reasons -- a single bowl during the day (keeps me from being mean -- being an ass is a family trait of mine) and a bowl or two at night before bed to help me sleep -- once I turned 13 I started to get sleep issues to the point to where I would stay awake for 2-3 days at a time (insomnia sucks). I could take some happy pills and sleeping pills, but pills suck (most pill overdoses are from the chemical that holds the pill together, not the chemical that gets you high or whatever -- read about it, pills are evil). I didn't even take my pain pills from my last 2 breaks (left hand bone below pinky and tailbone) since they didn't even help.
i came back to see how my old phone's forum was doing and how much i miss that close relationship with the devs...and somewhere in that journey...
a **** arkansas!
syllogyking said:
it's smoother and snappier for a host of reasons - the main one being optimization of the interactive governor with power hal. using any other governor with these builds may cause problems. q is working on 3.0 kernel now
Click to expand...
Click to collapse
Interactive gov works great, but it does have one bug -- its hard-coded with a max rate of 1Ghz. If you set vsel4 higher than 1Ghz it will bootloop. Switching to boosted allowed me to boot with 300\600\900\1200. Not sure if Quarx knows or not...not many of us OC over 1Ghz. Interactive needs either some tweak settings in the bootmenu or a script that will take the max vsel rate and apply that to interactive's max rate settings....but I just finished syncing with the repos so its time to start a Bravo build .
Huh that's weird. I've been running 1.1 ghz at vsel4 with all the 2nd boot builds.
Sent from a smarter planet
syllogyking said:
Huh that's weird. I've been running 1.1 ghz at vsel4 with all the 2nd boot builds.
Sent from a smarter planet
Click to expand...
Click to collapse
That is weird, gonna set it to interactive real quick --- booted up and working just fine....I OC'd to 3\6\9\12 and bootlooped 3 times in a row, set to 3\6\9\10 and booted, set to 3/6/9/12 and bootlooped, changed to boosted and booted just fine, just now changed back to interactive and it boots....sigh.

[Q] Years and days counted from your birth date

Hi, I've just purchased Zooper Pro and cannot find an example that gives me the years and days accumulated since arriving on this Planet
Any example to the solution would be very helpful thanks
I understand it's a simple task but am unfamiliar with how Zooper works
Steve...
Echo_Steve said:
Hi, I've just purchased Zooper Pro and cannot find an example that gives me the years and days accumulated since arriving on this Planet
Any example to the solution would be very helpful thanks
I understand it's a simple task but am unfamiliar with how Zooper works
Steve...
Click to expand...
Click to collapse
While something like that should be possible with Zooper, there is currently a bug related to this that makes it impossible to use the included variables to do what you want. The only thing that currently works is the total days since your birthday, which would be #D<year><month><day>0000Td#.
Thank you
Sent from my C6603 using Tapatalk
Echo_Steve said:
Thank you
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Yeah, I have the string that was suggested to me from the Help thread, which comes close, but the days are way off: my birthday is in August, and it changed over in late February. But it just gives me a (roughly) accurate year count.
$(int(#D199901010000Td#/365.25))$ gives you the number of years, to about six month accuracy it seems.
Sokudoningyou said:
Yeah, I have the string that was suggested to me from the Help thread, which comes close, but the days are way off: my birthday is in August, and it changed over in late February. But it just gives me a (roughly) accurate year count.
$(int(#D199901010000Td#/365.25))$ gives you the number of years, to about six month accuracy it seems.
Click to expand...
Click to collapse
The problem here is that you're using INT which rounds so at six months it is rounding up. Replace INT with FLOOR and it is accurate.

Need Help with a String

Hey everyone i'm trying to write out a string but i'm getting the wrong value returned and I don't know why. I want to have a rectangle change colors if the first event day of month, second event day of month, and third event day of month are the same AND the first event day of month is today. Right now my string is:
[c]$#C0Sd#=#C1Sd#&&#C1Sd#=C2Sd#&&#C0Sd#=#Dd#?#4affffff:#00ffffff$[/c]
and i'm getting [c]#00ffffff[/c] even though all of the event days are the same and the first event day of the month is today. Any help would be appreciated!
czonin said:
Hey everyone i'm trying to write out a string but i'm getting the wrong value returned and I don't know why. I want to have a rectangle change colors if the first event day of month, second event day of month, and third event day of month are the same AND the first event day of month is today. Right now my string is:
[c]$#C0Sd#=#C1Sd#&&#C1Sd#=C2Sd#&&#C0Sd#=#Dd#?#4affffff:#00ffffff$[/c]
and i'm getting [c]#00ffffff[/c] even though all of the event days are the same and the first event day of the month is today. Any help would be appreciated!
Click to expand...
Click to collapse
Looks like you're missing a # on #C2Sd# or is that just a typing error in your post?
Send from my secret moonbase via space carrier pigeons
kwerdenker said:
Looks like you're missing a # on #C2Sd# or is that just a typing error in your post?
Send from my secret moonbase via space carrier pigeons
Click to expand...
Click to collapse
Ya I realized that just as you answered, thanks! What I have been trying to get working is still running into issues. If you have some free time would you mind giving me a hand with it?
czonin said:
Hey everyone i'm trying to write out a string but i'm getting the wrong value returned and I don't know why. I want to have a rectangle change colors if the first event day of month, second event day of month, and third event day of month are the same AND the first event day of month is today. Right now my string is:
[c]$#C0Sd#=#C1Sd#&&#C1Sd#=C2Sd#&&#C0Sd#=#Dd#?#4affffff:#00ffffff$[/c]
and i'm getting [c]#00ffffff[/c] even though all of the event days are the same and the first event day of the month is today. Any help would be appreciated!
Click to expand...
Click to collapse
It looks like there is a little syntax error:
[c]$#C0Sd#==#C1Sd#&&#C1Sd#==C2Sd#&&#C0Sd#==#Dd#?#4affffff:#00ffffff$[/c]
What you were doing was stating #C0Sd# EQUALS #C1Sd# not asking -- IF #C0Sd# EQUALS #C1Sd#
A single = means this is going to equal that
A double = means does this equal that
If you want it to NOT equal then != or less than equal to <= etc...
Now, here is the other thing... If you are trying to use the [c] COLOR in markup text, then it is [c=#00ffffff]Your text[/c]
Let me know if that is what your looking for, I tried to duplicate it on mine, but it just shows #00ffffff
Good Luck

Categories

Resources