Sunday, July 27, 2014

Android Supporting tools for Developers / Designers

This post is going to give some useful tools which android developers could be found easy during application development. I have listed down few useful tools below.

Tools Used for Designers / Developers

Android Button Maker is online tool to generate buttons code for Android Apps. Android API provide Drawable Resources where XML file defines geometric shape, including colors, border and gradients.
These button is generating based on shape drawable XML code which load faster compare to normal png buttons. You can customize button properties in setting panel and get source code.

Android uses Density Independent Pixel (dpi) values to scales the actual screen size. To get device pixel density use getResources().getDisplayMetrics().density;

Open Source Utilities to Optimize PNG Images

There are free tools such as OptiPNG or PNGCrush or TinyPNG for optimizing PNG image files. These tools are open-source and use command line utilities for optimizing PNG images. They can compress the image by using various combinations of algorithms, such as changing the bit depth, replacing unwanted chucks of data with text, delta filters, and so forth to provide the smallest compressed output.

If your app is highly depend on art/creative then you should think over optimizing and shrinking art/creative to decrease file size, it would help you to decrease APK size.

A web-based set of tools for generating graphics and other assets that would eventually be in an Android application's res/ directory.
Currently available asset generators area available for:

Tools Used for Developers

During development you typically add a lot of resources such as files, layouts, or drawables. As you go back and made changes and improvements, some of these resources are no longer used, and get left in your code. To detect such unused resources and remove them from your APK file, use the android-unused-resources tool. It scans your project and identifies unused resources. Removing them minimizes the build time and reduces the APK file size.

The Android Layout Finder helps you create the code that ties your Android UI and Java code together.
It's real easy! Just paste your Android XML layout code in the first text field, pick the views that you need, and your code is automatically generated for you.
No more typing out all those nearly identical findViewById() and findFragmentById() calls in your activities or fragments whenever you change your Android layouts.
This tools having special output settings, which helps us in generating code type using RoboGuice, member variable and so on.

Similar to the above layout to Java code generator, we have one android-code-generator-plugin for eclipse which generates code from xml, which Generating Activity Class code based on XML layout.

Generate Plain Old Java Objects from JSON or JSON-Schema.
This tools helps in giving annotation style like Jackson 2.x, Jackson 1.x, Gson.
Note: Your input Json Cannot be more than 51200 characters.

There are some other tool for Json to POJO conversion, but it is not like the above one, we can't copy and paste the Json, rather than we should give the json url as input. For more info check Jsongen.byingtondesign

Thanks for reading :) 
Whether this post is helpful?

Have something to add to this post? If you have any other quick thoughts/hints that you think people will find useful? Share it in the comments and feedback are welcome.

1 comment :

  1. Can I use RoboGuice in order to develop buttons? I need those RoboGuice tutorials that can create pull down menus also.