Search code examples
androidandroid-intenturilaunching-application

Android - Launch 3rd party app and do something


This is my first question so please don't be so harsh.

Basically I want to open a 3rd party android app with mine and do something with that 3rd party app like search in a searchfield.

I know how to just open another app (with intent) but that doesn't really provide the option of doing anything, it just launches the app.

I also know of Uris which are used in for example the play store ("market://...") but the app I want to do something with doesn't really provide anything like that.

I don't care if it is only possible with root btw.

I hope what I want to achieve is actually possible :P

Thanks a lot,

fandroid


Solution

  • There is a solution, but for it to work you have to run dalvik, ART is not supported atm.

    Xposed works great for hooking methods from other applications.

    Check out the developmet tutorial here: https://github.com/rovo89/XposedBridge/wiki/Development-tutorial

    fandroid