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 · Jul 2, 2015 at 06:00 am · no comments

Floating Apps with Rovers – XDA App Review

There are a lot of great launchers to help customize your phone. Some Launchers allow you to apply different color themes. Others offer many great automated features. Some make your most used apps easy to locate by putting them in prominent positions. There is a launcher that will let you do just about anything you want. XDA Senior Member roshga offers up a neat little app that allows you to have floating shortcuts to your favorite apps. In this video, XDA TV Producer TK...

XDA NEWS
Emil Kako · Jul 1, 2015 at 04:24 pm · 4 comments

What Features Do You Look for in a Gallery App?

With so many different options to choose from, finding the right Gallery app may be a tough thing to do. Google Photos is the latest cloud service/gallery app to attempt to meet all your needs, but is it the best? Let us know what features you look for in a Gallery app, and which one is your favorite in the comments.

DISCUSS
Jack Jennings · Jul 1, 2015 at 03:34 pm · 4 comments

Google Photos ‘Unlimited’ Storage Reportedly Being Capped

When Google Photos was announced, many of us thought very highly of the idea. It seemed like Google had taken what they learned from G+ Photos and added some extra touches to polish the experience, making it something that more people were likely to actually utilize. Now however, the much-lauded 'Unlimited Storage' element may not be quite what it seemed. Here's what we can gather so far...   Reports have come in from multiple G+ and Reddit users who have attempted to back up a...

XDA NEWS
Share This