Conan Troutman · Mar 4, 2012 at 06:00 pm

Discover Undisclosed APIs with Android’s Secret

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!
TAGS:

Conan Troutman

Conan Troutman is an editor on XDA-Developers, the largest community for Android users. Senior Moderator, Newswriter, Recovering Meme Addict. View Conan Troutman's posts and articles here.
Jimmy McGee · May 5, 2015 at 06:00 am · 1 comment

Android System WebView Update – XDA Xposed Tuesday

Android Webview is a system component powered by Chrome that allows Android apps to display web content. Google released a security update for the pre-installed feature, but didn’t take effect on many AOSP based ROMs. However, there is no need to fear, an Xposed Module is here. In this episode of XDA Xposed Tuesday, XDA TV Producer TK reviews an Xposed Module that enables the update on AOSP based ROMs. Xposed Developer PeterCxy created the WebViewGoogle module. TK shows off...

XDA NEWS
Emil Kako · May 4, 2015 at 12:33 pm · 4 comments

Who Is Your Favorite YouTuber That Covers Mobile?

There are dozens of talented YouTubers who cover mobile, but we want to know which ones are your favorite. Let us know who your favorite tech reviewers are and what makes them stand out compared to the others.

DISCUSS
Faiz Malkani · May 4, 2015 at 12:25 pm · 1 comment

Galaxy S6 Shipping with Different Camera Models

One of the Galaxy S6's most flaunted features is its spectacular camera, its 16MP with an f/1.9 aperture performing excellently in well-lit shots as well as low-light ones, with most reviews concluding that it trounces the camera on the iPhone 6 as well. However, all may not be right in Monde de la Samsung, as earlier today, XDA Member Bananaz came across a surprising detail about the shooter on the S6, and while the revelation is not necessary groundbreaking, it...

XDA NEWS
Share This