How Do I Create a Slider for MP3s? - Zooper Widget General

How can I make a progress bar for playing MP3s? And is it possible to make it so you can slide your finger along the progress bar to control where you want to play the MP3?

omaral said:
How can I make a progress bar for playing MP3s? And is it possible to make it so you can slide your finger along the progress bar to control where you want to play the MP3?
Click to expand...
Click to collapse
Assuming that you already have Media Utilities installed and setup to work with Zooper this will do the trick to display the song progress. Using it as a slider is not possible though.
Progress bar module with custom values setup:
Min 0
Value #TMU_TRACK_PERC#
Max 100

kwerdenker said:
Assuming that you already have Media Utilities installed and setup to work with Zooper this will do the trick to display the song progress.
Progress bar module with custom values setup:
Min 0
Value #TMU_TRACK_PERC#
Max 100
Click to expand...
Click to collapse
Yes I got Media Utilities already set up in Zooper, so thats not a problem. I entered the code as you said in the progress bar module value. Min and max values already had 0 and 100 respectively by default. But it doesnt work. Could you check to see if this is the right code?

omaral said:
Yes I got Media Utilities already set up in Zooper, so thats not a problem. I entered the code as you said in the progress bar module value. Min and max values already had 0 and 100 respectively by default. But it doesnt work. Could you check to see if this is the right code?
Click to expand...
Click to collapse
Did you check the "Send progress" option in Media Utilities? It's down at the bottom in the Experimental section.
I'm sure the code works because I tested it on my device before posting it

kwerdenker said:
Did you check the "Send progress" option in Media Utilities? It's down at the bottom in the Experimental section.
I'm sure the code works because I tested it on my device before posting it
Click to expand...
Click to collapse
Ahhh.. perfect! thanks a million. One question.. do you think Zooper drains battery?

Not really. I have my screen full of zooper and it uses very low battery.
Sent from GT-I9505 via Tapatalk

Related

Toggles

Can we do toggles?
Like for example.. lets just say a wifi toggle.. I have an image in which I would like to put it at opacity of 65 and when I tap on it to turn it on. it will become an opacity of 100..
Are there any threads that teach how to do it?
Sent from my GT-I9505 using xda app-developers app
billab0n6 said:
Can we do toggles?
Like for example.. lets just say a wifi toggle.. I have an image in which I would like to put it at opacity of 65 and when I tap on it to turn it on. it will become an opacity of 100..
Are there any threads that teach how to do it?
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
This is only possible if you have Tasker. Zooper currently has no built-in function for this.
I think there was a tutorial on Zooper/Tasker integration but I'll have to look that up. If there is not, I'll put in on my (ever growing) Todo list.
Actually you can. This is what makes Zooper so good, much better than the other custom widget app.
Insert your bitmap and set the opacity to 65
In the advanced parameters enter
For wifi connected
Code:
$#NWSTATE#=2?[bo]100[/100]$
For wifi on but NOT connected
Code:
$#NWSTATE#=1?[bo]80[/100]$
change the value between [bo] to your desired opacity
krysdafur said:
Actually you can. This is what makes Zooper so good, much better than the other custom widget app.
Insert your bitmap and set the opacity to 65
In the advanced parameters enter
For wifi connected
Code:
$#NWSTATE#=2?[bo]100[/100]$
For wifi on but NOT connected
Code:
$#NWSTATE#=1?[bo]80[/100]$
change the value between [bo] to your desired opacity
Click to expand...
Click to collapse
Yes, that would work to display the current state of wifi but his question was if he can do an actual toggle that switches the state of the wifi when touched (and then display it). That is currently not natively possible in Zooper.
kwerdenker said:
Yes, that would work to display the current state of wifi but his question was if he can do an actual toggle that switches the state of the wifi when touched (and then display it). That is currently not natively possible in Zooper.
Click to expand...
Click to collapse
Oops, you're right. Zooper cannot toggle any settings. You will need another app to do that function.
billab0n6 - you can use an wifi shortcut app and link to it from Zooper's ontap action. I'm not sure how to use Tasker but Trigger (aka NFC Task Launcher) can create shortcuts.
krysdafur said:
Oops, you're right. Zooper cannot toggle any settings. You will need another app to do that function.
billab0n6 - you can use an wifi shortcut app and link to it from Zooper's ontap action. I'm not sure how to use Tasker but Trigger (aka NFC Task Launcher) can create shortcuts.
Click to expand...
Click to collapse
Tasker and Zooper integrate very nicely.
krysdafur said:
Oops, you're right. Zooper cannot toggle any settings. You will need another app to do that function.
billab0n6 - you can use an wifi shortcut app and link to it from Zooper's ontap action. I'm not sure how to use Tasker but Trigger (aka NFC Task Launcher) can create shortcuts.
Click to expand...
Click to collapse
Tasker works really well, when you know how to set it up right. I already used it in my setups
Tasker seems very very complicated to use.. I do know seeing them in the forums.. alot of advanced users are using them but from the way I see them talk about it.. it seems quite hard to set it up. .. sigh
Sent from my GT-I9505 using xda app-developers app
You can also use More shortcuts by chYK - available on play store - just link to it in on tap shortcuts. Hope this is helpful to you.

