Mike Szczys · May 30, 2013 at 05:30 pm

Using Internal/Hidden Classes of the Android API

Pssst… over here. Yeah, did you know about the Hidden Android Classes? Shhh… it’s a secret. They let you do stuff you otherwise couldn’t. You can read internal data, like the text message database stored on a phone. You can also gain lower level access to the hardware in order to extend your app’s access to things like the touchscreen input values, or WiFi radio usage. To get your hands on that kind of contraband, you’ll need to do some poking around in the Android SDK, and make a few… changes… to the way your Eclipse ADT plugin works.

This information comes to our attention because XDA Recognized Developer E:V:A bumped his own post out of year-old obscurity, but boy are we glad he did. If you like to do things you’re not supposed to, it’ll be worth your time to read the guide. Head on over to his original thread for full details.

E:V:A’s work boils down the avalanche of information on the subject which was posted by Inazaruk a couple of years ago. The Java classes that are known synonymously as Hidden or Internal Classes are protected from direct use and hidden from being shown in the Java docs (using the @hide directive). Using them is just a matter of hacking the android.jar file and tweaking your IDE setup to stop blocking your path to the forbidden fruit.

One thing I think Inazaruk and E:V:A both missed was a simple explanation of possible applications for the hidden classes. Read more about that in this article.


_________
Want something on the XDA Portal? Send us a tip!

Mike Szczys

szczys is an editor on XDA-Developers, the largest community for Android users. Mike Szczys is a professional musician but spends all his free time working with hobby electronics. As Contributing Editor for Hackaday.com he became interested in Android as some of the early hardware hacks started popping up on the Internet. What followed was a gradually rising addiction to all things Android. View szczys's posts and articles here.
Jimmy McGee · May 5, 2015 at 06:00 am · 2 comments

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