Rotating Bitmap every second? - Zooper Widget General

So. Long story short because of the lack of cassette widgets and such with functionalities with Spotify. (Media Utilities didnt fix the only cassette app to work for me sadly)
I've basically a cassette widget with the spotify widget itself over the top to make it seem like it's the top of the cassette (if that makes sense? Meh specifics!)
Ideally what I wanted to do was have the spinners in the middle (which are on a seperate bitmap than the cassette tape itself) to slowly rotate if (Media Utilities detects spotify playing). I've ran some tests and it does understand when spotify plays and stops as it does indeed rotate. Which alone is fantastic, however. I can't seem to get it to repeat the command, it does it once, and then the spinners don't move. I'm unsure if there is a repeat command in Zooper? Or I need some fancy equation to do so. But my code thus far is as follows
Code:
$#MU_CURR_PACKAGE#=1[r]4[/r]$
If anyone could take a quick peek I'd be very greatful, thank you!

You could play around with some progress bars. I would make three of them, setting each of them up to be 120 degrees difference, so that all three together would look like a 3 sided star. then set the width and heights so they don't touch in the middle. Then take two rectangles and round them out. Place one in the center and one on the outside edge of the 3 progress bars. Next, put this variable in the "edit progress min/max/value" section of your progress bars... #TMU_TRACK_PERC# with min being 0 and max at 100. you will now have a 3 spoked cassette wheel.

Related

[APP] Grid Clock

This clock is based on Led Clock by David Horn posted on here some time ago. The principle of the clock is minimalism. The left column represents the hous, the next five columns represent minutes and the final column represents groups of five seconds (if you choose the 'show seconds' option). The hours increment upwards, the minutes increment leftwards then upwards and the seconds increment upwards. I have taken David’s original clock idea and bolted on lots of user options purely as an exercise to get up to speed programming for the compact framework.
Features
=======
Set individual colours for many elements such as hour leds, minute leds, second leds, frame, font and background.
Draw rectangular or round leds
Show / Hide seconds
Show digits on hours, minutes, seconds
Change led size – small, medium, large.
Imaging:
Load image as foreground, the image gets drawn piece by piece like a jigsaw as another led gets added to the clock. Watch your image build up on screen as the hour goes by. Alternatively you can set the image as a background image and the clock gets drawn on top.
Image Folders:
You can also specify a folder of images and set the rotation frequency to minute, hour or day. The current image behaves as above and gets rotated so you can have a new image loaded every day, or hour etc.
I am using GDI to draw the clock but it is heavily optimized. The thread only runs every 5 secs or every 60 secs if you choose not to show seconds. The drawing itself only draws what is absolutely necessary at any time. So if we are not refreshing / painting the form, usually we are only drawing a single led therefore this should be light on resources. As evidence of this, consider the fact that I am not using double buffering anywhere and yet the redrawing is always flicker free and stable.
I wrote this clock as a Touch HD owner but tested it on several of the mobile images. It should run on any Windows Mobile device and on most screen resolutions from version 5 upwards. It currently uses .Net 3.5 but I can port it back to 2.0 if required as all the code is legacy written and I am using no libraries from the newer framework. I’d appreciate any reasonable feedback.
Previews
======
Surely this should've been posted in the themes, apps and software section?
MOD EDIT
Moved to themes, apps and software forum
oops, sorry about that.

Wallpaper help

I'm trying to get this shot of the headphones to be shown entirely on the home screen of my Nexus 7 but I can't seem to format it properly. What I did first was shrink the width to 720 (with the height changing proportionally) and then I pasted it into a black background of a 720x1280. I loaded it onto my tablet and I only get the headphone partially. I then took the original image and increased the canvas width and filled in with black. I pretty much get the same cropped portion of the headphone. Can anyone help me in what I'm doing wrong?
http://wall.alphacoders.com/wallpaper.php?i=73967
Thanks!
Tweaked the image a little as it looked very crooked and "wrong" to my eyes, but I attacked two versions, one that is full width and one that is single screen width. Also I use a free app called "Wallpaper Set Save" to set the wallpaper, as it makes it fit and means you dont have to do that "crop" shenanigans.
eu4ria said:
Tweaked the image a little as it looked very crooked and "wrong" to my eyes, but I attacked two versions, one that is full width and one that is single screen width. Also I use a free app called "Wallpaper Set Save" to set the wallpaper, as it makes it fit and means you dont have to do that "crop" shenanigans.
Click to expand...
Click to collapse
Thanks - but those images still didn't quite do what I was hoping for. I'm looking to have the headphones only on the main home screen. I thought adding black bars to the side would take care of that, but didn't seem to make much of a difference. I'll fool around with the app.

[Q] Two Qs regarding progress bar adv parameters

