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 29, 2015 at 06:00 am · 3 comments

Android M Preview Images – XDA TV

Android M preview images are available. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of Google's Project Tango going on sale and be sure to check out the article talking about Google's Roboto font going open source. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA TV Producer TK...

XDA NEWS
Mathew Brack · May 28, 2015 at 09:59 pm · 6 comments

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android M to be smarter about managing power. Their new Doze feature comprises of two primary roles which allow Android to use motion detection in order to predict activity, and go into deep sleep at the right time based on accelerometer readings.   In order to extend your screen off battery life, Android M will now monitor your activity levels and if it detects that your device has...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:51 pm · 3 comments

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through pictures: “how incredible is it that we all have a camera in our pockets at any moment? (...) These moments tell your story (...)[but] taking more pictures and videos makes it harder to relieve memories due to the sheer volume”. This is why they are revamping Google Photos and centering it around 3 big ideas:   Creating a home for all photos and videos that is...

XDA NEWS
Share This