Building with Apache Ant
It’s pretty easy to build APKs using Eclipse, but The Apache Ant project brings a few things to the table which you might be interested in—especially if you’re creating closed source apps. The package is designed to handle Java application builds (although it can be used with other languages as well). One of its best traits is that it will help shrink the size of your code by parsing for unused variables, methods, and classes to then strip them out as cruft. But I did mention closed source, and that’s because Ant has the ability to help obfuscate your bytecode to help prevent reverse-engineering through the use of ProGuard.
One of the reasons more people don’t use it is that it can be a little daunting at first glance. But to help you get a foothold, check out this setup guide for Ant builds. It’s not exactly tailor made, but if you search additional resources like the Ant Project Page itself, you should be able to get things working. The final project will spit out two builds at the touch of a button. One will be a private build for your own use during debugging. This code hasn’t been obfuscated, unlike the other package, which is a public copy that can be sent off to the Play Store or any other distribution channel of your choosing.
Want something on the XDA Portal? Send us a tip!
By far the greatest assets we have at XDA-Developers are you, the developers, the eager to learn and the bold. Everyday we see innovation and brilliant ideas across the site, from this we know that many of you have great insight in to your respective fields. That is why today, I am honored to announce a new project that will allow us to work with you directly to have your views and thoughts expressed clearer than ever. Introducing: ...
Android Wear 5.1.1 OTA downloads are now 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 Sony cutting the price of the Xperia Z1 and be sure to check out the article talking about the YotaPhone 2 Indiegogo pre-order. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA...
We are almost at the end of Q2 for 2015, and we have seen most of the flagship phones for the year already. While flagship phones usually offer bleeding-edge specs and are the most sought after phones, there is a huge market for non-flagship phones. Some offer value, others offer unique differentiating features. Today, we are going to look at the X1 phone by a Chinese company named N0.1. The company promises a truly rugged IP68 Certified phone. The device has a Quad...