This is a guide to make a widget appear when headphones are plugged in and hide when headphones are taken out.
Requirements:
Tasker
Zooper Widget Pro
this profile: Headphone variable
these tasks: 1- HeadIn 2- HeadOut
Also zipped below!
Download the 2 tasks and profile above
Import them to Tasker by long pressing the relevant tab and selecting 'Import' and navigating to the downloaded xml and selecting.
Create a zooper widget that you like as you normally would (probably makes sense for it to be a media widget).
In the Advanced Parameters section of all the elements you want hidden, add: "[ox]$#THEAD#=0?5000[/ox]
Insert headphones and see if it works. (Hopefully it will!)
jonaseymour said:
This is a guide to make a widget appear when headphones are plugged in and hide when headphones are taken out.
Requirements:
Tasker
Zooper Widget Pro
this profile: Headphone variable
these tasks: 1- HeadIn 2- HeadOut
Also zipped below!
Download the 2 tasks and profile above
Import them to Tasker by long pressing the relevant tab and selecting 'Import' and navigating to the downloaded xml and selecting.
Create a zooper widget that you like as you normally would (probably makes sense for it to be a media widget).
In the Advanced Parameters section of all the elements you want hidden, add: "[ox]$#THEAD#=0?5000[/ox]
Insert headphones and see if it works. (Hopefully it will!)
Click to expand...
Click to collapse
Nice! Thanks for this. Was thinking about something similar the past few days
Showw thanks
Related
Can anyone tell me how/where you define the categories under the app drawer?
Each time I flash a ROM, I lose my category definitions, although any home screen "launcher action" widgets can be recovered. If I can match the order in which I defined the categories then my widgets will be ok.
I'm guessing that when you add a new catalog, you add some sort of file with a number and that is linked in the launcher action widget. e.g. Add new catogory "Office" to the menu maps to /data/data/appdrawer/categories/1.xml (I'm guessing the location and format - hopefully someone can let me know how it really works!)
That file 1.xml contains the name "Office" somewhere in its definition (or even somewhere else relative to the launcher/appdrawer) so that 1.xml can be identified as "Office"
However, when you create a launcher action widget, I think that a link is created and that that doesn't care about the name (you can call the widget whatever you want) so your widget might be "Office.wdgt" which is linked to "1.xml" from above. That works until you flash a new rom and then you have to remember that you created the "Office" category first otherwise the widget, which still links to "1.xml" will point to the newly defined first category...
I've got about 9 or 10 categories and it's a PITA trying to remember the order I've defined them in. If I could interrogate a file somehow through adb or via the terminal, that'd be great as I could at least recover my categories in the correct order and not have to recreate all of the widgets.
[Edit]
Alternatively - Does anyone know how to disassemble the ADW backup files? It's these that are referencing the drawer categories, so perhaps I can work it out from the ADW backup...
[/Edit]
Can anyone help?
Thanks in advance
Bingo - I think.
The adw_ex_launcher.db file is an SQLite database which can be viewed using sqljet-browser or any other SQLite browser software. In there, there is a favorites table and the data has title and intent columns (amongst others) Within the intent data the CATALOG_INDEX is defined and this ranks the categories as needed.
At least with this I can setup my categories, knowing that they're defined in the correct order and I don't have to mess around with redefining both catalogs and home screen launcher actions.
Hope this helps someone else...
Hi all,
I've 2 questions about this fantastic App!:
1) Last (passed) Calendar Event
I've created a widget to display Calendar Events; it works ok but I've a request:
Is it possible to show last passed Event?
E.G. I set one event today from 8:00am to 9:00am
I see this event since 9:00am but after this time I don't see this event
Could Zooper show also this passed event?
If Z.W. couldn't I think this is a interesting thing to implement...
2) Widget (or element) Scroll
I read that Z.W. can't scroll ... but: is t possible to scroll text in RichText field?
This is the case:
In my calendar widget I use 1 RichText for every days to show the events in the day.
I've reserved 3 rows for every day (I "print" 1 event on every row) but if in a day I've more than 3 events I see only the first 3 events and I don't see 4th, 5th etc. events.
If RichText could scroll I will solve this problem
... If anyone know other alternative solution...
HyperAbarth said:
Hi all,
I've 2 questions about this fantastic App!:
1) Last (passed) Calendar Event
I've created a widget to display Calendar Events; it works ok but I've a request:
Is it possible to show last passed Event?
E.G. I set one event today from 8:00am to 9:00am
I see this event since 9:00am but after this time I don't see this event
Could Zooper show also this passed event?
If Z.W. couldn't I think this is a interesting thing to implement...
2) Widget (or element) Scroll
I read that Z.W. can't scroll ... but: is t possible to scroll text in RichText field?
This is the case:
In my calendar widget I use 1 RichText for every days to show the events in the day.
I've reserved 3 rows for every day (I "print" 1 event on every row) but if in a day I've more than 3 events I see only the first 3 events and I don't see 4th, 5th etc. events.
If RichText could scroll I will solve this problem
... If anyone know other alternative solution...
Click to expand...
Click to collapse
1) No, Zooper doesn't currently support access to past events. If you want to request it as a feature I would advise you to use the official channel here: http://zooper.themerapp.com/support/discussions/forums/268861
2) There is a trick to "scroll" things in Zooper by using an offset calculated from the current seconds/minutes but it's rather choppy and a huge battery hog. So it's do-able but not simple and - from my perspective - not really advisable.
Thanks a lot for your reply!
But about "scroll" you spoke about offset related to Time; do you have one example?
In your opinion is it possible "scroll" by clicking on a Button (image) on the widget?
Thanks a lot for your reply!
But about "scroll" you spoke about offset related to Time; do you have one example?
In your opinion is it possible "scroll" by clicking on a Button (image) on the widget?
HyperAbarth said:
Thanks a lot for your reply!
But about "scroll" you spoke about offset related to Time; do you have one example?
In your opinion is it possible "scroll" by clicking on a Button (image) on the widget?
Click to expand...
Click to collapse
I never used the trick myself so I don't have an example at hand but I'll look if I can find one for you.
As to your second question: maybe. You would have to use an external tool like Tasker and while you could use an extension of the timing trick to do a "scrolling animation" I think it would be more advisable to just switch between different module functions. For instance you could toggle your three lines of events between showing events 1-3 and 4-6. If you don't have Tasker I could give you a link to an app I once exported from it. With that you get a toggle action and variable to realize what I just described.
kwerdenker said:
I never used the trick myself so I don't have an example at hand but I'll look if I can find one for you.
As to your second question: maybe. You would have to use an external tool like Tasker and while you could use an extension of the timing trick to do a "scrolling animation" I think it would be more advisable to just switch between different module functions. For instance you could toggle your three lines of events between showing events 1-3 and 4-6. If you don't have Tasker I could give you a link to an app I once exported from it. With that you get a toggle action and variable to realize what I just described.
Click to expand...
Click to collapse
Thaks, you reaaly help me!
Regards.
kwerdenker said:
I never used the trick myself so I don't have an example at hand but I'll look if I can find one for you.
As to your second question: maybe. You would have to use an external tool like Tasker and while you could use an extension of the timing trick to do a "scrolling animation" I think it would be more advisable to just switch between different module functions. For instance you could toggle your three lines of events between showing events 1-3 and 4-6. If you don't have Tasker I could give you a link to an app I once exported from it. With that you get a toggle action and variable to realize what I just described.
Click to expand...
Click to collapse
Thanks a lot!
I've Tasker but if you can give me the link of the app you've exported I can see it and try to understand
HyperAbarth said:
Thanks a lot!
I've Tasker but if you can give me the link of the app you've exported I can see it and try to understand
Click to expand...
Click to collapse
Since you have Tasker, I've exported my task as an XML. You can get it here https://www.dropbox.com/s/bziwrbw4azm04t3/Toggle.tsk.xml to import it on your device.
To use it you have to modify your current event modules in the following way
(You'll obviously have to substitute whatever you use to display your events, this is just meant to show the usage of the variable)
Code:
$#TVIEW#=0?#C0TITLE#:#C3TITLE#$
Then to toggle between them set the Task as a Tasker shortcut via the module or widget OnTap option in Zooper. Now you can switch between different display states with a tap on the widget.
Hope this is clear enough for you to understand. If not, just ask
Error, duplicated post. Sorry
I didn't have time to see your XML file I will download it ASAP; but:
How can I manage dates with Zooper?
Example; can I add Days to a date?
For example if today is the 30th Jan. 2014 can I add for example 3 and obtain 2nd feb. 2014?
I didn't find a way to do this in Zooper
Thanks in Advance.
I try to explain you the reason of this question:
I've for example 3 fields on the widget with 3 dates (today, Tomorrow and Day after Tomorrow)
I want to do this:
If I Tap on a field (e.g. "+") the control pass to Tasker and Tasker add a Day to 3 dates... the result is that the 3 fields with date will change the value
E. G.
1st field 15th gen 2014
2nd field 16th gen 2014
3rd field 17th gen 2014
If I tap on field "+" Tasker change the value of the variables and on the widget I will see:
1st field 16th gen 2014
2nd field 17th gen 2014
3rd field 18th gen 2014
... in this way I will create a scrollable calendar widget ... I didn't try to do this; I hope I will able to do this but my problem is that I explained on my question in the top of this post.
I Hope you understand my english
EDIT:
I find in Zooper how to manage "free date"; e.g. 4st of february 2014 at 01:00 is:
#D201402041000#
Then if I want display this date I can create a text like this:
#D201402041000 c dd-MM-yyyy#
and this is the result:
tue 04-02-2014
Now... With Tasker I can create a variable with this Value:
201402041000
E.G. Var1 = 201402041000
If in Zooper I set a Text with: #TVar1# I see:
201402041000
But if I set a text with: #D#TVar1# c dd-MM-yyyy# I see:
#D#TVar1# c dd-MM-yyyy#
Where is my mistake?
Is it possible in Zooper use a Variable like Date?
I've found my mistake; if I write:
#D$#TVar1#$ c dd-MM-yyyy#
It Work
I've found my mistake; if I write:
#D$#TVar1#$ c dd-MM-yyyy#
It Work
Hello!
Great plugin!
It would be great if we could usa a tasker variable in the "ZW Variable" field in the ZW tasker plugin.
That way, i could set ZW variables in JavaScript through a tasker task!
Thanks!
"ZW Variable" field in the ZW tasker plugin
i.surfers said:
Hello!
Great plugin!
It would be great if we could usa a tasker variable in the "ZW Variable" field in the ZW tasker plugin.
That way, i could set ZW variables in JavaScript through a tasker task!
Thanks!
Click to expand...
Click to collapse
Thats exactly what I wanted. I wanted to use the plugin in a loop in tasker (I do not know javascript, but it it would be very great if that was possible too)
So I could create a zooper colorstyler in tasker with the possibility to create a scene where I could just add multiple colors with names in a array. And use that in a loop to create and update ZW colors
The number (amount) of colors would be really flexible, whithout changing the task.
In the old zooper thread I saw the same request. It was from a year ago.
Hope the request will be heard and integrated.
Would be realy awesome.
Can anyone from MyColorScreen look into this request. I need it too instead of creating a very long task with duplicated action for each item in the widget, I could use For Loop action for all items.
Posted via Tapatalk
Is it possoble to get me to press a bitmap and male ot shrink while making a different one grow?
Yes this can be achieved. With any type of toggle input you will need to create a Tasker task which will toggle a variable on or off. You can then output this variable to Zooper and use a conditional to act upon the variable state (in this case you would want to use the bitmap scaling function on each of the bitmaps) then set the module on tap element of both bitmaps to the task shortcut in order to activate it.
The speed at which this works would be dependant on your phone/tablet so it might not work particularly fast.
Is there a video for this? Im kinda confused but im understanding it a little more.
Sorry for not getting back to you sooner.
This isn't a video but should help you to create the toggle in Tasker: http://www.pocketables.com/2013/03/how-to-create-a-toggleable-task-in-tasker.html
After you have got that working you just need to add another action so press + in your task then select plugin, and then Zooper Widget Pro.
In configuration enter the Tasker variable in ZW Text (remember the %) and enter a name in ZW Variable which you want to use in zooper, this can be anything you want. The convention is to use all capitals for Zooper variables buy it is not necessary.
Once you have saved this you will see that Tasker has added #T to the start of your variable and another # at the end, this is what you will be using in zooper.
Exit from the task with the < icon in the top left corner until you are back at the task page. This is important as it saves your task and also you will not be able to access the task shortcut from Zooper (or any other app for that matter) as Tasker will still be in edit mode.
Right, in your zooper widget call up one of your Bitmaps and go to advanced parameters. Enter this code , changing the variable name to what you have chosen
PHP:
$#TTASK#=1?[s]50[/s]:[s]100[/s]$
This tells Zooper to display bitmap at 50% if #TTASK# is set to 1 or 100% otherwise
Go to module on tap, select the Task Shortcut from the shortcuts menu, then select your task from the list - It will probably prompt you to select an icon. Do that and you have finished that bitmap. Now repeat the parameters in the other bitmap but change =1 to =0 so it is reversed then you are done.
Hopefully I haven't missed anything but let me know if you encounter any problems.
I almost got it, when i tap the picture it just switches between hello and world its probly my tasker but ill show u a screenshot
Lstarz said:
I almost got it, when i tap the picture it just switches between hello and world its probly my tasker but ill show u a screenshot
Click to expand...
Click to collapse
You've misunderstood me a little there, probably my fault.
In Zooper configuration enter %Toggle as the ZWText. It need to be the variable you have already defined in tasker, otherwise you are telling tasker to output a variable that you are not setting.
Also, you can just put one zooper plugin activity after the End If instead of having two separate statements as Tasker will read this last and update then.
Dude the man it works now
When I'm done with the widget I'll tell you so u can see what I shud improve, ATM I have 2 five nights at Freddy's widgets posted if u wanna check them out
Yo, the doors work for the toggle, but I'm trying to make chika and bonnie pop up on screen after a certain time that they show up at the doors
So basically, can I make a timer that that is triggered by one bitmap showing up and when it goes to zero a different bitmap pops up?
Hello :3 I have a question and i was wondering if anyone could help me. My question is after searching through different themer themes, I came across a cool feature the Zooper widget allows. It was a bitmap of my music covers that would appeare when song was playing. It was this code: [ b ] #TMU_COVERART# [ / b ] [ox]$#TMU_ISPLAYING#!=1?1000$[/ox] (sorry about the spaces) I was wondering if instead of my album or song cover, could I use a random picture to display only when my music is playing?
babiiangelc said:
Hello :3 I have a question and i was wondering if anyone could help me. My question is after searching through different themer themes, I came across a cool feature the Zooper widget allows. It was a bitmap of my music covers that would appeare when song was playing. It was this code: [ b ] #TMU_COVERART# [ / b ] [ox]$#TMU_ISPLAYING#!=1?1000$[/ox] (sorry about the spaces) I was wondering if instead of my album or song cover, could I use a random picture to display only when my music is playing?
Click to expand...
Click to collapse
Depends on what you mean by "random". The image is accessed through its file path, which isn't really something you can randomize. You can certainly pick a specific image to display only when music is playing.
What you could do is place all the images you want in the same folder and name them with numbers, then use something like Tasker to pick a random number wwithin the range of your image names when music starts playing. You can then use that variable and point to that numbered image within that folder.
OP - Can absolutely do what you want!
Yes it requires Tasker, but you don't have to pre-name any images. Just create a folder on your phone that contains all the images you'd like to use.
Then you can automate the whole thing in Tasker including automatically reading all the filenames in the folder, then push the full path and filename to Zooper.
So in Tasker, just create a Task with these 4 Actions:
1. List Files - (choose your directory/folder and place the result in a variable lets call %file_list)
2. Variable Set - (set a variable we'll call %num_files to value %file_list(#) - this gives you the total number of filenames in the file list)
3. Variable Randomize - (set a variable we'll call %random_num to min/max values of 1 and %num_files created in the previous step)
4. Zooper Widget Variable - Set a Zooper Variable we'll call #TRANDOM_FILE# to value of %file_list(%random_num) which basically pulls the FULL THE PATH to your randomly selected file and pushes it to Zooper, for you to do what you'd like with!
The only part to figure out or decide is when to update the image. To update it everytime a new track starts per say - setup a profile in Tasker using the Media Utilities state of State New Track and link it to trigger the Task you created above.
Possibilities are pretty much endless here. Enjoy!