AppContext

Have Tasker react on running applications, without the downsides of the default implementation!

The default application context of Tasker has several downsides:
• it is inaccurate (in Android versions after KitKat)
• it needs an accessibility service, which prevents using screen lock to enhance data encryption
• it checks frequently which app is running
Especially the last point is inconvenient, as frequent checks may drain battery and infrequent checks means Tasker is slow to react.

AppContext solves these problems by utilizing the power of Xposed! It hooks directly into the Activity-class, letting Tasker react immediately when an app starts. This means no more periodic checking which app is running, so no more battery drain and no more slow reactions. It's also perfectly accurate and doesn't need an accessibility service, so your device's screen lock can be used for enhanced data protection again.
(Experimental support for reacting on Services is also present.)

AppContext may also work with other apps using the Locale API, such as Locale, Llama, Automate, Automagic and others. However, this is not tested extensively.

To support development, AppContext contains non-intrusive ads. These can be removed with a small in-app purchase.

Please understand that AppContext is still considered to be in beta. There may be bugs. Please report them by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.

AppContext is also available on Google Play and XDA Labs.

COMPATIBILITY
• Android 4.0.3 and higher
• Xposed Framework
• Tasker (or equivalent)

CREDITS
• Crafty Apps EU/Pent for creating Tasker
• rovo89 for creating the Xposed Framework

Author(s): 
Package: 
io.shortway.appcontext
Version name: 
0.4.7
Release type: 
Stable (low risk of bugs)
Number of downloads: 
1,607 in total · 10 in the last 24 hours
MD5 checksum: 
7ae9e35babdb5d6f61c26a2b3061dae3
Uploaded on: 
Saturday, October 14, 2017 - 16:23
Changes: 

0.4.7
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FEATURE] The Requirements-section collapses automatically when all are met.
[FEATURE] Works with *official* Xposed for Nougat! Yay!
[FIX] A crash preventing AppContext to be launched is fixed.
[FIX] Minor bug fixes.

Version name: 
0.4.6
Release type: 
Stable (low risk of bugs)
Number of downloads: 
630 in total · 0 in the last 24 hours
MD5 checksum: 
59592172134ad7685deae0120054ad09
Uploaded on: 
Saturday, October 7, 2017 - 18:33
Changes: 

0.4.6 - Yet another minor one
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FEATURE] The Requirements are more descriptive.
[FEATURE] Merged the 2 Tasker requirements ('installed' and 'enabled').
[FEATURE] You can now collapse the Requirements-section.
[FIX] Some bugs in the Dialogs are fixed.
[FIX] Internal code restructuring.
[ALSO] Migrated to the Play Billing Library.

Version name: 
0.4.5
Release type: 
Stable (low risk of bugs)
Number of downloads: 
439 in total · 0 in the last 24 hours
MD5 checksum: 
81d02a45774ce112968f7c8f76bc7aa8
Uploaded on: 
Wednesday, September 27, 2017 - 14:30
Changes: 

0.4.5 - Another minor update
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FEATURE] Opening an existing Context now shows a Snackbar with 'Configure' button.
[FEATURE] The Requirements-section is clearer.
[FEATURE] Minor optimizations. Mainly foundations to be implemented later.
[FIX] Rewrote some of the Dialogs.
[FIX] Minor bugfixes.

Version name: 
0.4.4
Release type: 
Stable (low risk of bugs)
Number of downloads: 
494 in total · 0 in the last 24 hours
MD5 checksum: 
4cf3ef630326aa43e07eb120b480a820
Uploaded on: 
Saturday, September 16, 2017 - 19:44
Changes: 

0.4.4 - Minor update
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FEATURE] Compiled for Android 8.0 Oreo. (No Xposed for Oreo, so ¯\_(ツ)_/¯.)
[FEATURE] Slight optimizations.
[FIX] All currently reported bugs fixed.
[FIX] Some UI tweaks.

Version name: 
0.4.3
Release type: 
Stable (low risk of bugs)
Number of downloads: 
625 in total · 0 in the last 24 hours
MD5 checksum: 
5a7084f733a92e84a853e7cf132c98cb
Uploaded on: 
Friday, September 1, 2017 - 16:51
Changes: 

