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.
Mike McCrary · Jul 31, 2015 at 03:56 pm · 1 comment

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services that offer ways to stream catalogs of music directly to your device. While each service has their benefits and drawbacks, the common theme among them is to give you access to a vast library of music without the need to store your own, and charge you a monthly fee for the privilege. But what if you already had access to your own catalog of music? Sure, there...

XDA NEWS
GermainZ · Jul 31, 2015 at 01:03 pm · no comments

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more than just calls on the go. Since you're on XDA, you probably do and want to get the most out of your battery. Now, you can't magically expand its size but no matter how much its capacity is, you should make sure it's not draining faster than it should be. Your phone's processor runs at different frequencies when you're using the device. The CPU...

XDA NEWS
Mario Tomás Serrafero · Jul 31, 2015 at 11:00 am · 3 comments

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of the biggest flagship lines issue their latest iterations. Phones like the LG G4 and Galaxy S6 were some of the most anticipated devices in smartphone history, and the hype surrounding the M9 and OnePlus 2 had us discussing for weeks. But for the most part, the awe has vanished.   There is a feeling that virtually all of us at the XDA office...

XDA NEWS