Related
Is it possible to create a widget that will draw images randomly from a designated folder. I've been searching to see if someone has done something similar to this but it looks like the closest I can get is using the images as an iconset although I still don't know how I would have Zooper pull the images randomly (I want to add to the folder occasionally). Is this something that I could do by adding in Tasker?
Any ideas?
I currently have an image widget on one of my homescreens and the way I do it is as follows:
I basically add each photo as a bitmap: So you add a bitmap module and then you navigate to the photo you want in your device gallery. After choosing your photo, you need to add advanced parameters that will control the bitmap opacity at a certain time during the day.
[bo][/bo] is used for bitmap opacity
#DH# is used for local hour during the day (0-23)
my conditional is set up as follows for my first photo.
[bo]$#DH#>=16&&#DH#<22?100:0$[/bo]
What this means is that if the current local time on my device is between the hours of 16 to 22 (4pm to 10pm) then set the bitmap opacity to 100%, else set it to 0%. You can theoretically set this up to have a max of 24 photos (one per hour) each day that continually loops. Mine is set up in intervals of 6 hours (4 photos total) but I plan on changing the values to allow for more.
The next one would be:
[bo]$#DH#>=22||#DH#<04?100:0$[/bo]
Notice I use an OR statement || versus an AND statement && because the value goes from 0-23 and if you used an && here the image would never display because of the conflicting conditional.
http://www.webermatters.com/blog/zooper-conditional-statements/
This is a good website that outlines conditional statements in ZW.
I'm assuming this is sort of what you are going for with your widget? It's not really "random" per se but it gets the job done. Not quite sure what you could do involving tasker.
greckia said:
I'm assuming this is sort of what you are going for with your widget? It's not really "random" per se but it gets the job done. Not quite sure what you could do involving tasker.
Click to expand...
Click to collapse
I was thinking about doing exactly this or possibly applying weather conditions to various pictures also. It doesn't really look like it's possible to add a random factor but this should do the trick.
Your steps are exactly what I needed.
Thanks
crios42 said:
It doesn't really look like it's possible to add a random factor
Click to expand...
Click to collapse
There is mathematical function you can use called rand...
Izzy Lamantia helped me out with this ...
The random function provides a number between 0*1, like 0.866390265. Let's say you had 10 pictures (named 1.jpg, 2.jpg, etc.) you wanted to randomize on the hour:
$#Dm#=0?(int(random()*10)$.jpg
So again, on every hour a random number will be generated, multiplied by 10, and return it as an integer 0.866390265 x10= 8.66390265, as an integer 8.
chandlerweb said:
There is mathematical function you can use called rand...
Izzy Lamantia helped me out with this ...
The random function provides a number between 0*1, like 0.866390265. Let's say you had 10 pictures (named 1.jpg, 2.jpg, etc.) you wanted to randomize on the hour:
$#Dm#=0?(int(random()*10)$.jpg
So again, on every hour a random number will be generated, multiplied by 10, and return it as an integer 0.866390265 x10= 8.66390265, as an integer 8.
Click to expand...
Click to collapse
So I would need to label the images: 1.png (I'm using png's), 2.png, 3.png, etc...?
Would the limit then be 10 images? If I wanted to use more than 10 images I could x 100 but then I'm guessing I would need to assign each image a range, if n >= 25 and n < 30 then x.png and so on. Can that be done?
Also, I'm a little unclear about how bitmap absolute path works. Is there a specific folder that I would need to put my bitmaps in? Looking at this example it seems that I can pick any folder I want.
It's awesome to hear that this can be done. I just need to work out the details now.
chandlerweb said:
$#Dm#=0?(int(random()*10)$.jpg
Click to expand...
Click to collapse
I was having some trouble getting this working but I finally found that there needs to be an extra set of parentheses.
$#Dm#=0?(int(random())*100)$ which give me a 2 digit number.
Now... I either have to pick 100 images (and label them 0-99, or is it 1-100?) or find a way to give the images a range.
If I have 2 separate widgets using the same parameters and drawing from the same folder, will the random number be the same or different in each of the widgets?
crios42 said:
I was having some trouble getting this working but I finally found that there needs to be an extra set of parentheses.
$#Dm#=0?(int(random())*100)$ which give me a 2 digit number.
Now... I either have to pick 100 images (and label them 0-99, or is it 1-100?) or find a way to give the images a range.
If I have 2 separate widgets using the same parameters and drawing from the same folder, will the random number be the same or different in each of the widgets?
Click to expand...
Click to collapse
Sorry for the delay in getting back to you
You would need 100 images and label them 1-100 if your multiplier is 100. You would need, say, 123 images and label them 1-123 if you multiplier is 123 i.e. $#Dm#=0?(int(random())*123)$
In my experience, the number generated is always different even if two random functions are performed at the same time although there is always the possibility that it will occasionally be the same.
I can't seem to get the widget working.
Here are the parameters I'm using $#Dm#=43?/sdcard/Pictures/Pics1/(int((random())*10)).png$.
Ignore the 43. Whatever time it is, I just add a minute so that I don't have to wait long to see if the widget will update.
I thought it might be the file path so I tried a few others:
/storage/sdcard0/Pictures/Pics1/
/emulated/0/Pictures/Pics/
Any ideas?
is it possible to create a picture
I had tried it many times but that does not work out
Not sure if OP is still wanting an answer to this or not. I'm still working on getting this perfect but hopefully this will help someone.
Create a folder on your sd card and put 10 jpg's in there titled 1.jpg through 10.jpg
Create a Zooper Widget and add a bitmap layer
do not choose an image, instead select Advanced Parameters and insert the following code
/sdcard/full path to image folder/$#Dm#>0?(int((random())*10)))$.jpg
If the above is correct then the example box should list /sdcard/full path to image folder/*.jpg
What does this do? If the minute is greater than 0 it will generate a pseudo-random number between 1 and 0. If you have set Zooper to update when the screen is off then you will want to replace the ">" with "=" so it only updates once an hour. You can make further adjustments by using Dh for hours rather than minutes. As stated above you can increase the images by multiplying by 100.
I wrote it like I did because I don't let Zooper update while the screen is off. If I changed the image on the hour it would likely not update the image because I would have to have my screen on at the beginning of each hour. As it is, it changes the image every 10 seconds or so whenever I have the screen on.
I am open to other modifications of this so I can keep Zooper configured to not update when the screen is off, and only change the images every 10 minutes or so.
Also, you may want a fallback image so you have something to display while you wait to whatever condition needs to be meet in order for Zooper to generate the random number.
SoldierOfCatan said:
Not sure if OP is still wanting an answer to this or not. I'm still working on getting this perfect but hopefully this will help someone.
Create a folder on your sd card and put 10 jpg's in there titled 1.jpg through 10.jpg
Create a Zooper Widget and add a bitmap layer
do not choose an image, instead select Advanced Parameters and insert the following code
/sdcard/full path to image folder/$#Dm#>0?(int((random())*10)))$.jpg
If the above is correct then the example box should list /sdcard/full path to image folder/*.jpg
What does this do? If the minute is greater than 0 it will generate a pseudo-random number between 1 and 0. If you have set Zooper to update when the screen is off then you will want to replace the ">" with "=" so it only updates once an hour. You can make further adjustments by using Dh for hours rather than minutes. As stated above you can increase the images by multiplying by 100.
I wrote it like I did because I don't let Zooper update while the screen is off. If I changed the image on the hour it would likely not update the image because I would have to have my screen on at the beginning of each hour. As it is, it changes the image every 10 seconds or so whenever I have the screen on.
I am open to other modifications of this so I can keep Zooper configured to not update when the screen is off, and only change the images every 10 minutes or so.
Also, you may want a fallback image so you have something to display while you wait to whatever condition needs to be meet in order for Zooper to generate the random number.
Click to expand...
Click to collapse
I did the above, but had to add an extra parentheses before the word "int" to get it to display properly in the example box.
/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg
However, when I save and exit out of the Zooper, it still just shows the default "folder" icon. I have it pointing to 1-10.jpg in a folder called "test" on my internal SD. I also tried the code in the advanced parameters of an existing picture I had on my widget, and it didn't do anything either.
HA! Figured it out. What a dummy I am. You have to put the b tags first
[*b]/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg[/b]
(without the asterisk I couldn't get it to show since it's the same code for "Bold" on the forum)
rachelm920 said:
HA! Figured it out. What a dummy I am. You have to put the b tags first
[*b]/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg[/b]
(without the asterisk I couldn't get it to show since it's the same code for "Bold" on the forum)
Click to expand...
Click to collapse
If you have pictures 1-10 and you use random times 10, wouldn't the only picture that would get displayed be picture 10 (which is when random equals 1, times 10).
Or is the value for ((int((random())*10))) actually limiting the random numbers to be 1-10?
SchmilK said:
If you have pictures 1-10 and you use random times 10, wouldn't the only picture that would get displayed be picture 10 (which is when random equals 1, times 10).
Or is the value for ((int((random())*10))) actually limiting the random numbers to be 1-10?
Click to expand...
Click to collapse
I actually have 66 pictures and the number increases everyday, since they're pictures of my boyfriend and he's constantly sending me new ones... or we're taking new ones etc. LOL I just change the number it multiplies by as the pictures increase.
I'm not sure if number one gets displayed... I could however rename picture one to 67 so there's never a problem. Since there's so many its hard to tell.
rachelm920 said:
HA! Figured it out. What a dummy I am. You have to put the b tags first
[*b]/sdcard/full path to image folder/$#Dm#>0?((int((random())*10)))$.jpg[/b]
(without the asterisk I couldn't get it to show since it's the same code for "Bold" on the forum)
Click to expand...
Click to collapse
mate, i did following your code but in zooper widget, it only shown folder icon, i use .png picture, so this is correct, it must be jpg ?
Oohhlala said:
mate, i did following your code but in zooper widget, it only shown folder icon, i use .png picture, so this is correct, it must be jpg ?
Click to expand...
Click to collapse
Not sure I only tried it with .jpg
Sent from my SAMSUNG-SGH-I747 using Tapatalk
You should be able to do this with tasker/zooper integration. I have a weather radar image that I download via tasker. Due to how zooper buffers images I haev to change the filename each time I refresh the image. The new alternating path to the image is passed from tasker to zooper. First time is w1.jpg, next time is w2.jpg. This idea could be extended for images in a folder.
I am making a spin-off of infobar, and I have it mostly working the want I want with two exceptions:
1) The weather string is usually fine, but in some cases it gets too large. Is there any way to get it to wrap to a specific bounding rectangle, or to shrink it if it gets past a certain length? Is there some way to test how long the string is? I don't want to use [tr], because I want to see the whole string.
2) Right now I am using [tr=0,25] to make sure the appointments don't overrun the box. I use [tr=0,25] instead of [tr=25] because I don't want the "..." for shorter strings. Is there some way to test the length of the string so I can only use the [tr] when I need to? That way I can get the "..." when it is appropriate. I tried using
$[tr=0,22]#C0TITLE#[tr]=#C0TITLE#?#C0TITLE#: [tr=22]#C0TITLE#[/tr]$
but the [tr=0,22]#C0TITLE#[tr]=#C0TITLE# always comes back as not equal.
Thanks.
mlkaufman said:
I am making a spin-off of infobar, and I have it mostly working the want I want with two exceptions:
1) The weather string is usually fine, but in some cases it gets too large. Is there any way to get it to wrap to a specific bounding rectangle, or to shrink it if it gets past a certain length? Is there some way to test how long the string is? I don't want to use [tr], because I want to see the whole string.
2) Right now I am using [tr=0,25] to make sure the appointments don't overrun the box. I use [tr=0,25] instead of [tr=25] because I don't want the "..." for shorter strings. Is there some way to test the length of the string so I can only use the [tr] when I need to? That way I can get the "..." when it is appropriate. I tried using
$[tr=0,22]#C0TITLE#[tr]=#C0TITLE#?#C0TITLE#: [tr=22]#C0TITLE#[/tr]$
but the [tr=0,22]#C0TITLE#[tr]=#C0TITLE# always comes back as not equal.
Thanks.
Click to expand...
Click to collapse
There is currently no way to test the length of a string in Zooper, sorry. As to the "wrap to a specific bounding rectangle", check out the X margin and Lines on a Rich Text Module The first defines the distance in pixels from the screen side when the text will break into additional lines. The second option sets into how many lines the text will break at maximum. Anything above that will be cut-off without an indicator like you get with the trim option. It's not exactly what you are looking for but I thought you might want another option to work with
Ask Your Zooper Question!
Having gone through the, at the moment of typing, 7 pages in this subforum; it quickly became apparent that a lot of members had questions they wanted answered regarding varying components of Zooper Widget Pro ranging from problems "caused" by it to some coding/programming help.
My aim is to create a singular thread where members can dump all of their queries and, hopefully, in that process help each other out where possible. Of course, it wouldn't go amiss if a few wisened senior members (read: not me) can drop in every now and then to aid replying to the questions. If you have some niche/specific questions, by all means go ahead and create your own thread if you can't find your solution here.
As thread starter, I'll make it clear that, unlike Zooper Widget, I'm no Pro. I've been playing around with UCCW for a long time until recently another member advised me to give Zooper a try. It's been a week since then, and I'm still being amazed by the features available. I've still got to learn more about integrating with Tasker in order to add even more functionality but I've got plenty of time to work that out.
Currently, I've been working on a mainly Zooper based homescreen pack which I may post later on. Suffice to say, I have basic knowledge of manipulating codes, editing layout, and dabbled my hands in progress bars, changing icon sets, etc. I think it would be a great idea to spread what I know and, perhaps, get something back as well.
Links to somewhat helpful resources which you should probably have a look at before making your post here:
- Zooper Widget - The Complete Guide VIDEO
- Zooper Widget Conditionals - The Basics VIDEO
- Zooper Widget - Advanced Parameters VIDEO
- Comprehensive list of Zooper Guides, References & Advanced Parameters as compiled by Kwerdenker XDA
Cheers.
Okay, I'll start. I can't get my widget transparent. Under Widget Background I have moved the slider all the way to the right, but when I back out, the setting doesn't stick. Is this a Pro-only feature? Thanks
jdjohn said:
Okay, I'll start. I can't get my widget transparent. Under Widget Background I have moved the slider all the way to the right, but when I back out, the setting doesn't stick. Is this a Pro-only feature? Thanks
Click to expand...
Click to collapse
Definitely a free feature. Ensure you are doing the following:
- Select "Widget Background"
- Slide alpha handle all the way to the right until the first 2 characters after the number sign is 00
- Tap on the 2nd colour preview box (the one which shows the new colour) instead of backing out
- Select force update
- Exit Zooper configuration
- Background should be transparent now
Let me how you get along.
Rickav said:
Definitely a free feature. Ensure you are doing the following:
- Select "Widget Background"
- Slide alpha handle all the way to the right until the first 2 characters after the number sign is 00
- Tap on the 2nd colour preview box (the one which shows the new colour) instead of backing out
- Select force update
- Exit Zooper configuration
- Background should be transparent now
Let me how you get along.
Click to expand...
Click to collapse
That worked! Tapping the 2nd color preview box was the trick. Thanks very much! Attached is a screenshot of my humble beginnings.
jdjohn said:
That worked! Tapping the 2nd color preview box was the trick. Thanks very much! Attached is a screenshot of my humble beginnings.
Click to expand...
Click to collapse
Brilliant... The first happy customer of the thread. Hopefully, the first of many to come...
I have a question about creating a network status Iconset. I read through the official zooper post about creating a battery set, then I changed that to network variables. I set up the images and the config xml and everything "seems" to be ok. When I create the widget and call the Iconset it displays only full signal. I also called dbm and ncsig separately in a text module to compare and troubleshoot.
I get a constant full signal Iconset, 85 dbm and 99% signal without change throughout the day.
I'm at work so I can't post my config text but I set it up to look at ncsig mode and display different icons depending on if ncsig=0 ncsig>0 ncsig>25 ncsig>50.. Etc. I'm not sure what is exactly wrong but nothing updates or changes.
I'm on a Samsung Galaxy, usually getting 4G, with a custom Paranoid Android ROM 3.99+ and I'm using lightning launcher. I would consider myself an advanced User but I can't find any real resources for signal status and bars to work this out on my own.
Sent from my Galaxy Nexus using xda app-developers app
.ax said:
I have a question about creating a network status Iconset. I read through the official zooper post about creating a battery set, then I changed that to network variables. I set up the images and the config xml and everything "seems" to be ok. When I create the widget and call the Iconset it displays only full signal. I also called dbm and ncsig separately in a text module to compare and troubleshoot.
I get a constant full signal Iconset, 85 dbm and 99% signal without change throughout the day.
I'm at work so I can't post my config text but I set it up to look at ncsig mode and display different icons depending on if ncsig=0 ncsig>0 ncsig>25 ncsig>50.. Etc. I'm not sure what is exactly wrong but nothing updates or changes.
I'm on a Samsung Galaxy, usually getting 4G, with a custom Paranoid Android ROM 3.99+ and I'm using lightning launcher. I would consider myself an advanced User but I can't find any real resources for signal status and bars to work this out on my own.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Without seeing your iconset XML I can't say much but here is my current variant to emulate a network status display. These values follow the ones used in Androids SignalStrength.java.
Code:
$[#NCSIG#>=12] && [#NCSIG#<99]?4$
$[#NCSIG#>=8] && [#NCSIG#<12]?3$
$[#NCSIG#>=5] && [#NCSIG#<8]?2$
$[#NCSIG#>2] && [#NCSIG#<5]?1$
$[#NCSIG#<=2] || [#NCSIG#=99]?0$
Hope this helps you out
kwerdenker said:
Without seeing your iconset XML I can't say much but here is my current variant to emulate a network status display. These values follow the ones used in Androids SignalStrength.java.
Code:
$[#NCSIG#>=12] && [#NCSIG#<99]?4$
$[#NCSIG#>=8] && [#NCSIG#<12]?3$
$[#NCSIG#>=5] && [#NCSIG#<8]?2$
$[#NCSIG#>2] && [#NCSIG#<5]?1$
$[#NCSIG#<=2] || [#NCSIG#=99]?0$
Hope this helps you out
Click to expand...
Click to collapse
SOOOO sorry I posted in your thread, I was on my xda app and I didn't notice it was all on your screens, didn't mean to muck it up.
Those last few variable lines look foreign to me, I haven't seen the signalstrenght.java, I'll have to take a look.
This is super basic, I'm completely based of limited examples online, I can't find any resources on code for the signal anywhere. I'd love some resources if you have any. I can pick apart code to make things work for me I just need to see working examples.
My config.xml looks like this:
<?xml version="1.0" encoding="utf-8" ?>
- <!-- #NCSIG# 25% Bars -->
- <config>
<title>Cell Status Icons</title>
<description>Cell / Alarm Set</description>
<demo>demo.png</demo>
<icons>icons</icons>
<default>alarm2.png</default>
<mode value="#NCSIG#">Cell Signal</mode>
<mode value="Alarm">Alarm Set/Not Set</mode>
- <condition>
<test>#MODE#=Alarm</test>
- <condition>
<test>#SALARM#=Not Set</test>
<image>alarm2.png</image>
</condition>
- <condition>
<test>1=1</test>
<image>alarm1.png</image>
</condition>
</condition>
- <condition>
<test>#NCSIG#>75</test>
<image>signal-4.png</image>
</condition>
- <condition>
<test>#NCSIG#>50</test>
<image>signal-3.png</image>
</condition>
- <condition>
<test>#NCSIG#>25</test>
<image>signal-2.png</image>
</condition>
- <condition>
<test>#NCSIG#>0</test>
<image>signal-1.png</image>
</condition>
- <condition>
<test>#NCSIG#=0</test>
<image>signal-0.png</image>
</condition>
</config>
Is there any way to get an unread count of all unread emails in K9 Mail? I tried following the instructions here: http://www.zooper.org/wp/old/topic/email-widget but I don't see how to get the folder_id of the INBOX folder or how to add multiple accounts together.
problem with zw skin
hello everyone..happy new year to all...need some assistance...I'm having trouble with my zooper pro widget...i can't add any skin to my homescreen and it keeps popping out not responding...this happens to me for over a month now and i don't know what else to do...i changed ROMs, install and uninstall my zooper, clear cache and and any that i can possibly think of...i'm currently using PA 4.0 beta ROM and zooper pro v2.44...please anyone...i need some help..
.ax said:
SOOOO sorry I posted in your thread, I was on my xda app and I didn't notice it was all on your screens, didn't mean to muck it up.
Those last few variable lines look foreign to me, I haven't seen the signalstrenght.java, I'll have to take a look.
This is super basic, I'm completely based of limited examples online, I can't find any resources on code for the signal anywhere. I'd love some resources if you have any. I can pick apart code to make things work for me I just need to see working examples.
Click to expand...
Click to collapse
I'll try to translate it to more "human readable" terms:
$[#NCSIG#>=12] && [#NCSIG#<99]?4$ => If #NCSIG# is equal-or-larger then 12 and smaller then 99, signal strength is four bars
$[#NCSIG#>=8] && [#NCSIG#<12]?3$ => If #NCSIG# is equal-or-larger then 8 and smaller then 12, signal strength is three bars
$[#NCSIG#>=5] && [#NCSIG#<8]?2$ => If #NCSIG# is equal-or-larger then 5 and smaller then 8, signal strength is two bars
$[#NCSIG#>2] && [#NCSIG#<5]?1$ => If #NCSIG# is equal-or-larger then 2 and smaller then 5, signal strength is one bar
$[#NCSIG#<=2] || [#NCSIG#=99]?0$ => If #NCSIG# is equal-or-smaller then 2 or or equal to 99, signal strength is not existent (special case)
You would have to port these conditionals as <test>'s to make your icon set. You can see from your XML that your values for NSIG were not in the correct value-range to make the icon change in any way
If you haven't seen it yet, here is the official tutorial on how to make icon sets for Zooper that explains the general structure and some caveats you have to keep in mind: Simple ZW Battery Iconset example
irasujamang said:
hello everyone..happy new year to all...need some assistance...I'm having trouble with my zooper pro widget...i can't add any skin to my homescreen and it keeps popping out not responding...this happens to me for over a month now and i don't know what else to do...i changed ROMs, install and uninstall my zooper, clear cache and and any that i can possibly think of...i'm currently using PA 4.0 beta ROM and zooper pro v2.44...please anyone...i need some help..
Click to expand...
Click to collapse
Could you explain a bit more of what you mean by "can't add any skin to my homescreen". Are meaning 3rd party apps such as Themer or Buzz out-fitting your homescreen in a new skin or something.
Also, you mentioned you are on Paranoid Android rom. I heard one of its main features is changing dpi. Currently, I too am on a custom rom in 240dpi and I can assure you 3rd party apps attempting to apply a new skin to a dpi other 320dpi has a very high tendency to break. If that's the case, perhaps try to change dpi settings through the appropriate Xposed module to see if that has a more positive effect.
Hi all!
I'm trying to create a curved text for hours on clock like that one in the screen shot attached to post. Unfortunately I can't get it done. Maybe someone have created this kind of text and could help me with it? Thanks in advance!
bladehawk said:
Is there any way to get an unread count of all unread emails in K9 Mail? I tried following the instructions here: http://www.zooper.org/wp/old/topic/email-widget but I don't see how to get the folder_id of the INBOX folder or how to add multiple accounts together.
Click to expand...
Click to collapse
The site you linked seemed to be pretty thorough in its instructions. I looked around and couldn't find much to add to that. Personally, I simply use Gmail so it's easy enough to link to that account. I'm guessing you've looked here as well.
It seems as if K9, and some other alternate e-mail providers, are not supported all that well with Zooper at the moment. Even with Tasker integration.
EDIT: Hold on, I have 2 email accounts; 1 Gmail & 1 Yahoo. I'm gonna download K9 & check if I can make it work with Zooper somehow. Let you know in a few.
2nd EDIT: That's a negative. Couldn't get K9 to work with Zooper. Kept giving me "-1" as unread number. Maybe wait for future updates for a fix.
Rickav said:
The site you linked seemed to be pretty thorough in its instructions. I looked around and couldn't find much to add to that. Personally, I simply use Gmail so it's easy enough to link to that account. I'm guessing you've looked here as well.
It seems as if K9, and some other alternate e-mail providers, are not supported all that well with Zooper at the moment. Even with Tasker integration.
EDIT: Hold on, I have 2 email accounts; 1 Gmail & 1 Yahoo. I'm gonna download K9 & check if I can make it work with Zooper somehow. Let you know in a few.
Click to expand...
Click to collapse
I use Gmail and the Email app that is found stock with android. I got counters to work for the email app with tasker integration. Only problem I have with it is that I have to open the app in order to clear the number (so if I delete the email from the notification, I still have the unread count as 1 due to not opening the app). It's a work in progress.
thanks
thanks for the info...maybe the DPI setting is causing the problem...whenever i tried to apply any skin...my zooper widget just froze up and pop up the notification saying that my zooper has stop responding...i will tried your solution. thanks again for helping.
Rickav said:
Could you explain a bit more of what you mean by "can't add any skin to my homescreen". Are meaning 3rd party apps such as Themer or Buzz out-fitting your homescreen in a new skin or something.
Also, you mentioned you are on Paranoid Android rom. I heard one of its main features is changing dpi. Currently, I too am on a custom rom in 240dpi and I can assure you 3rd party apps attempting to apply a new skin to a dpi other 320dpi has a very high tendency to break. If that's the case, perhaps try to change dpi settings through the appropriate Xposed module to see if that has a more positive effect.
Click to expand...
Click to collapse
Issue with icons on imported template
I've imported a media player template, that I downloaded from one of the forums here. However it is missing the icons, the template did not have any iconset files or anything else? are the iconsets built into the templates?
I have been doing a lot of reading but have not found anything about wind chill does anyone have any idea how to show it?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Wind chill $(35.74+0.6215*#WCTEMPN#-35.75*#WCWSPEED#^0.16+0.4275*#WCTEMPN#*#WCWSPEED#^0.16)$
If anyone wants it I think I got it worked out
Sent from my Nexus 7 using XDA Premium 4 mobile app
force update not working on widget on tap action... toast is displayed.. but widget is not updated.. any known issue with conflicting apps?
My current calendar code is the following:
Code:
#C0SEEE#: $#C0D#=1?All Day:#C0SHH.mm#$ | [tr=17]#C0TITLE#[/tr]
Is there a way to set calendar event lookahead time for seven days? I mean that if the next event is within the next 7 days, show it. If not, don't show it.
Also another question. Is it possible to show the event date if the event is not today and hide the date if event is today?
This can be done with Tasker. If you want, i can upload the profile that i use on my tab
drsood said:
This can be done with Tasker. If you want, i can upload the profile that i use on my tab
Click to expand...
Click to collapse
Sure, that would be nice. Can't it be done without Tasker?
If you write this code in Advanded Parameters
[c]$#C0STd#>7?#00000000$[/c]
text will be hided if it is more than seven days from now
cierzo said:
If you write this code in Advanded Parameters
[c]$#C0STd#>7?#00000000$[/c]
text will be hided if it is more than seven days from now
Click to expand...
Click to collapse
Thank you really much! I'll try that
Tasker profile
Eldmor said:
Sure, that would be nice. Can't it be done without Tasker?
Click to expand...
Click to collapse
Sorry for replying late. Was busy :cyclops:
Anyways, please find attached the profile I use.
A few things to note:
1) %caldays variable is set to value 0:6 currently. And that will show calendar entries for next 7 days. Change it to 0:13, for example, if you want to show the entries for next 14 days. Customize as per your need
2) In line 6, you can set the zooper variable as per your need. One very important thing here is that you need to add " °" next to %lup otherwise it wont work as expected
3) Create a Zooper richtext widget, click "edit text manually" and set it to
$#Tcalx#$
4)Dont set the tasker profile to update at 12:00 midnight, it doesnt work porperly. Just add a minute or 2 for it to work as expected
I hope its not too confusing. :silly: Just give it a shot.
It would be nice if someone can post a better solution
Hi,
This is what I have in my advanced params section:
110[c]$#Da#=PM?#980002:#FFFFFF$[/c]#Dh#55[c]#FFFFFF[/c]:#Dmm#
I want the hour to be font size 110 and dark red if its in the PM, the colon and minutes font size 55 and the text color white.
That looks right to me but its not. Point out the errors of my ways, please.
Regards,
Dave
Sent from my Nexus 5 using Tapatalk
MrBiggzz said:
Hi,
This is what I have in my advanced params section:
110[c]$#Da#=PM?#980002:#FFFFFF$[/c]#Dh#55[c]#FFFFFF[/c]:#Dmm#
I want the hour to be font size 110 and dark red if its in the PM, the colon and minutes font size 55 and the text color white.
That looks right to me but its not. Point out the errors of my ways, please.
Regards,
Dave
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I'll just describe how you can achieve the setup you want. See if you can identify the differences to your version and if you don't understand things just ask. I think this will help you the most in the long run
First you should identify your baseline configuration. In your case this is white as the color and a font size of 55. These you should set via the normal module settings. Now to the conditionals: since you want these to only be applied to certain portions of your (Rich) Text module, you have to put them into the content part of the module (as opposed to the Advanced Parameter section). If you have set the baseline option, the following content for your module should achieve the desired effect:
[s=110]$#Da#=PM?[c=980002]#DHH#[/c]:#DHH#$[/s]:#Dmm#
I hope this helps you understand the correct usage of conditionals in Zooper.
Happy theming!
Ok, cool!
I was confused cause I saw the statement "Warning: advanced Parameters are in use" under the fonts color. I took that as a warning that what ever I do there would be overrode by the advanced parameters. So setting the fonts size, color are a baseline then.
Now you say to put the rest of the conditional into the content part of the module. Is there a rule of thumb when to do this? And would this differ if I was using just regular text as opposed to rich text?
Edit: I did this works rather nicely! How would I be able to move the colon and minutes portion to the be inline with the top of the hours? I know there's [oy] and I tried using that:
[s=110]$#Da#=PM?[c=980002]#DHH#[/c]:#DHH#$[/s][oy=-10]:#Dmm#[/oy]
And the colon and minutes did not move up. I even tried a positive value, still the same.
Thanks!