XDA News Articles

Tomek Kondrat · May 30, 2014

Learn About Java Listeners

The path to becoming a great Android developer is not straightforward. To make an application or modify an existing one, you need to know Java. To write a good application, you need to know all of the language's nuances. Much of this information is available in resources found here on XDA. Applications written in Java use listeners, small functions that launch an activity when you press a certain part of the screen. XDA Senior Member mohamedrashad wrote a useful guide to help new...

XDA NEWS
Tomek Kondrat · Apr 11, 2014

Create an External Settings App for SystemUI.APK

Unlike most other mobile OSes, Android allows users to modify its source code to make the most of it. This is accomplished by editing code from the AOSP or AOSP-derived projects before compiling. However, not all of us build our own ROMs from source. Thus, there's the world of decompiling and Smali editing. Here on XDA, developers create amazing things. One new and exciting project allows users to create external controls for SystemUI.APK. The project comes in the form of...

XDA NEWS
Tomek Kondrat · Feb 22, 2014

How to Create a Java FileFilter with a Picture Guide

Java is a programming language that is used to code software for many devices, including Android. It's criticized by many, but Java is still widely used, mostly because its ability to run properly across many OSes as Windows, Linux, and Mac OS. Quite a few tools available on XDA are written in Java, including the Sony-specific Flashtool application, CASUAL, and so on. Here at XDA, we've already presented a couple of applications, guides, and tutorials for Java. You may have...

XDA NEWS
Tomek Kondrat · Jan 5, 2014

Meet JOdin3: A Web Tool that Flashes Your Samsung Device

Odin and Heimdall were pretty badass gods in the Nordic mythology. But to Samsung device owners, these are important and powerful tools designed to flash stock ROM files, much like Flashtool on Sony phones. In short, they are an essential part of Samsung Android development here at XDA. Many times in the past, we've talked about XDA Senior Recognized Developer AdamOutler's CASUAL, otherwise known as Cross-platform Android Scripting Unified Auxiliary Loader.  The cross-platform Java-based tool allows you to perform many cool tasks like...

XDA NEWS
Tomek Kondrat · Jan 2, 2014

Direct Smali to Java Converter Makes Smali More Developer Friendly

Android is meant to be open source. And most components, despite being covered by the Apache license, have publicly available source code. Unfortunately, the sad truth is that only Nexus devices owners can do Java modifications without digging into Smali assembler language, which is not simple and needs much more effort than Java. Also, decompiled applications can't be imported to Eclipse or Android Studio. There are some tools like GetJava that already can do the job, but in most situations the result isn't...

XDA NEWS
Tomek Kondrat · Dec 28, 2013

Learn Some Coding Basics and Become a Famous Developer!

Many of us would love to become famous programmers like XDA's Senior Recognized Developers. But coding isn't easy, and you need to know the basics and have a working knowledge of whatever language you choose before even getting started. And of course, writing a simple “Hello world!” app is not enough, as you will have to look deeper to create more complicated functions. If you are looking a good place to begin, you should take a look at the guide written...

XDA NEWS
Tomek Kondrat · Dec 18, 2013

GetJava Helps You Convert APKs into Java Projects

Android is an operating system that uses a lot of programming languages. The most common languages are Java (or Android Java if you prefer), C, XML, Bash, as well as a few more. Android applications can be decompiled by APKTool and a few similar tools, and their output is Smali. I know that many of you will disagree with me, but Smali is quite complicated language---much more than Java. There are two tools that can convert Smali back to Java: Dex2Jar and JAD. They are...

XDA NEWS
Will Verduzco · Dec 1, 2013

Online PIT Analysis Tool and Library

About a year ago, we covered a tool by XDA Recognized Developer lyriquidperfection that allows users to create, modify, and analyze Samsung PIT (Partition Information Tables ) files. For those who aren't familiar with PIT files, they contain all of the relevant information for each partition such as partition id, partition name, flash filename, block size, block range, partition description, and more. Some time ago, XDA Recognized Developer Benjamin Dobell created a Java-based library for Samsung PIT files, as part of the Heimdall project. Then...

XDA NEWS
Will Verduzco · Aug 21, 2013

Fling Brings Local PC Media Files to Your Chromecast

We've talked quite a bit about the Google Chromecast in the past few weeks. Ever since it was launched a little under a month ago, the little $35 media streamer has lived an exciting life. From gaining root to losing root and from alternate receivers to alternate content providers, there have certainly been more than a few twists and turns. We were even recently shown how to enable ADB on the device, so long as you were one of the...

XDA NEWS
Conan Troutman · Apr 22, 2013

Decompile and Recompile Classes.dex with Ease

It's fair to say that unless you've spent some time digging around inside APK files and making some heavy duty modifications to apps or the Android OS itself, you probably haven't come face-to-face with a .smali file in its natural environment. They are a common component in many of the most popular Android tweaks and hacks out there such as adding toggles, extending the power menu, and adding CRT screen off animation. The files themselves can often be found nestled...

XDA NEWS
Jimmy McGee · Apr 14, 2013

Careers in Android: Getting Accepted to a Hacker School – XDA Developer TV

Recently, XDA Developer TV has been talking about becoming a Hacker. What we mean by hacker is not the basement dwelling anarchist types, we mean the expert coding kinds. We talked about how to become a hacker, and last week we talked about ranking hacker schools. This week, we are talking about how to get accepted into a hacker school. In this episode, XDA Developer TV Producer Jayce interviews developers and people from the hacking school world to answer these...

XDA NEWS
Jimmy McGee · Apr 7, 2013

Careers in Android: Rate My Hacker School – XDA Developer TV

Last week, XDA Developer TV Producer Jayce interviewed Co-Founder of App Academy Kush Patel and Co-Founder of Mobile Makers Don Bora to talk about intense learning curriculum known as Hacker School. There were quite a few questions about what and where you could find such schools. In this episode, Jayce names a few schools and talks about what they cover. Programming languages from Ruby on Rails to Java are covered. Jayce gives some advice on how to find out if the...

XDA NEWS
Adam Outler · Apr 30, 2012

Want to Learn How to Program for Android? Start Here

Everyone has experienced the desire to program at one point or another. However, there are generally four limiting factors: Time Constraints, Study Material, Mental Blocks, and Attention Span. So clear your schedule, clear your mind, and self-medicate your ADD with a nice cup of your favorite coffee because here's the material you need to learn how to program. The hardest part of learning to program is overcoming a mental block. First, there is no programming deity out there who grants code-literacy to...

XDA NEWS