Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,638 Members 54,684 Now Online
XDA Developers Android and Mobile Development Forum

[Q] on tap internal action

Tip us?
 
karlichon
Old
#1  
Member - OP
Thanks Meter 4
Posts: 82
Join Date: May 2010
Default [Q] on tap internal action

Hi,

Is there a way to make some actions (like change the color of a shape or move a shape, hide a bitmap etc.) by taping on an object (bitmap, shape, etc.)

Thanks a lot
 
kwerdenker
Old
#2  
kwerdenker's Avatar
Recognized Themer
Thanks Meter 1981
Posts: 1,331
Join Date: Apr 2010
Location: Probably the Zooper Forums

 
DONATE TO ME
Quote:
Originally Posted by karlichon View Post
Hi,

Is there a way to make some actions (like change the color of a shape or move a shape, hide a bitmap etc.) by taping on an object (bitmap, shape, etc.)

Thanks a lot
By internal means no, with the additional help of Tasker yes. If that is an option for you and you want some more details on the how just ask

Please use the forums for your Zooper related questions. I won't respond to PMs with questions that can/should be asked there. Thank you.
 
karlichon
Old
#3  
Member - OP
Thanks Meter 4
Posts: 82
Join Date: May 2010
Quote:
Originally Posted by kwerdenker View Post
By internal means no, with the additional help of Tasker yes. If that is an option for you and you want some more details on the how just ask
Yes thanks a lot I Found a very powerfull way with Tasker !

1) Create a Task in Tasker :
- In Tasker, tab Task click "+"
- Gives a name
- Select :Plugin -> Zooper widget
- Click on the pen in Config bar
- In text field Variable ZW : Give a name to the Variable (ex: MyZooperVar)
- In text field Text ZW : Enter a value (ex: 2)
- Click the save icon
- Your variable must appears under Config section (ex: #TMyZooperVar# = 2
- Go back and select an icon (internal, blank icon for exemple)
- Go back, your task must appears in the list

2) Add an on tap action in zooper widget :
- Create a shape or a bitmap
- Click on "module on tap"
- select Shortcuts -> tasker -> "select your tak"

3) When you click on your bitmap, the tasker task runs and the variable #TMyZooperVar# should be equal to the value "2"

4) For exemple, in order to slide a cursor :
- Create a shape as a cursor
In this exemple, init_pos is the initial position of the shape and offset is the number of pixels to slide for each tab
- In Advanced section of the shape, enter : "[ox]$init_pos+(offset * #TMyZooperVar#)$[/ox]
The Following User Says Thank You to karlichon For This Useful Post: [ Click to Expand ]
Tags
on tap internal action
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes