[Q] Tasker & Lux - Other Tools & General Discussion

I am not sure if this is the right place to post this or not, so please be gentle
I am kind of familiar with Tasker, but really haven't messed to in depth with it. I mostly just use it for simple little things.
I am wanting to know if there is a way to set the current Lux settings as a variable or something and then run my task that changes the brightness to max, takes a screenshot, saves it and flashes a message saying "Screenshot Saved".
I have gotten the whole task set up, but I would like for the Lux settings to be restored back to what they were before I ran the task and changed the brightness for the screenshot..
Any help would be appreciated..
Thanks in advance!

Related

Tasker finally on the Market, automate nearly anything easily!

It's hard to describe what Tasker can do, as there's not much it can't do. I try to describe it like a high-level interface to the Android API. You can adjust hoards of Android settings programmatically based on Events (application, time, date, location, event, gesture).
Personally, I do some of the following:
Passively upload my GPS location to my website every 10m
Have the phone get fairly loud when I'm a home
Quiet when I'm at work
Nearly Muted when I'm in a meeting (matches a Calendar event)
Muted with Autosyncing disabled at Night while I sleep
Disable Rotation on my etext reader to work around a bug in the ereader which loses my position in my book when it rotates!
Make the screen brightness and sounds high when I'm running Waze (gps program) on AC power (plugged into car charger)
... more little things!
All of this is done using an easy to use GUI to build matching contexts and a task to execute when matched. There are lots of samples to start with on the website, and very easy to write your own. Basically it's a graphical programming language that anyone could use.
It's on the market as of today, and the website is here: http://tasker.dinglisch.net/
I have zero connection to the author besides an extremely happy user, decided I would post this here because he's exited beta testing and on the market now.
Here's even a few more examples of things that can be done, pasted from the website.. Still only the tip of the iceberg on things it can do:
passcode-lock sensitive applications (e.g. for child safety)
change phone settings by
application: long screen timeout in a book reader
time: screen brightness lower in the evening
location: ringer volume high at the office, turn off ke yguard at home
wake up with a random song from your music collection
Text-to-speech; read out loud: incoming SMS/ phone number, WiFi/Bluetooth status, when it's time for an appointment, when the battery is low etc etc (Android OS 1.6+ only)
launch a music application when your music SD card is inserted, otherwise a file browser
start the day with a particular application showing
change all your home icons and wallpaper every day, or in particular locations
turn the phone upside down to return to the home screen, tilt 90 degrees to the left and back to toggle speakerphone during a call
create a Home widget to
toggle bluetooth/wifi on/off
launch wireless settings dialog
show a menu of tasks to choose
send an emergency SMS with your GPS location
remap camera etc buttons to other applications, or show a menu of applications and/or actions
decrypt/encrypt and/or zip/unzip application data on the fly when an application is launched/exits
pause music playback while in a particular application, restart on exit
change the Home icon for any application
take a time-lapse photo series (possibly 'secretly')
make a regular backup of a file on the SD card
track your phone location via SMS in case of theft
extend the use of the media button on your headset: take a picture from a distance or go to the previous media track with a long press
record call times and destinations to the SD card
show a popup when an SMS arrives from a particular phone number
setup a birthday SMS to be sent months before it happens so you don't forget
record battery levels over time to a file on SD card
make automatic recordings of what you say during phone calls to SD card
during the night, turn on airplane mode to conserve battery/reduce radiation, but turn it off every 15 minutes to check for SMS/voicemail.
setup a vacation SMS message, with different messages for different callers
launch a music application when headphones are connected
Hrmmm, there's not much reviews for the app. I'm interested in trying out but I wish there was a trial or something.
Vulpix said:
Hrmmm, there's not much reviews for the app. I'm interested in trying out but I wish there was a trial or something.
Click to expand...
Click to collapse
I hadn't looked at his market version yet, but it shouldn't need validation for 14 days..
He sells it on the market and off of the market. If nothing else you could install it from his website. I'll ask on his forum, it shouldn't require purchasing to use immediately.
Everytime I try it I get a FC when setting up my profiles, and I lose all my changes. Gets annoying fast. I uninstalled and did refund.
Knether said:
Everytime I try it I get a FC when setting up my profiles, and I lose all my changes. Gets annoying fast. I uninstalled and did refund.
Click to expand...
Click to collapse
Weird, I've seen that like once when I first tried it.. You might want to get on his forums and see what he can do to help fix it, as if you're interested I don't think there's anything else out there that does anywhere close to what Tasker does.
Come to think of it, yes, I did see that maybe 2-3 times, especially when first messing around, but I haven't seen it in weeks, even though I've set up multiple profiles since then. Interesting. You could always set up some stuff, Apply, re-enter the app. At that point it's saved. If it crashes, you won't lose anything. However it'd be good to get logs from alogcat or such to figure out the crash problem.
Awesome.. tasker is too good and much better than locale and setting profiles (though UI could get a bit better)... I've been waiting for it to arrive on the market..
I guess I'm the only person who has troubles with the app.. ::sigh:: I want to love it..
I've actually been using the app for a little over two weeks, and I've found it to be indispensable! GPS drains my battery too fast, so I love coordinating tasks with calendar events in conjunction with network-based location. Not to mention auto starting GPS for specific apps and then shutting GPS back off when I exit said app. There are simply SO many uses for tasker, and its compatible with locale plug-ins.
Btw. Try using Foxy Ring's ambient noise feature to auto adjust ringer volume. It works great when constantly moving from quiet study areas into a loud common room.
Does anyone know how I can set up Tasker to switch to 2G at midnight and then back to 3G/H at 8am?
I have looked throught the options and I can see the settings for 2G, but when I add Time as the 1st context I then can't find anything relating to 2G for the next context.
I understand it's probably just me being thick but if any one could help it would be much appreciated!
Loving this app otherwise, well worth the small fee.
Thanks.
CitizenLee said:
Does anyone know how I can set up Tasker to switch to 2G at midnight and then back to 3G/H at 8am?
I have looked throught the options and I can see the settings for 2G, but when I add Time as the 1st context I then can't find anything relating to 2G for the next context.
I understand it's probably just me being thick but if any one could help it would be much appreciated!
Loving this app otherwise, well worth the small fee.
Thanks.
Click to expand...
Click to collapse
Sure, Tasker doesn't have a "Default" profile, when a profile ends it returns what settings it changed back to what they previously were.. So if it's H going into your night profile, switch off 3G, then when the profile is over it'll return to H. The big difference here is that most likely you're going to have to run an external program, maybe APNDroid or something, to toggle 2G/3G, as apparently it's not in the API directly and Tasker can't do it. So you have an entry task and an exit task.
Yep, I just looked for apps that can do this, they all launch the option in the menus, can't do it directly... So doing this doesn't seem (directly) possible, but maybe there is something out there.. I just glanced. http://www.cyrket.com/search?q=3g&market=android
Profile
Context: Time 00:00 to 08:00
Enter Task
Run Program APNDroid (?)
Exit Task
Run Program APNDroid (?) (to toggle it back on, since it's not a setting here)
Found a nice review and guide for tasker here:
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
Looks powerful, and superior to locale.
psych2l said:
Found a nice review and guide for tasker here:
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
Looks powerful, and superior to locale.
Click to expand...
Click to collapse
I kind feel sorry for Locale Tasker has it 100x over, plus it can use Locale plugins.
I haven't done much digging, but... maybe someone could help me with this one:
I have the Samsung vibrant which does not have a hardware camera button. Would there be a way to use this app to remap the power button when in the camera.app to use it as the shutter button?
Thank you
Anyone else having force closes when trying to set backgrounds for app menus? Don't dig the bland menu background that comes stock in the app.
Great app except the fact it is using 1/4th of my battery for two profiles.
UrbanMuppet said:
Great app except the fact it is using 1/4th of my battery for two profiles.
Click to expand...
Click to collapse
You have something misconfigured or you have insanely good battery usage then. I have Tasker using the GPS every 10 minutes, uploading that GPS data to my website. It reminds me every 2 minutes of missed email, phone calls, sms... It goes speakerphone if I flip it on a call. It changes profiles for home, work, work meeting, running GPS in the car... I think I have a profile to wash the dishes too, but I'm waiting on an enhancement from Pent to make that one function.
Seriously, post on his forum with the exact context and task, I bet something is done wrong.
Man I still have difficulty trying to make Tasker do simple things because I'm not really savvy with such stuff...
I have been trying to get Tasker to automagically switch keyboards based on orientation for like a few days now, no luck. I want to have Swype when in portrait mode, and then a custom HiRes keyboard in landscape...
can anyone help with this or if someone has done it already, please lend some advice...
Also, maybe this thread can become the official Tasker profile thread, if not, maybe a sticky with user created profiles?
ImSoHungry said:
Also, maybe this thread can become the official Tasker profile thread, if not, maybe a sticky with user created profiles?
Click to expand...
Click to collapse
Been trying to a place where people dump their profile examples for the inept people who can't work out half the settings, like myself
Tasker works perfectly on my phone: HTC Desire, stock ROM, official Android 2.2 update
My profiles:
Profile: Running Navigation
Context: Application: Load app Sygic
Tasks:
- Misc: GPS ON
- Audio: Set Media Volume to max
- Display: Set Brightness to 200
- Set Speakerphone to ON
Profile: Silencing Hidden Caller-ID
Context: State: Incoming Call
Tasks:
- Audio: Set Ringer Volume to 0 - if %CNUM ~ 0
- Audio: Set Vibrate to OFF - if %CNUM ~0
Note: for the second profile, you need to use at least 1.0.6 beta 5 (%CNUM bug fixed).

How to develop a screen filter app (for brightness setting)

Hi,
You would have probably come across apps to adjust display brightness by applying a "filter" on the screen, e.g. Screen Filter - does anyone know how to develop an app like this?
I have searched high and low, and cant find out how to get started - any help would be amazing.
Thanks.
Im interested in this topic too Im currently developing an app where the app is active 5-10 min, and its not suitable to let the lockscreen be active. However, its likely that users, and the battery, wants to dim the brightness down, say 50%. But i cant find a way to programaticly to that. Is this so called screenfilter the solution?
Hey, I dont think this is what you are looking for pippi - this Screen Filter app is used to lower brightness beyond what the phone normally allows.
Its probably something like this you need to code...
"WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.screenBrightness = 100 / 100.0f;
getWindow().setAttributes(lp);"
Can anyone help me with my question? thanks...
Aha, thank you very much! Ill look at that tomorrow, got some stuff to do before new years eve, cheers!

How to make tasker wait before running task?

Quick question for those of you a little more experienced with Tasker than me.
-how can i have tasker wait to make sure a state remains a certain way before running the task? for example, i would like to run a specific task if the screen has been off for a set amount of time. i know how to set the profile for screen off but not to make it wait for it to stay off a set amount of time before running the task
-another question i just thought of. how would i go about doing this: already runs home profile when connected to home wifi- would like it to run another profile when i disconnect from the network and leave home but i dont want it to keep switching to that mode all day. ive seen the cooldown and limit repeats setttings in the properties but cant figure out how they work and the help isnt very helpful.
thanks!
DaveWW00 said:
Quick question for those of you a little more experienced with Tasker than me.
-how can i have tasker wait to make sure a state remains a certain way before running the task? for example, i would like to run a specific task if the screen has been off for a set amount of time. i know how to set the profile for screen off but not to make it wait for it to stay off a set amount of time before running the task
-another question i just thought of. how would i go about doing this: already runs home profile when connected to home wifi- would like it to run another profile when i disconnect from the network and leave home but i dont want it to keep switching to that mode all day. ive seen the cooldown and limit repeats setttings in the properties but cant figure out how they work and the help isnt very helpful.
thanks!
Click to expand...
Click to collapse
maybe you can make a new task that set the variable act as a flag to toogle. and check that variable inside your home profile

[Q] Quickest way to 100% brightness...

Hi,
Im looking for an app or widget that will allow me to set my brightness to 100% the fastest way.
I find it very hard to blindly go through my phone just to set it to a brightness level where I can actually see things when i go outdoors.
I've tried an app that lets me shake my phone to set it to 100% and shake it again to set it to auto. Unfortunately, the sensitivity isn't very good. I find it setting my phone to 100% even if i dont want it to.
Currently, i'm using an app called Invisibright that allows me to run the app blindly from the notification area and do a quick swipe up on the screen to increase brightness. I find it very handy at the moment but there is still those extra steps that im looking to eliminate.
Any other ideas will very much be welcomed.
Thanks

Tasker Guide to Auto Brightness

Follow this Guide at Your Own Risk.
I am not responsible for bricked devices, lost data, thermonuclear war or getting fired for missed alarm or whatever happens to your device by following my instructions​
I have been a long time Lux user. But what I found, that Lux is bugged with some compatibility checking wakelock. Also, Lux uses screen overlay which is a problem. For a lot of system features in Marshamllow loaded S7edge alerts that an screen overlay has been detected and this must be disabled. Therefore, I configured Tasker (Paid software available on android market), my most favourite automation tool for android. So, where is the catch?
Process:
1. Disable Auto Brightness and Create a New Task in Tasker.
2. Select Action Category > Display > Display Brightness
3. Then Set Brightness Level value at 15 (Or whatever lowest brightness you're comfortable at)
4. Below, set if parameter as "%LIGHT < 20 (Or whatever brightness level you want for 15% of brightness)
Repeat Process 2-4 to create multiple steps for your brightness level adjustments.
Now, in Tasker profiles, you add a new profile to be triggered by "Events > Display > Display On and assign the created Task.
You can also adjust your brightness on per app basis when you want a specific app to have a set brightness level by following the same process except when creating a profile you have to select "Applications" and assign the created Task or a similar task created separately.
Update:
I have attached a Tasker configuration xml to get started with.
Please note that this guide will setup auto brightness to be adjusted on device wake. You can hook this update to any event as you want.
Tested working on SM-G935FD. Should work on any Tasker compatible android device with Light Sensor.
What's wrong with auto brightness?
drummerman said:
What's wrong with auto brightness?
Click to expand...
Click to collapse
+1.... I think that Android is great because of the customization option available, but sometimes people just over-customise.
There is nothing wrong with Auto-Brightness, and in case you have a problem with it, just override it using the bar on the notification panel.
Still, although I will never use it, this is a nice tutorial.
drummerman said:
What's wrong with auto brightness?
Click to expand...
Click to collapse
Default Auto brightness implemented in S7 edge is buggy. here on xda you can check it out.
Teio said:
+1.... I think that Android is great because of the customization option available, but sometimes people just over-customise.
There is nothing wrong with Auto-Brightness, and in case you have a problem with it, just override it using the bar on the notification panel.
Still, although I will never use it, this is a nice tutorial.
Click to expand...
Click to collapse
But this is not over-customization, at least in my opinion. It means taking more control. I have been using (and many other people are) Lux to adjust the auto brightness behavior which polls sensor data at a specific period, whenever the screen is on. But if you use this guide, it will give you a auto brightness customization solution without polling light data from sensor all the time. even though the sensor will be on, it will not be active. I am not sure that it will impact on battery or not, but it gives me more control over the brightness adjustment.
cheers!
izephyr said:
Default Auto brightness implemented in S7 edge is buggy. here on xda you can check it out.
But this is not over-customization, at least in my opinion. It means taking more control. I have been using (and many other people are) Lux to adjust the auto brightness behavior which polls sensor data at a specific period, whenever the screen is on. But if you use this guide, it will give you a auto brightness customization solution without polling light data from sensor all the time. even though the sensor will be on, it will not be active. I am not sure that it will impact on battery or not, but it gives me more control over the brightness adjustment.
cheers!
Click to expand...
Click to collapse
Good point. Though I don't see the issue on my device, Auto-Brightness works as I expect it to. It gets very bright on sun, and dim on dark rooms (though I would like it to go a tiny bit dimmer to be perfect). Will this Task auto adjust or you need to select the desired brightness yourself?
Teio said:
Will this Task auto adjust or you need to select the desired brightness yourself?
Click to expand...
Click to collapse
You can select the desired brightness level according to your comfort.
Teio said:
Good point. Though I don't see the issue on my device, Auto-Brightness works as I expect it to. It gets very bright on sun, and dim on dark rooms (though I would like it to go a tiny bit dimmer to be perfect). Will this Task auto adjust or you need to select the desired brightness yourself?
Click to expand...
Click to collapse
According to http://www.greenbot.com/article/303...brightness-fixes-a-major-mobile-headache.html and this: http://www.displaymate.com/Galaxy_S7_ShootOut_1.htm you can customize according to your liking .. hadn't tried it though all I need is the AOD to shine a lil bit dimmer
The drawback to this is that it only adjusts brightness based on the level when you turn the screen on. If the ambient light changes, the screen brightness won't change with it.

Categories

Resources