Progress Bar

New to Zooper and have tried a few things. Is there a way to have a number follow a progress bar level? Thanks in advance.
carbon coupe said:
New to Zooper and have tried a few things. Is there a way to have a number follow a progress bar level? Thanks in advance.
Click to expand...
Click to collapse
Yes, there are ways using x and y offset advanced parameters and some math, but without knowing how your progress are oriented or what they are of it's hard to help you out.
If, for example your progress bar is of #BLEVN# and starts from the bottom of the widget you can anchor your text to the bottom and use something like this:
[oy]$((#BLEVN#/100)*{length of progress bar})$[/oy]
jonaseymour said:
Yes, there are ways using x and y offset advanced parameters and some math, but without knowing how your progress are oriented or what they are of it's hard to help you out.
If, for example your progress bar is of #BLEVN# and starts from the bottom of the widget you can anchor your text to the bottom and use something like this:
[oy]$((#BLEVN#/100)*{length of progress bar})$[/oy]
Click to expand...
Click to collapse
I was thinking of a clock progress bar where the time numbers followed the line of progress across the bar.
carbon coupe said:
I was thinking of a clock progress bar where the time numbers followed the line of progress across the bar.
Click to expand...
Click to collapse
Yeah, this is doable with a bit of extra math as time is not easy to show in a progress bar given that 1259 jumps to 1300 etc. You need to have the progress bar be from 0 to 2399 and have the value be (#DH#00+#Dmm#*(5/3))
Then the progress bar should be:
[oy]$((#DH#00+#Dmm#*(5/3))/2399)*{length of progress bar})$[/oy]
Haven't really tested the code, but it should work.
I can get the time to show but it doesnt follow the level of the bar. Not sure what Im doing wrong.
jonaseymour said:
Yeah, this is doable with a bit of extra math as time is not easy to show in a progress bar given that 1259 jumps to 1300 etc. You need to have the progress bar be from 0 to 2399 and have the value be (#DH#00+#Dmm#*(5/3))
Then the progress bar should be:
[oy]$((#DH#00+#Dmm#*(5/3))/2399)*{length of progress bar})$[/oy]
Haven't really tested the code, but it should work.
Click to expand...
Click to collapse
I cant cat this work.

Is it possible to change the widget with the widget

I don't know if I'm working this right. But basically is it possible to make it where if I click on a certain part of the widget it actually changes it to a different widget. example, so you have a clock widget that has the temperature and your cell signal. When you click on the clock it changes to another widget that is just the clock
zathus said:
I don't know if I'm working this right. But basically is it possible to make it where if I click on a certain part of the widget it actually changes it to a different widget. example, so you have a clock widget that has the temperature and your cell signal. When you click on the clock it changes to another widget that is just the clock
Click to expand...
Click to collapse
That's currently only possible if you use Tasker to setup a task that changes a variable and pushes that variable back to Zooper. You can then use that widget to control the visibility of the modules in your widget. You would then have to use that task as an OnTap action of your widget/module to toggle between the two "versions" of your widget.
kwerdenker said:
That's currently only possible if you use Tasker to setup a task that changes a variable and pushes that variable back to Zooper. You can then use that widget to control the visibility of the modules in your widget. You would then have to use that task as an OnTap action of your widget/module to toggle between the two "versions" of your widget.
Click to expand...
Click to collapse
Any way you could point me in the right direction. I just got Tasker a few days ago and to be honest it's a tad overwhelming. Maybe just a nudge in the right direction??
Sent from my VS980 4G using Tapatalk
Andyrosser said:
Any way you could point me in the right direction. I just got Tasker a few days ago and to be honest it's a tad overwhelming. Maybe just a nudge in the right direction??
Sent from my VS980 4G using Tapatalk
Click to expand...
Click to collapse
Please see my answer here: http://forum.xda-developers.com/showthread.php?p=52275715&highlight=tasker+toggle#post52275715
It contains a link to my Tasker task and a description on how to use it.
kwerdenker said:
Please see my answer here: http://forum.xda-developers.com/showthread.php?p=52275715&highlight=tasker+toggle#post52275715
It contains a link to my Tasker task and a description on how to use it.
Click to expand...
Click to collapse
holy fing hell!! thats like EXACTLY what i was looking for. pure genius sir! thank you so much
kwerdenker said:
Please see my answer here: http://forum.xda-developers.com/showthread.php?p=52275715&highlight=tasker+toggle#post52275715
It contains a link to my Tasker task and a description on how to use it.
Click to expand...
Click to collapse
alrighty, first. thanks so much! second, is it posable to have this also effect things like text? so, i can have a clock in one position when x=1 then have it in a second position when x=0. or just have it make it where when on 1, it appears and on 0 it disappears.
zathus said:
alrighty, first. thanks so much! second, is it posable to have this also effect things like text? so, i can have a clock in one position when x=1 then have it in a second position when x=0. or just have it make it where when on 1, it appears and on 0 it disappears.
Click to expand...
Click to collapse
What you use it for is up to you. You'll just have to substitute the options you need like [ox][/ox] for the horizontal offset or [c][/c] for the color instead of the [bo][/bo] as in the example I have in the original post.

[Q] Circle progress bar?

How would I go about making a circle progress bar like this? The owner said it was done through Zooper, but I am not able to ask him how anymore because it was through a anonymous forum board which that thread expired a week ago.
ErraticFox said:
How would I go about making a circle progress bar like this? The owner said it was done through Zooper, but I am not able to ask him how anymore because it was through a anonymous forum board which that thread expired a week ago.
Click to expand...
Click to collapse
You need to have Media Utilities installed and the "Send Song Progress" option checked in it's options. Then you can add a Progress Bar module in Zooper. Use the "Custom" option and use the #TMU_TRACK_PERC# tag as the value. This is the percentage played, so the range is 0 to 100. Now you just need to use the Curve option of the module to bend the bar until it's a circle. Now you should have a circular music progress bar
kwerdenker said:
You need to have Media Utilities installed and the "Send Song Progress" option checked in it's options. Then you can add a Progress Bar module in Zooper. Use the "Custom" option and use the #TMU_TRACK_PERC# tag as the value. This is the percentage played, so the range is 0 to 100. Now you just need to use the Curve option of the module to bend the bar until it's a circle. Now you should have a circular music progress bar
Click to expand...
Click to collapse
Is there any way to make the song time rotat /arc over a progress bar like this clock I made.
Sent from my XT890 using XDA Free mobile app

how to get more icons in the status bar

I wonder how to get more icons in the status bar. The place is there, but only the left time is shown and the right only this two icons.
(If you're willing to root...) I've installed GravityBox and disabled the clock (or move it to the center, it hides under the notch)... At least I have 3~4 icons (3 icons + the dot if more than 4 notifications are there)
The clock can be hidden without root using systemui tuner. Some other icons can also be hidden (eg. I hide the alarm indicator since I always have an alarm set)
https://android.gadgethacks.com/how...roid-9-0-pie-remove-status-bar-icons-0186364/
I probably wrote it wrong,but my problem is that I don't see more than 2 icons on the right.I don't have root.
And this application does not help
https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner&hl=cs
tramin said:
I probably wrote it wrong,but my problem is that I don't see more than 2 icons on the right.I don't have root.
And this application does not help
https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner&hl=cs
Click to expand...
Click to collapse
Hello Tramin,
Good Day !
Dear Have You Tried To Reduce Screen Resolution Size ? I Mean Go In Developer Options => Smallest Width (Around 448 dp). It Will Reduce Your Screen Resolution Size And You Can Get More Space In Notification Bar.
Greetings...
Thanks,
MUHAMMAD Asif Qasim
It can definitely fit more than 2. I can sometimes get 5 if they're narrow or overlap. The traffic arrows are the worst.
@aasiaasi:No change, what's wrong with my phone??
tramin said:
my problem is that I don't see more than 2 icons on the right.
Click to expand...
Click to collapse
Probably because of the notch, this phone shows less icons by default. Eg. Bluetooth only shows when connected. My previous phone showed more icons by default but it had no notch and ran marshmallow.
To make more icons appear...
Connect a Bluetooth device.
Plug in headphones.
Set an alarm.
Put the phone on silent/vibrate or do not disturb.
Be on 4g while WiFi is available but needs sign in (both WiFi and 4g icons display).
Re enable battery icon.
Run Google maps.
Run a hotspot.
Is that what you mean?
Thanks, it's probably it.But it's not entirely correct,because bluetooth is on all the time and the icon is not visible.
tramin said:
Thanks, it's probably it.But it's not entirely correct,because bluetooth is on all the time and the icon is not visible.
Click to expand...
Click to collapse
The icon only shows if something is connected to Bluetooth.
Oh,thanks
Eddie_53 said:
(If you're willing to root...) I've installed GravityBox and disabled the clock (or move it to the center, it hides under the notch)... At least I have 3~4 icons (3 icons + the dot if more than 4 notifications are there)
Click to expand...
Click to collapse
Hi
I thought xposed is not available for pie?? How did you manage to run GravityBox? Pls help. Thanks
hncdesilva said:
I thought xposed is not available for pie?? How did you manage to run GravityBox? Pls help. Thanks
Click to expand...
Click to collapse
Regular xposed is not available. EdXposed runs on pie. It's a new thing that tries to be compatible with Xposed. Many modules are not compatible. Gravity box is.
I strongly recommend having mm (magisk manager) setup before playing with EdXposed because bootloops are fairly common and mm from twrp let's you turn off EdXposed so you can boot again. Then you can fix the module/setting that caused a problem.

Categories

Resources