Tasker lock app scene - Tasker Tips & Tricks

Hello,
I'm trying to create a scene that will replace the existing one in Lock App action. I don't like the appearance of that buttons and I want to create something like that:
For now, I have created the numpad using text element and the PIN field using textedit element.
My question is how to make this scene a working one.

Related

[Q] Task killer text widget, work around?

Hello!
I am trying to find a way, to swap out the widget icon and text on my "Advanced Task Killer" app. I would like to use minimalistic text, to trigger the autokill action the widget normally does, but under activities there is no such activity, only the option to LAUNCH the task killer app.
How can I do this? I've found an application called xShorcut, that allows me to launch applications with a string/command, so does anybody know what the "kill" command is for the Advanced Task Killer? Is there a way to grab said activity, via an app or so?
No wise heads, that is able to shed some lights on this matter?
Maybe this helps?.. Sorry I can't contribute more.
As far as I can understand, this app can trigger the widget at specific times (e.g. 2 pm), but it doesn't allow my to create another widget, so I can have another design on it
Still nobody?
To be honest I think it would help if you posted in a general or q&a forum in your phone's section... Themes isn't really the best spot to post about these things.
Sent from my Nexus One using XDA App

[Concept]Lockscreen Idea (MIUI-esque)

Hey guys! This is my first contributory post here at XDA so please be kind
I'm currently using CyanogenMod 7, which allows the use of gestures on your lockscreen to open apps. I have also used MIUI, which allows the use of the unlock slider to either unlock, open the messaging app or open the phone app.
This seems a bit limited, as I regularly require access to my music app and gallery directly from the lockscreen, so I came up with this idea.
Have a similar lockscreen slider as the MIUI lockscreen, but have 6 separate actions available. EG: Slide the left-side down opens phone, slide left-side upp opens music etc.
Please find image attached.
I was wondering if a lockscreen like this would be able to be used with CyanogenMod, either as a standalone app (Like WidgetLocker) or by editing the system files.
I have no coding knowledge whatsoever and I have no idea if this is possible, but I'd love feedback about this and maybe someone with coding knowledge could give this a try (you know you want to )
Thanks for your time!
That can be done with widgetlocker, thought you will have to create each individual part and lay them next to eachother on the screen.
|NeXuS S 4G|
|NeXuS S 4G|
jedwardmiller said:
That can be done with widgetlocker, thought you will have to create each individual part and lay them next to eachother on the screen.
|NeXuS S 4G|
|NeXuS S 4G|
Click to expand...
Click to collapse
But could the whole unlock bar slide with the rest of it as you're dragging it? EG: If I drag the "phone" part down, would the rest come with it or stay in its place?

[Q] [Help req.] Notification dropdown mods - are these possible?

I'm trying to modfiy my notification dropdown area a bit, and I'm wondering if we have the following functionalities available on our Xperia's - I'm on V, but I'm guessing T and variants should be similar.
The first one would be to add a brightness slider. I based the code on a section from my Galaxy S2's status_bar_expanded.xml and the slider itself shows up, slides back and forth and whatnot, but doesn't actually affect the brightness level. There is a "brightness" id in res/values/ids.xml, which is referenced in the code in status_bar_expanded.xml, but like I said, nothing happens when using the slider. Any suggestions to get this to work?
The other thing that I wanted to try to emulate from my S2 is the way ongoing notifications are separated from "swipeable" notifications. Each gets its own section, separated by headers, with ongoing items such as music player controls on top and then normal, user-clearable items underneath. From digging around a bit in SystemUI, it seems like Xperia is more or less without this functionality and I'm probably out of luck, but I thought I would ask anyway.
Thanks in advance!!
I would be very interested in that brightness slider.
It's one thing to make the slider show by editing xml, in order to make it work you would also need the code for the function, i.e. smali. Not sure if that's as easy to port but there are SystemUI mods for other Xperia's, like serajr's that also have this.
Sent from my LT30p using xda app-developers app
TiMiN8R said:
It's one thing to make the slider show by editing xml, in order to make it work you would also need the code for the function, i.e. smali. Not sure if that's as easy to port but there are SystemUI mods for other Xperia's, like serajr's that also have this.
Sent from my LT30p using xda app-developers app
Click to expand...
Click to collapse
Huh, I wasn't expecting this thread to come back to life, lol.
There is a resource id called "brightness" in SystemUI's public.xml which I called to when I edited status_bar_expanded.xml (and this was with ICS). Now that this thread has popped back up I finally got around to looking at it again, and it looks like that id goes to SystemUI\smali\com\android\systemui\statusbar\tablet\SettingsView.smali. There's no equivalent file in statusbar\phone. I'm basically non-functional when it comes to smali, and it seems to be more than a simple matter of splicing a section of code from one place to another, so I guess I'm off the case for the time being.

Theme switcher for CMTE?

I saw the theme switcher for layer on one of the tasker day feature and really like the idea. Can we do this with CMTE?
Sent from my Nexus 6P using Tapatalk
I have a custom task that switches themes with the help of AutoInput (plugin) for input on screen and Secure Settings (plugin) to turn AutoInput on/off so that AutoInput's accessibility service isn't running when it shouldn't be. It works for CM TE, but not COS Themer. COS is more complicated to implement than CM and I just never got around to implementing it.
However, am not attaching my task here because it needs your screen to be unlocked to use it. In my case, I have another custom task that unlocks my phone. I cannot and will not share that task.
Let me know if you have a task to unlock your screen or if you use a simple lock screen that you can manage unlock using AutoInput, and I'll share my CMTE theme switcher here. How to go about unlocking your screen is up to you to figure out, and getting that working is essential to making my task work.
Alternatively, you could set up a context using the event for display unlocked, that sets a global variable to anything you want such as "yes", and another context using event display off, that clears the global variable. You could then add the global variable as a "wait until" at the top of my task for changing themes, so that the task proceeds only when your phone is unlocked.

widget to enable/disable Tasker - it's posible?

How do a widget what will be enable and disable tasker? Or how with widget to enable or disable profile what i have in tasker?
I'm searching the same question. If I find anything, I'll report back.
To disable, sure. But if it's disabled of course, any widget created to enable it would never run....Because Tasker is disabled.
Sent from my iPhone using Tapatalk
Just an idea:
Theoretically you can enable Tasker by:
- automatic tapping: record the keystrokes/taps and than have it done for you when you use the widget.
- or by first killing Tasker to disable it, than when you need, run Tasker again.
For that to work, you can use Tasker to create an app with a widget, this way that function does not depend on Tasker running or not.
I do hope that with coming updates, there will eventually be a way to do this officially from Tasker.
alienyd said:
For that to work, you can use Tasker to create an app with a widget, this way that function does not depend on Tasker running or not.
Click to expand...
Click to collapse
That's a good idea.
Sent from my iPhone using Tapatalk
Create a new task (not profile) and set a variable to 1 for on and 0 for off. Use a variable name that makes sense. Add a condition to the profile that requires the new variable to be set to 1. Assign an icon to the task (button in bottom right corner of task window) and then go to the home screen and add a new widget. Scroll down to tasker in the widget list and point it to your new task. The task simply changes the variable to its opposite value when it runs. You can also set the name of the widget and change the on screen icons with tasker actions.

Categories

Resources