0.4.3 - Moar bugfixes
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FEATURE] Changed hooking of Services again, to prevent some problems.
[FEATURE] Toggling the experimental Services feature now requires a reboot to take effect.
[FEATURE] Moved 'Ignore Recents' to experimental features.
[FEATURE] Improved app detection.
[FIX] Another attempt to fix random crashes.
[FIX] Fixed some Xposed-related errors.

Version name: 
0.4.2
Release type: 
Stable (low risk of bugs)
Number of downloads: 
401 in total · 0 in the last 24 hours
MD5 checksum: 
be187f9af1307aa1fbd93429cffdeab3
Uploaded on: 
Friday, August 25, 2017 - 11:38
Changes: 

0.4.2 - Another bugfix release.
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FEATURE] Completely different way of hooking Services...
[FEATURE] ...which removes the reboot requirement...
[FEATURE] ...and should work much better.
[FIX] Another attempt to fix random crashes. If they still occur, please keep reporting them. Thanks!
[FIX] Minor bug-fixes.
Tested on unofficial Xposed for Nougat.
Some code restructuring.

Version name: 
0.4.1
Release type: 
Stable (low risk of bugs)
Number of downloads: 
388 in total · 0 in the last 24 hours
MD5 checksum: 
ad98b107fb05582c156d591073edb400
Uploaded on: 
Friday, August 18, 2017 - 16:21
Changes: 

0.4.1 - Bugfix release.
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FIX] Sometimes not all apps were shown in the 'Pick apps' screen. Shouldn't happen anymore.
[FIX] Some Xposed-related errors were fixed.
[FIX] Hopefully fixed the random crashes. If not, please keep reporting them. Thanks!

Version name: 
0.4
Release type: 
Stable (low risk of bugs)
Number of downloads: 
509 in total · 0 in the last 24 hours
MD5 checksum: 
01b90cc962b988045014c400b99423dc
Uploaded on: 
Thursday, August 10, 2017 - 12:05
Changes: 

0.4 - Service support is here! (Experimentally, but still.)
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FEATURE] Now supports Services for Event Contexts. Enable it under 'Experimental features'.
[FEATURE] Completely rewrote the 'Pick apps' screen.
[FEATURE] The Search bar is now a Search button.
[FIXED] Tasker blurbs are a bit clearer now.
[FIXED] The website-version of Tasker is properly recognized.

Version name: 
0.3.2
Release type: 
Stable (low risk of bugs)
Number of downloads: 
1,239 in total · 0 in the last 24 hours
MD5 checksum: 
2b1d7c0e1afc994081f33803540565ff
Uploaded on: 
Monday, June 26, 2017 - 20:35
Changes: 

0.3.2 - Another bugfix release.
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FIXED] AppContext recognizes the Xposed Framework properly when installed (systemlessly) via Magisk.
[FIXED] The search bar was sometimes unresponsive. Not anymore.
[FIXED] The minimum Xposed Framework version required was downgraded to 86, as per request.
[FIXED] Some other minor bugs.

Version name: 
0.3.1
Release type: 
Stable (low risk of bugs)
Number of downloads: 
803 in total · 1 in the last 24 hours
MD5 checksum: 
7306ad3f0327e0ae737577fa37a7cf1d
Uploaded on: 
Monday, June 19, 2017 - 14:14
Changes: 

0.3.1 - Bugfix release.
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.
[FIXED] If AppContext's module is enabled, it won't complain about not being able to find the Xposed Framework.
[FIXED] Pressing 'back' when picking apps to act on does not crash the app anymore.
[FIXED] The Tasker blurb in a State profile makes sense now.

Version name: 
0.3
Release type: 
Stable (low risk of bugs)
Number of downloads: 
393 in total · 0 in the last 24 hours
MD5 checksum: 
25bf20b4192fe0b1a261860edc3fa1b5
Uploaded on: 
Saturday, June 17, 2017 - 20:13
Changes: 

0.3 - Initial release.
Please report any bugs by using the in-app Feedback button, or by sending an email to shortwaystudio@gmail.com.