[Xposed Framework Modules] p.valenta:
Version 2.5.0 released

This version contain few bug fixes. Apps in the list are handled by single activities instead of whole package now. And I implement promised "Add Custom App" feature, which took me most of the time to polish. I'm still not happy how it works (actually not in most cases), but let's release it as experimental feature for advanced users now.

Changelog:

- LG G3 special always checkbox and note should be hidden by default layout.

- Fixing crash reported by some devices.

- Rules apply by single activities instead of whole packages for new rules. That means if any application have two activities inside dialog, you can hide only one and still keep other one there now. Mod keep compatibility with previously saved package rules.

- "Add Activity" advanced feature to allow add custom app into list

Add Activity Feature

DISCLAIMER

Please note that this is advanced feature which is currently marked as experimental. That means that it might not work as expected.

Target application developer doesn't expect his application to be called this way.

He doesn't register his application activity for such call, this is why it doesn't appear between other applications in open/share dialog list.

If you are lucky, it might work. Otherwise it will result in FC or simply application launch without opening your file. Anyway, let's start with tutorial.

[IMG="enable add feature"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity1.png[/IMG]

This new choice is main switch. You can enable this feature here or anytime simply disable whole feature by unchecking it.

[IMG="manage list"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity2.png[/IMG]

Like always, you need to use wrench icon (or long press if you set that choice) to manage list of applications. This means that this feature is currently available only for system dialog.

Custom open/share dialogs (Chrome, QuickPic, etc.) are not supported.

I tried to make it work for them too, but looks like injecting custom app at Package Manager level bring more trouble for whole android system.

[IMG="add activity"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity3.png[/IMG]

You should see new button at the bottom of screen - "Add Activity"

[IMG="loading"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity4.png[/IMG]

Load all possible activities will take a while, so please wait. I'm searching for Activities which can accept open/share kind of call. Standard Android API doesn't provide such method, so I enhanced Package Manager Service.

Here can come first problems for some devices, If you will see

FC android system

dialog at this loading step, then your device Package Manager Service is not compatible, sorry. Uncheck this feature and

restart your phone

. Restart is needed as Package Manager Service crash and stopped.

Once you see list of Activities, you can try your luck to find activity which can accept and proceed successfully your call. Choose similar type, similar action.

Here is for example my test for Open image dialog:

[IMG="Image Editor"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity5.png[/IMG] (doesn't work for open image)

[IMG="another"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity6.png[/IMG] (at least show up list of images)

[IMG="test"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity7.png[/IMG] (looks working for open image dialog, but show list of images instead of selected one)

[IMG="test activity"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity8.png[/IMG] (this is my test activity, it will always work. but it only display information about call)

So then you can turn simple Open Image dialog choice from original to custom:

[IMG="added"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity9.png[/IMG]

When going again to "Manage List"

[IMG="manage"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity10.png[/IMG]

You will see this added activities marked by red color. Use "Off" choice to remove them from list.

[IMG="manager"]https://dl.dropboxusercontent.com/u/14084101/CompleteActionPlus/AddActivity11.png[/IMG]

Or you can go to "About" tab, then "Rule Manager" and slide to "Added" tab to remove them faster.