Study of "interaction simulation" on android [closed]

0

Hello, I would like someone to give me some material (I can be in English Tb) so I can study on this subject that I do not know the correct definition. Ex: I want my APP to perform interaction that the user would do on Android, such as do a google search and get this result or open another application.

Why would I use SHELL?

Give preference I search for references that use Cordoba or something similar.

If possible, only the name to define this so I can search it would help a lot. Since I do not know the name of this technique I do not know how to search.

SUMMARY: I'm looking for a reference so I can open other applications and interact with some parts of them, simulating or automating some user actions on Android

Thank you = 3

    
asked by anonymous 25.12.2015 / 22:08

1 answer

1

You can use PackageManager to get Intent for a package, eg:

PackageManager pm = getPackageManager();
Intent intent = pm.getLaunchIntentForPackage("com.exemplo.pacote");
startActivity(intent);

The getLaunchIntentForPackage(String packageName) method returns a Intent to start an Activity from the selected package.

See the documentation here .

See more in this question .

    
26.12.2015 / 15:44