yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] phntm:
okay, let's see:

right now if you set something to turn on when you enter a location, it should restore to last value (i.e. turn off) when you leave without having a second task. that's the implicit "end" action which will be explicit in the next version so you could edit it.

location uses cell data, wifi and gps. if you don't have any of them on - location condition probably won't work, at all.

if you turn airplane on at home - there's a good chance the phone won't be able to figure out you left the house.

maybe you should use a "charger connected" condition with a location condition for this so it will turn off airplane mode when you disconnect the charger, but only turn it on when you're home using the location (conditions groups as "AND").

the wifi connected condition only matches the ssid to a connected wifi (not wifi near) so - no, it won't work if wifi is off or even disconnected.

i've seen some nexus devices that let you turn wifi off but still get wifi near broadcasts, i'm playing with this now and hopefully add a new condition soon. still, if wifi is off it's a good bet wifi related conditions won't work.

good luck,

Anton.
[Android Apps and Games] tcat007:
Thank you. I deleted the task turn airplane on and left the turn it off outside the circle. I did not have cell data, wifi or gps turned on. I left my house and airplane mode turned itself off. So I "think" it is using cell towers without cell data having to be on. I'll know if it turns on later today when I go home.

If there was a way to "sense" a specific wifi ssid (obviously the phone knows if you're within that ssid), it would be fantastic to use (without wifi on), but yes that may be too much to hope for.

edit: OK "almost" does what I need.

I have "Wifi On" at work SSID - Turns on at work, turns off after about a minute of leaving

I have "Wifi On" at home SSID - Turns on at home, turns off after about a minute of leaving

I have "Airplane On" within 75m of home - turns off when I leave home (after about 2 minutes), but doesn't turn on when I arrive at home (maybe a conflict with wifi on?)

I have "Wifi Off" after 10:00 PM - not tested yet, I assume it will shut off and stay off until I get to work (or turn it on manually)

GPS is not on in any case. Cell radio is on when not in airplane mode.
[Android Apps and Games] guags99:
I too am having some issues with enabling Airplane Mode. The app has root permissions and airplane mode has triggered a couple times, but most often all the other items trigger, but not Airplane mode. If it NEVER worked, I guess I would be less confused. It's just that it has on occasion worked.

Otherwise I love the simplicity of this app vs the many others I have used.

Thanks
[Android Apps and Games] phntm:
There's an anti-double-run protection that seems to be bugged.

I'm not sure how it's bugged but evidently it is.

Since in 0.3.0 (the still unreleased version) we're changing the way actions are executed hopefully this won't be an issue anymore.

We're also adding an event log just in case it's still there to make it easier to debug.

If running the reset link (https://kix.co.il/minitasker/reset.php) helps with this, even for just one more run - then it's evidence the double run protection is bugged.

if anyone can reproduce this: i would very much like to hear how, and would appreciate a copy of the database

located at /data/data/il.co.kix.minitasker/databases/minitaskerdb
[Android Apps and Games] phntm:
v0.3.0 beta1 released

we're back, with a brand new version that changes a lot but still feels like more of the same.

there are a lot of suggestions we intend to implement before the 0.3.0 stable release, this beta version is mainly to test the upgrade process so it's almost entirely compatible with 0.2.15.

we've redesigned the main screen, to make editing easier. just click the description to get to the new edit menu.

from there you get a couple of new buttons like the "add label" button, and the "duplicate task".

you can also long press and drag actions to reorder them but it's kind of clunky at the moment.

there are a lot of small stuff fixed over time, some of which i already forgot about

the calendar condition now supports everything it should - including repeat events and timezone changes.

the location condition now detects the address and puts it in the description instead of the ugly coordinates.

the sms send action can reply to phone calls using *69 target number

the charger condition now has an option for a wireless charger

the new execution engine is a work in progress, it's mainly acting like the old one, but we've removed some stop signs so do tell us if you get action spam.

the restoration should also do a better job but it may require more tweaking on our part.

most importantly: please tell us if the upgrade process worked. it's quite complex and we want to get it right before pushing the update to everyone.

if you're ok with getting this somewhat risky update please subscribe to this group:

https://groups.google.com/d/forum/minitasker

and then connect using the same email and accept the beta install here:

https://play.google.com/apps/testing/il.co.kix.minitasker

your feedback is much appreciated

thanks for your continued support, Anton and Michal.
[Android Apps and Games] thusband:
Turn Bluetooth on/off

I can set up a shortcut to turn Bluetooth on when I run Overdrive or PocketCast but how do I turn Bluetooth off when those apps aren't running? Is that a condition thing?

Great app by the way. Simple and intuitive.
[Android Apps and Games] phntm:
Short answer: apps don't tell when they stop running in android. when you move away from an app (open/focus another) it's still there and even when android os decides to kill it there's no easy broadcast to catch. it also might never die, and just keep chilling in the background which is even harder.

There are some apps that actually kill themselves (waze for example), so I might be able to periodically track these, but defiantly not all apps. If you want this feature help me compile a white list of apps that actually allow the user to exit (have an exit button). send me the package name to contact@kix.co.il and I'll try to add this soon.
[Android Apps and Games] Bwangster12:
This is the same issue that I ran into with Llama. They have a background/foreground option for this type of thing. I was going to have XXX go on when I open Maps and then close when I close it... but sometimes you want to check a text message and leave Maps running in the background, which would destroy this logic.
[Android Apps and Games] twilightgod:
hi, I want to make an action of update a line of sqlite table, what's my option?

Write an app?
[Android Apps and Games] phntm:
There's a terminal command called sqlite3 that should do the trick.

The update part is easy, but writing to other apps might require root.
[Android Apps and Games] OptiG:
Is it possible to change from UMTS(3G) to GSM under certain conditions eg. time based?
[Android Apps and Games] phntm:
beta 2

i'll try to add it before 0.3.0 final.

also, beta 2 is released, changed the action runner quite a bit, hopefully to make it more reliable.
[Android Apps and Games] l3s:
For me, on my Nexus 5 and Nexus 7 do not working any connectivity (ie: wifi, sync, data) switch. I tried the beta and stable also.

Edit: if I choose only wifi switch, it is working well, but when I set turn off wifi, turn on off app data, turn off autosync with time trigger, nothing happens.
[Android Apps and Games] phntm:
can you share the task so i could have a look? i'm guessing that's on kitkat, right?

i've tested on nexus 7 with kitkat and it seemed to work fine.
[Android Apps and Games] l3s:
https://kix.co.il/minitasker/importer.php?id=716

Yes, both device with 4.4.2

Thanks
[Android Apps and Games] phntm:
okay, just tested it on the nexus 7, wifi+sync worked. (it doesn't have mobile data)

did you edit it after it ran for the first time ? try turning it off and on to reset it's running state.

also, it only runs once when the start time or end time comes, so if you set the time range in the past it might not run.
[Android Apps and Games] l3s:
Ok understand.

But I already tried switch on off, and if I set this rule for the future time ie 1 hour later, it is looks like nothing happening. My wifi and anything still else working.

Ok I will see, what happened in this night.
[Android Apps and Games] phntm:
since you're on beta, please do share your experience, even if it does work i would really like to know :)
[Android Apps and Games] phntm:
beta 3

beta 3 is now available with new sms sending and receiving code.

this should address issues people were having after installing the new hangouts, handcent and be compatible with the new kitkat way of handling sms.
[Android Apps and Games] l3s:
Looks like the last update (beta 3) solved my problem.

Actually my previous uploaded rule running without problems.

Thanks!
[Android Apps and Games] OptiG:
Is it necessary to define a stop condition if Bluetooth was activated "while driving"? It seems that it will not be deactivated automatically
[Android Apps and Games] phntm:
there's a special delay in seconds, you can change it in the settings.

it only affects the activity recognition end task.

the delay requires the device to remain the whole time in a single state (for example - standing still).

there were many complaints on bluetooth being turned off prematurely and the delay is a primitive fix for the problem.

as always i'm open for suggestions.
[Android Apps and Games] phntm:
v0.3.0 beta 4

beta 4 should hit the market momentarily

i've added a new condition for the hdmi slimport condition, please test it if you got one and tell me if it works (do tell me even if it does).

there's also an unfortunate upgrade bug for people coming from 0.2.15 and skipped beta 1

in 0.3.0 we're no longer generating sql by hand, it's now done by script, but the upgrade part of this script was slightly bugged.

good thing is, once the generator bugs are fixed, there should be no more sql typos so it's a necessary process to make more stable builds in the future. sorry it took a while to notice this and thanks for the prompt reports.
[Android Apps and Games] doc798:
Ability to stop Media Scanning

Does Condi have the ability to stop a built-in Android process like Media Scanning?

Right now I have a problem on my Samsung Galaxy S3 in that the phone keeps the Media Scanning app running much longer than it needs to and consequently uses up a lot of battery life. Right now I have to manually "force stop" the Media Scanner shortly after I turn on the phone each day to prevent this battery drain. I was hoping to use Condi to automatically stop this process using the trigger of "whenever the operating system is booted up", but when I've tried using this rule Condi is not able to stop the Media Scanning app from running.

My phone is not rooted. Does it require root privileges to be able to stop a process such as this?
[Android Apps and Games] phntm:
what the action does now is called kill background processes, it might actually work in your case, but it's not as powerful as a force-stop.

the current action doesn't require root.

i'm considering adding an addition that will allow force-stopping apps using root permissions.
[Android Apps and Games] phntm:
i've finally figured out the mysterious reliability bugs that plagued condi

long story short: sometimes timers cancel each other, this was only visible if you had multiple timer types (like time, calendar, activity)

i've fixed this in beta 5 which will hit the market in a couple of minutes.

this pretty much explains all the weird symptoms you've been having and hopefully won't have anymore.

since this is a big find i want to release the beta to the public as soon as possible,

but i also don't want to screw up thousands of users so i'll let the beta out for a day or two of testing.

please test it as much as possible.

there are also a couple of new things:

* hdmi plugged (slimport) condition now works on the nexus 4 and 7 (i'm guessing others as well).

* terminate action can now use root superpowers to force close apps.

* brightness dialog has been cleaned up.
[Android Apps and Games] l3s:
I have some problem. Actually I'm on beta 4.

In my rule in this morning don't switch back the mobile data.

I found one sign in the restore mobile data, witch said my API doesn't allow this action....

The second problem, if I try to share (export) the rule to Google Keep, the app FC.

https://kix.co.il/minitasker/importer.php?id=730
[Android Apps and Games] phntm:
The API warning means Google changed some undocumented api.

Does this always happen?

Is the warning only on the restore part?

(I forgot to add a clear button for the warning flag so you might need to recreate it, sorry)

About the share, i think i found the bug but if you can send a crash report i would appreciate it.
[Android Apps and Games] l3s:
I don't know. Today morning was the first with this rule, and yes actually this is the only one thing what is have this warning sign. I will try today sometime, and I will report back.

Yes, I realized, there is no clear button, so I deleted the mobile data switch from the rule and I added again.

Thanks, crash report already sent.
[Android Apps and Games] sunglint:
Feature requests

Just installed and joined beta, looks like a well thought out app. Had a couple of suggestions.

1) the time chooser, the rolling barrel thing, seems quite slow. It would be nice to use the one in the clock app, the hand you move about with your finger.

2) I would LOVE to have some kind of buttons, like a widget that I could put buttons in. The reason is I'm a bit paranoid, so dont want bluetooth turning on automatically, but when I get in the car I'd love to be able to hit a button and load a configuration. "Driving" wouldnt work because I dont want bluetooth on when riding in someone elses car or a bus. I know there are apps that do this but the ability to trigger scripts based on either a button or a condition could be quite useful.

Again, great app, and thanks for being so open and responsive, it's great to see a dev who is on top and keeps up with the thread.
[Android Apps and Games] phntm:
you can click the time picker to enter time with the keyboard, and i will look into upgrading it to the newer widget.

you can add a shortcut to your main screen using the "app launched" condition, it's just a fancy name for a shortcut. you can delete the launch app action afterwards and keep the shortcut :)
[Android Apps and Games] l3s:
I tried couple of times with the newest beta also.

Sometimes I got warning sign when the app try to disable mobile data: couldn't acquire network info

Sometimes I got warning sign in the restore part: your API doesn't allow this action

One time nothing happen. I mean no warning sign, but my mobile data do not charged
[Android Apps and Games] phntm:
fixed it, will release a fix later today.
[Android Apps and Games] phntm:
rc2 released

rc2 is up, fixed mobile data
[Android Apps and Games] l3s:
Ok, I updated yesterday.

In the night everything went well...

In the morning when I take out the charger, my wifi came back, but the mobile data, app sync still turned off. (no warning sign or anything)

I tried to delete the rule, and I add again. When I add again the gps turn off, the app asking again the superuser permission.

After that I tried again and everything works well! So it looks like, it needed to delete and add again the whole rule.

So now is perfect, working well everything.

Thank you so much!
[Android Apps and Games] denis_besir:
Can Condi keep my screen on while I am in Google Maps?
[Android Apps and Games] Sgace:
Hello,

First of; nice app, really straight forward and easy to use.

But for me there are some problems with connections and sensors, they just wont be toggled on or off. None of them.

I hope you can help me, cause i really want to use your great app.

Running stock 4.4.2 Nexus4 with root acces.

Thnx and cheers
[Android Apps and Games] phntm:
is this on the beta version or 0.2.15 ?
[Android Apps and Games] Sgace:
Sorry, forgot to mention.

It is on latest beta, but also happend on previous versions.
[Android Apps and Games] phntm:
i'll add a report button to the next version that will upload the database to me, cause otherwise this is kind of hard to debug.

does the problem remain ?
[Android Apps and Games] Sgace:
That would be a good idea:thumbup:

Unfortunedly yes, they remain.
[Android Apps and Games] phntm:
v0.3.0 rc3

still in beta, rc3 fixes some small reported issues like the crash after sharing and some weirdness in the main screen.

the market finally got some attention, and the share will work with the new restore actions.

there's also a new "report bug" option in the menu that can upload the database to me, please use it for reporting issues!

(post here the id if you still want a public post, but this way i can see what's actually wrong and avoid the guess work).
[Android Apps and Games] phntm:
currently no, condi can't keep a wake lock, and also condi can't really tell when you close google maps in the current version.

please use the new "report a bug" option in the menu of rc3 so i could have a look at the database.
[Android Apps and Games] Sgace:
Gonna give it a go asap.

Thnx for the update m8.

Edit: bug reported. App fc-ed after that, but thats ok i guess?
[Android Apps and Games] phntm:
No, it shouldn't crash, it also failed to upload the report :'(

Can you please submit a crash report so I could fix the uploaded?

Also, does sharing tasks work for you? Its using a lot of the same code so I wonder..
[Android Apps and Games] Sgace:
Ah, thats a bummer.

Gonna try rightaway and post back here.

Edit: sending bugreport was ok now, no fc this time. Strange.

Is this enough for you or you want more?
[Android Apps and Games] phntm:
yes, got it.

this is interesting, no errors recorded, did the notification alert fire?

can you check the root app log to see if root permission was requested at the time of the condition? (was it once or twice or not at all)

can you try out adding actions turning off gps and bluetooth? (maybe it's a bug with airplane)
[Android Apps and Games] phntm:
v0.3.0 public released

It's out, we're gonna try out the staged rollout thingy. It's almost identical to rc3 so you're not missing out.

3 small bugs were fixed - a crash when there's no internet and you try to report a bug or share a task, and selecting stuff on the main screen sometimes failed.

If all goes to plan the rollout should reach 100% by tomorrow.
[Android Apps and Games] Sgace:
Hey,

Yes notification did fire en volumes were restored aswell. Only airplane mode wasn't deactivated.

Su was only called on once, at the time of making a task to deactivate airplane mode.

Gps and bluetooth are now being toggled:D when set separately, so thats nice. Su is called every time these tasks are set so that works.

I think it should be a bug with airplane mode like you said.

Hope u can figure it out.
[Android Apps and Games] phntm:
well if that's the case i do have another request, if you can try out these commands in a terminal emulator or at "adb shell":

su

#(this should get root, some root managers require to enable terminal su in the settings)

settings put global airplane_mode_on 1

am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true

#(these two should enable airplane mode)

settings put global airplane_mode_on 0

am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false

#(these two should disable it)

please tell me if these commands work for you.
[Android Apps and Games] Sgace:
They both worked in terminal, but it gave a warning multiple times (see below)

"WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix"
[Android Apps and Games] phntm:
I don't know then, was it adb shell or an actual app?

I'm basically running the exact same commands here, it should work the same.

If you have titanium backup, try converting condi to a system app, then it should be able to toggle air plane mode without root.
[Android Apps and Games] Sgace:
It was in a terminal app.

Converted to system app and stil a nogo with airplane mode.:(

Edit: also tried as a priv app in kk it didn't work too.
[Android Apps and Games] nupi:
Liking what I see so far, but I can't seem to manage pulling off the following:

Turn off VPN when in the home WLAN

Turn on VPN as soon as home WLAN disappears

I am using the Connect to VPN app from Private Internet Access but I am quite flexible in switching VPN apps if that helps.Is there any way to launch intents rather than just apps?
[Android Apps and Games] krypton22:
Having some issues getting the location based actions trigger properly. Currently I only have one condition set up - Turn on wi-fi when at home and Turn off wi-fi when I'm out and so far it worked well only in 1 in about 10 tries. Not sure what could be the problem.

(Galaxy S Advance, mobile data always on)
[Android Apps and Games] phntm:
my guess would be - your cell provider is not accurate enough so google play services don't trigger the condition.

try running google maps when you're at home - if after running you see condi trigger - then it's an accuracy issue.

i know it's tempting to turn off wifi, but the location detection is so much better with it on.

it's also not a good idea to burn GPS time just to figure out when to turn on wifi, cause wifi uses way less power.
[Android Apps and Games] phntm:
v0.3.1

hey, 0.3.1 released.

this is a hotfix for 0.3.0, no new stuff yet.

airplane mode should work now, at least in most cases.

restoring last state should be more reliable now.

this is a staged rollout, so you might not get it immediately.
[Android Apps and Games] phntm:
can you please check out 0.3.1 and see if this fixes your issue ?
[Android Apps and Games] krypton22:
It's kinda weird, running google maps did not help at all. Although the action itself is as simple as you can get, it seems the location based trigger doesn't work, even though everything else seems to be working just fine.
[Android Apps and Games] phntm:
If it doesn't run after maps gets a fix - Google play services is broken. Try clearing it's data.

Also make sure the coordinate is correct on the condition and maybe increase the radius.
[Android Apps and Games] krypton22:
Clearing the data did not help but re-installing Condi did. You were right about the mobile data signal being inaccurate, which leaves me with an option of increasing the radius. Call me stupid but how do I do that?
[Android Apps and Games] phntm:
you zoom out and click again.

it was more intuitive before there was a minimal limit, now you might have to zoom out quite a lot before you see the radius change.

if you come across this bug again file a bug report.
[Android Apps and Games] exorz:
Very nice app. Clean and simple. I'm looking for the option of changing network type when wifi is enabled rather than mobile data since turning off mobile data kills MMS. I was wondering if this option was something being considered or if maybe I'm just not finding it. Thank you for your work.
[Android Apps and Games] phntm:
We're still having trouble with some phone variants, the api doesn't seem to work like other settings.

I'll try to find some time to work on this soon.
[Android Apps and Games] phntm:
v0.3.2 release

This release mainly addresses the restore action issues.

We're now tracking which tasks add restore values and make sure they clean the stack out.

The conflict behavior is now like in the older versions - only the last task actually restores and only the first value is saved.

We've added a fun feature, NFC links. Basically you can get a url link to run tasks. You can burn it into an NFC card and trigger tasks like that.

Georg Witoszynskyj really done an outstanding job translating to German. Make sure you thank him.

Beta testers please report bugs before we roll out to everyone.

There might be issues with shared links, flags dismission, maim screen in general.

Thanks all!