Discover Undisclosed APIs with Android’s Secret
Posted March 4, 2012 at 06:00 pm by Conan Troutman
To put it as simply as possible, an API (application programming interface) is a piece of code which acts as a link between various software components and allows them to communicate with each other. To make things easier for developers, a huge list of APIs and their corresponding classes is available at developer.android.com. Unfortunately this list is not always up to date, for instance, the Bluetooth API was disclosed with the release of Android 2.3 but had been available since 2.2. What’s more, according to XDA member addre the list actually lacks a vast number of of the available APIs.
Android’s Secret is an application which provides developers with the ability to search their device to access the complete class list and information. It can also provide sample codes to help them access these hidden classes and methods, allowing them to add advanced functionality to their applications. According to addre, the official documentation lists approximately 3112 classes, yet a scan of a Galaxy Nexus reveals 9082, and a scan of my SGSII returned 9738, quite a significant difference I’m sure you’ll agree. Unfortunately it cannot be guaranteed that these API calls will remain functional indefinitely as they are unsupported.
Features of the application include;
- Filtering by disclosed/undisclosed
- Keyword search
- Export and share information
- Browse the built in resources at R.xxx
While we don’t exactly recommend building code that calls on these hidden APIs because they may be removed in the future, this app is still inherently interesting. Android’s Secret requires Android 1.6 or above, and is available from the original release thread.
Want something on the XDA Portal? Send us a tip!