ApplicationFinder.ane

This is the first ANE that I made for my own project… hopefully my other ones can be released soon.

Anyways, let’s get right to it.

The ApplicationFinder ANE is something I created to help you find other Applications on your Android system. You can get information 2 ways.

isAppInstalled(package:String):PackageInfo

This method looks to see if a particular application (by app id) is installed. If the application is installed ApplicationFinder returns the name, package id, version number, and version name of the application. If the app isn’t installed you get null.

getInstalledApps():Array

This method just returns to you the entire list of installed apps. Go nuts, search and find what you need. Like the isAppInstalled you get the name, package id, version number, and version name of the application.

Later I’ll add things like also returning the app icon, possibly some app management methods (startup, shutdown, etc).

I’ve included my test app here so you can run it, and then the ANE also. Enjoy!

Test Application (FXP)
ApplicationFinder.ane

Share

Comments (4)

vincentNovember 8th, 2011 at 2:16 am

Looks great ! You have planned to do it too for iOS?

Thanks

jonbcamposNovember 8th, 2011 at 7:14 am

@vincent Maybe at some point, but not super immediately.

DanelNovember 9th, 2011 at 2:33 am

Cool, really appreciate your effort and sharing!

Its time to start up a ANE bank for exchanges :)

Leave a comment

Your comment