Will Verduzco · Jul 21, 2013 at 05:00 am

Build.prop Tools Library for App Development

Let’s imagine that you’re putting the finishing touches on your application, when you suddenly realize one thing: You wish to add in the ability to modify a device’s build.prop directly from the app.

Yes, this is far from applicable to every app developer. However, quite a few classes of apps could make use of the ability to modify a device’s build.prop such as tools that allow users to change what device an end user’s phone identifies as, or an app that just gives users the ability to modify the build.prop directly themselves.

Now, if you’re currently developing your application and would like to bake in the ability to modify the build.prop file, you could obviously figure out how to do it yourself. Alternatively, you could check out an open source library created by XDA Senior Member Tezlastorme geared at helping you add exactly that functionality into your own app.

Created out of necessity when Tezlastorme needed but couldn’t find such a library himself, he decided to spare future developers from having to reinvent the wheel in their projects. In his own words:

Over the past few days I have been working on making a library that makes it easier for app developers to edit the build.prop file from their applications. I decided to make this library when I needed to edit build.prop from within an app I’m developing and I couldn’t find a library to make this simple. So, after I had worked out how to do it and tested the code in my app, I made it into a library, because I think this will help quite a few developers.

Those looking to add in build.prop modification to their should head over to the original thread to get started.


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

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Emil Kako · Mar 31, 2015 at 06:55 pm · 3 comments

What’s Your Biggest Reason for Not Owning an iPhone?

With XDA being a community of Android enthusiasts, it is not uncommon to see lots of bashing on Apple's iPhone here. There are different reasons for the hate, but we'd like to hear your number one reason for not going with the iPhone. Let us know your thoughts below!

DISCUSS
Mario Tomás Serrafero · Mar 31, 2015 at 11:55 am · 3 comments

Xiaomi Finally Releases Kernel Sources

If you are familiar with Xiaomi, you might have heard that they are not the most compliant when it comes to the General Public License that makes the core of Android open to us. The terms of the GPLv2 state that since the Android kernel is based on the Linux kernel, which is licensed under GPL,v2 Android has to be open-source for everyone to study or modify, and those that modify the Android kernel have to make their sources immediately available for...

XDA NEWS
Faiz Malkani · Mar 31, 2015 at 10:59 am · 2 comments

Xiaomi Announces Redmi 2A and More for 5th Anniversary

Xiaomi was founded on April 6th, 2010 and its fifth anniversary is just around the corner. In the past five years, the company has grown by leaps and bounds, rising to the positions of largest smartphone OEM in China and third-largest globally and coupled with its expansion plans and 100 million sales benchmark, this anniversary warranted a fervent celebration. After teasing products on its forums for a few days, Xiaomi held the anniversary event earlier today and staying true to the...

XDA NEWS
Share This