Thanks for your time. Two questions, #1: I've been around here and throughout other sites, and found (it seems) dozens of different options but none have seemed to work regarding getting an object to follow a CIRCULAR progress bar. In this case, I have a simple clock that I would like to have a sunrise icon and sunset icon (each) move around the outside the clock at the appropriate time. I have tried multiple codes and combos to no avail. I have successfully managed to achieve this result on a straight prog bar using [oy]$(-34+(#BLEVN#*2.70))$[/oy]. Those are, of course, my coordinates plugged in. I've found so many different "Oh, do this, this'll work" codes that don't work, I won't bore you with them (including this one http://forum.xda-developers.com/showthread.php?t=2563932). At any rate, any help would be appreciated.
#2: Is it possible to set up a 12 hour progress bar clock that handles just am and/or just pm?
Thanks again.
#1 Take a look at the Zooper standard analog Clock
#2 Use the 24h. For am use min 0 max 12 and for pm use min 12 max 24
Sent from GT-I9505 via Tapatalk
ibashmuck said:
Thanks for your time. Two questions, #1: I've been around here and throughout other sites, and found (it seems) dozens of different options but none have seemed to work regarding getting an object to follow a CIRCULAR progress bar. In this case, I have a simple clock that I would like to have a sunrise icon and sunset icon (each) move around the outside the clock at the appropriate time. I have tried multiple codes and combos to no avail. I have successfully managed to achieve this result on a straight prog bar using [oy]$(-34+(#BLEVN#*2.70))$[/oy]. Those are, of course, my coordinates plugged in. I've found so many different "Oh, do this, this'll work" codes that don't work, I won't bore you with them (including this one http://forum.xda-developers.com/showthread.php?t=2563932). At any rate, any help would be appreciated.
#2: Is it possible to set up a 12 hour progress bar clock that handles just am and/or just pm?
Thanks again.
Click to expand...
Click to collapse
#1: Moving things circular is a bit different from moving this along a straight line. For circles you need three parameters in Zooper: thie radius of your circle ([ar][/ar]), the sweep angle of said circle ([as][/as]) and finally the rotation ([r][/r]). The first one is static and the other two depend on what you are trying to do. You need to determine the size of your circle in degrees (360 for full, 180 for half etc.) and then determine in how many steps you need to cut that size. For something that moves with the minutes of the hour it would be 60 for instance. Then your amount of degrees per minute is 360/60 and if you multiply that with the numbers of minutes #Dm#, you get your current position and rotation. So for something to move around a circle based on the minutes of the hour you would need these advanced parameters:
[r]<whatever size>[/r]
[as]$(360/60*#Dm#)$[/as]
[ar]$(360/60*#Dm#)$[/ar]​To apply this to your idea, you need to figure out in how many steps you want your circle to be broken down to (I would guess 12) and then what's your variable you want to multiply with (#ARK# maybe). With these values it should position the symbol on the hour of the sunrise.
I hope this helps you out and if not, don't hesitate to ask
#2: I think so but you probably would have to work with some advanced parameter conditionals to check whether it's currently am or pm. This depends on what exactly you are trying to do. If you can give me more details I can try to think something up.
kwerdenker said:
#1: Moving things circular is a bit different from moving this along a straight line. For circles you need three parameters in Zooper: thie radius of your circle ([ar][/ar]), the sweep angle of said circle ([as][/as]) and finally the rotation ([r][/r]). The first one is static and the other two depend on what you are trying to do. You need to determine the size of your circle in degrees (360 for full, 180 for half etc.) and then determine in how many steps you need to cut that size. For something that moves with the minutes of the hour it would be 60 for instance. Then your amount of degrees per minute is 360/60 and if you multiply that with the numbers of minutes #Dm#, you get your current position and rotation. So for something to move around a circle based on the minutes of the hour you would need these advanced parameters:
[r]<whatever size>[/r]
[as]$(360/60*#Dm#)$[/as]
[ar]$(360/60*#Dm#)$[/ar]​To apply this to your idea, you need to figure out in how many steps you want your circle to be broken down to (I would guess 12) and then what's your variable you want to multiply with (#ARK# maybe). With these values it should position the symbol on the hour of the sunrise.
I hope this helps you out and if not, don't hesitate to ask
#2: I think so but you probably would have to work with some advanced parameter conditionals to check whether it's currently am or pm. This depends on what exactly you are trying to do. If you can give me more details I can try to think something up.
Click to expand...
Click to collapse
Thanks for the response. That's actually the first parameter that I found and tried to work with, and, like then, I still can't get it to work. My "hour clock" numbers are:
x= 60
y= -210
w= 520
Using #Dh#, min 0, max 12
Putting numbers into the codes you gave...
[as]$(360/12*#ARh#)$[/as]
[ar]$(360/12*#ARh#)$[/ar]
...(or even #ARK#) still sends the icon low and to the left, as you can see in the second screen shot (I've enlarged it to show it's position better). I'm living up to my namesake with this, I know, but my guess is I'm missing one small bit that's throwing me off. Apologies, of course.

[WIP] CyberGlow

Found Zooper last night, and after a day of fiddling rather than doing work I have come up with the following.
The outer circle is the current hour, second is the current minute.
The quarter arc top left is battery level, top right is current CPU usage
Bottom arc is Network Connection Strength
The time at the bottom left is + days.hours.minutes until the next alarm
The weather icon center is current weather, the right one is tomorrows weather.
The left and right arrows are back and forward for the media.
The album art doubles as a play/pause button.
I would appreciate comments and suggestions.
Personally, I don't understand why you have the second clock in the center.
If you remove the second clock in the middle, you can use the resulting space to incorporate the media part without having a separate piece for it.
Move the day of the week with date over to the red arc. Then reduce the top left and right arcs until they match with the ones on the bottom (red lines). Move the entire media part into the center and then figure out the song and artist text positioning.
Just my opinion. I like the layout. Not a huge fan of yellow, my choice would be a pale blue or cyan.

how do I make working hands.

I am trying to create an old school weather center with temperature, Humidity, and Pressure. I can make hands using a progress bar by setting the main and secondary colors clear and setting the gradent to highlight current. I dont like the reverse wedge shape though. What I need are the conditionals for using a rectangle as hands. I need the complete conditionals for a 360 degree sweep for each one, and what to change for different sweeps. Example: I want my humidity to sweep 300 degrees, starting at - 30 degrees. Also. I hear of a way to make bitmap images sweep with progress bar. This may help more as i can use fancy instrument needles for indicators.
Wrong thread

Categories

Resources