Android Studio 0.2.4 Released, Improvements for App Devs
Back at Google I/O 2013, Android Studio was released in beta form. The tool, which was released with the help of Jetbrains and based on IntelliJ, featured various “killer features” such as live rendering of your code and the ability to easily add any API into your code.
Since then, we’ve talked a little about it, including troubleshooting tips for setup and a graphing library compatible with the tool. Now, version 0.2.4 has been released, bringing with it several key improvements, including:
- XML attribute documentation
- The ability to jump between a layout and its associated activity
- The ability to create missing onClick handlers
- Improvements to the Gradle synchronization
- Improvements to layout editing and various bugfixes
To get your Android Studio updated, you simply have to restart it or manually check for updates (Help -> Check for Updates). To learn more about exactly what was changed, head over to the Android Tools Project Site.
Having a Hard Time Setting up Android Studio?
By now, most developers have heard of Android Studio, Google’s new replacement for Android Developer Tools based on IntelliJ IDEA that was launched back at Google I/O this past year. While many who have used Android Studio now swear by its ease of use, especially when targeting multiple screen sizes, device types, and resolutions, a sizeable number of users have faced difficulty in using the app.
The difficulties that users have experienced are not unexpected, however. After all, Android Studio is not a finished product. Rather, much in the way of Google’s many other semi-perpetually “beta” products, it’s still in its early access preview. Because of the difficulties he faced when trying to get Studio running for the first time, XDA Forum Member lolrenx decided to create a thread detailing his experiences with the hopes of helping future developers attempting to install Studio. Since then, others have joined in on the fun and stated their issues, as well as what they have done to overcome them (if applicable).
So whether you want to see if the issues you’re currently battling have been solved by someone else previously or if you just want to share stories of the developer daemons you’ve encountered, head over to the original thread.
Easily Generate Layers Projects on Windows
This Windows tool by XDA Recognized Contributor bunchies creates a Layers project ready to be imported to Android Studio. It’s a nice and easy way to get started with Layers development, so you should definitely give it a shot if you’re planning to theme some Android elements.
Easily Edit Classes.dex with Dex Manager
Android applications can be edited in multiple ways. The most convenient way is of course changing the source code in your favorite IDE and compiling it with the provided tools. Unfortunately not every application available for Android is open-source, and therefore easy to edit through Android Studio or Eclipse with ADT.
Applications without publicly available source code can also be modified. The well known ApkTool is one option to make some changes, but if you are using Windows as your operating system, XDA Forum Member Jasi2169 created a nice tool able to decompile the classes.dex file directly from the APK or JAR file. With this tool, the user can simply extract the classes.dex with favorite archive manager like 7-Zip and drag the classed.dex file to Dex Manager. Everything will be decompiled on the go and extracted to the source folder as Smali files. These files can be edited and re-compiled as a classes.dex and used to replace the original file in the APK.
If something goes wrong, the user gets a an error log in the Error Box area. This should help debug the project and fix the potential build problems. A nice graphical user interface and simplicity make Dex Manager an interesting alternative to command line-based ApkTool.
You can try the application by downloading it from the Dex Manager v1.0 – Designed To Play With Classes.dex forum thread.
Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV
Android 5.0 Lollipop is available officially for the Moto 360! 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 supporting AOSP on the entire 2014 Qualcomm Line of products and be sure to check out the article talking about the latest with Cyanogen where Micromax sues OnePlus! That’s not all that’s covered in today’s video!
Jordan talks about the other videos released this week on XDA TV. XDA TV Producer TK released an Xposed Tuesday video for BatteryHistory XXL. Then Jordan showed us a comparison of many different USB desktop chargers. Finally, TK gave us an Android App Review of Leandroid. Pull up a chair and check out this video.
Meet Jack and Jill: Android’s Experimental Toolchain
Earlier this week, Google finally pushed the stable version of Android Studio, replacing Eclipse with ADT plugin. It appears that the Mountain View company is on a roll, as they recently announced a very new and experimental toolchain named Jack and Jill.
Jack (Java Android Compiler Kit) and Jill (Jack Intermediate Library Linker) are the two tools at the core of the new toolchain. Google is encouraging developers to play with it a bit to see whether or not there are some noticeable improvements. Here’s a short explanation by Google regarding the new toolchain:
The Android Gradle plugin and Jack collect any .jack library files, along with your source code, and compiles them into a set of dex files. During the process, Jack also handles any requested code minification. The output is then assembled into an APK file as normal.
Adding Jack to the project is very easy. If you are using the 21.1.1+ Build Tools for Android Studio, you can simply add the “useJack = true” to your build.gradle file. It looks like the Android Developer team will make Jack and Jill a default toolchain for applications in the future. Right now, they are working to make the transition as smooth as possible.
More details with some code examples can be found on the Android Developers blog. Head over there to learn more.
Android Wear Watch Face API Available – XDA TV
Android 5.0 Lollipop kernel source is available for the HTC One M7 and M8 Google Play Edition! 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 Android Wear Watchface API and be sure to check out the article talking about Cyanogen and updating the OnePlus One globally, but not in India! That’s not all that’s covered in today’s video!
Jordan talks about the other videos released this week on XDA TV. XDA TV Producer TK released an Xposed Tuesday video for Xposed Screen Filter. Then TK showed us a comparison of many different power banks. Finally, TK gave us an Android App Review of C Notice. Pull up a chair and check out this video.
Lollipop Leak for Sprint Galaxy S5, TWRP for Micromax Canvas Magnus – XDA TV
Android 5.0 Lollipop has been leaked for the Sprint Samsung Galaxy S5! 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 TWRP for the Micromax Canvas Magnus and be sure the check out the article talking about the hidden Notification LED on the Google Nexus 6. That’s not all that’s covered in today’s video!
Jordan talks about the other videos released this week on XDA TV. XDA TV Producer TK released an Xposed Tuesday video for Recent App Cleaner. Then TK referees an Amazon Fire TV Stick versus Chromecast Showdown. And later TK gave us an Android App Review of AutoCon. Pull up a chair and check out this video.
Learn How to Make Your Own Theme
You don’t need graduate degrees in the arts and computer science to create your own theme. Sometimes, all you need is a little bit of the talent and a decent graphics editing program. When you are beginning your journey in theming, you can choose one of two paths: modify an existing theme using APK Tool or write one from scratch using one of available IDEs like Android Studio or Eclipse.
For most, the first option seems to be the easier one. If you want to learn how to make your own theme, probably a wise choice is to follow a guide written by XDA Senior Member DanielFlorin. By reading this guide, you will learn what it takes to create your own theme using the eXperia L Orange as a base. You need a good APKTool client, as well as some time and creativity to create your desired theme.
This method described in the guide is pretty good for beginners. You will get some experience that can be used in your future projects. Themeing can be quite difficult sometimes, so you need to understand it better before you start to make your own, more professional projects. Take into account that only select ROMs support theme engine, so be sure to run a compatible one before making your own theme.
The thread has been written to show the theming process on Sony Xperia phones, but this method can be used with other devices as well. You can learn more by visiting the Make Your Own Theme thread.
Check Gradle Dependencies with Give Me Gradle!
There are multiple ways of compiling an Android application. You can use one of a variety of IDEs such as Android Studio or Eclipse with ADT. You can also build it during the Android system compilation. Every method of compilation is different–maybe not exactly in terms of coding, but the build process as a whole.
Android Studio, for example, uses Gradle. Gradle is a project automation tool that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language (DSL) instead of the more traditional XML form of declaring project configuration. You can check Gradle for commonly used artifacts and libraries. XDA Forum Member DaGr81 created a handy application called Give Me Gradle! that can show you the exact code on the screen of your phone. This is somewhat useful when you are planning to add new functions to your projects and keep your builds up to date.
You can search manually for artifacts or select them from a list. And after hitting the green button, a list is shown. The application should work on every smartphone with Android 4.0 and higher.
Do you use Android Studio to make your app development projects? Check Gradle and Maven dependencies on the go. Give me Gradle! will help you with this. Head over to the Give Me Gradle! application thread to get started.
Learn How to Make a Font Application Easily
Around the time of the OnePlus One‘s release, the CyanogenMod team decided to use refresh their Theme Chooser. One of the new functions that has been added is an ability to change the font, system-wide, without messing with /system/fonts folder. To change your system fonts using this new functionality, the font must be made as an application. If you have a favorite font somewhere on your PC and want to use it on Android, now you have a chance to do it really easily.
Even if you are relatively new to Android and development, you can create your own font package without too much hassle. To help you out, XDA Senior Member codekidX created a handy guide that shows all the changes that need to be made.
To start playing with fonts, you need some IDE installed. You can use either Android Studio or Eclipse, since both of these programs can compile an APK. After installing an IDE and finding a font file that you want to use on your system, you need to follow just four steps to get the font ready to install. This guide is only useful when you are using a CyanogenMod 11 or its forks with newest Theme Chooser, so keep that in mind before starting your learning process.
Is your OS looking a bit boring? Why not giving it some new life! All you need to do is visit the original thread to get started.
Android 4.4.4 Hits More GPe Devices, Rooting Android L On Nexus 5 and 7, Nexus Line Not Going Away! – XDA Developer TV
Android L developer preview for the Nexus 5 and Nexus 7 (2013) can now be rooted! That and much more news is covered by Jordan, as he reviews all the important stories from this weekend. Included in this weekend’s news is Android 4.4.4 hitting more Google Play edition devices and there is an article about how the Nexus line is not going away! That’s not all that’s covered in today’s video!
Be sure the check out the other videos released this week on XDA Developer TV. XDA Developer TV Producer TK released an Xposed Tuesday video for MinMinLock. Then, Adam did an XDA Unboxing of the ASUS PadFone X. Finally, TK gave us a an Android App Review of WiFi Scheduler. Pull up a chair and check out this video.
Learn How to Transform Your App into a Quantum Paper-Like Project
As you may already be aware, rumor has it that Google is planning to redefine the overall UI look and feel in Android. Not too long ago, we talked about Quantum Paper, the rumored unified UI that may define Google products across all platforms. These changes may be unveiled very soon, as Google is gearing up for its I/O event next week.
If you are eager to achieve a similar effect to this rumored UI paradigm in your application, there are ways to make your own apps more Quantum Paper-like. In order to show developers how to easily achieve this, XDA Senior Member krishneelg3 outlined the process. The tools that you need, in addition to basic coding knowledge, are an Android IDE like Eclipse or Android Studio and a good image editor to edit the graphics.
Krishneelg3 explains all this in detail, with regards to what needs to be changed to apply this new UI. The developer was also kind enough to provide a package with resources, which will help you out in smooth transition into a Quantum Paper-like UI. To complete the process, some changes in various XML files are needed, but everything is served on a metaphorical silver platter.
If you are an app developer and want to change the look of your projects to be up-to-date with the newest Android UI concepts, head over to the guide thread to learn more about Quantum Paper transformation.