These gadgets make your Android development more efficient _android

Source: Internet
Author: User
Tags versions tinypng checkstyle

In the Android development process, you will encounter a number of small problems, although the hands can be solved, but with a number of small tools to solve these problems are handy, today for you to recommend the development of Android encounter gadgets to make your development more efficient.

Vysor

Vysor is a mobile phone can be projected onto the computer, of course, can also operate, when we do share or demo, the tool played a role.

Vector Asset

Android Studio supported Vectorasset in 1.4, the so-called vectorasset, which can help you add material Icon and SVG images to your Android project as a drawable resource. But the only drawback is that there is no search function, if you want to select material Icon, you can call the Web version to choose, you can download the SVG and PNG format. For the benefit of Vectorasset, its files are smaller and easier to fit into different screens.

Stetho

Stetho is an Android development debugging gadget that allows you to use the chrome develop tools to view SQLite databases and sharepreferences, and to view data for network connections. Enter Chrome://inspect in the Chrome input box and click Inspect to start. If you use okhttp you need to add interceptor stethointerceptor.

Octotree

Octotree is a browser plugin that lets you see the code in the GitHub, a tree-like structure on the left side, just as we do in the IDE. When we look at the structure of a project, or want to see a specific file, this will be very convenient.

Chrome ADB

The chrome ADB is a gadget that uses Chrome to debug Android, in addition to providing the basic functionality for installing, uninstalling, and cleaning data, as well as providing a home page, a return, a lock-screen virtual key feature, and a view of the memory used by each application (you have to name and criticize the micro letter Shutdown also takes up 100M of memory, do not know what you want to do. It also has Android apps, which must be more fun to interact with.

Tinypng

Tinypng is a picture compression tool, some people may feel that this tool should be used for designers, I think so. But sometimes, the designer gives you a 1920* 1080 of the launch page, a picture, 1M or so, I am also tears ran, feel the designers speak time, estimated we are compressed, their hands, ample clothing. It also provides APIs that provide plug-ins for different languages, such as Java, which provides MAVEN support.

Postman

Postman is an API debugging tool that provides the Chrome app and Mac app, in addition to providing basic API testing capabilities, it can also add a variety of auth authentication, the response can choose different types of, such as HTML, JSON, etc., you can set the general header, You can also add a previous test to a collection, and you can sync to the server, and recently added a team service, think of the server end of the test you can see the results, rather than give you API documents (of course, the API document or have), this picture is too beautiful, I dare not imagine. Of course, its function is also far more than these, it also has a professional version, want to try more things can experience.

Genymotion Virtual Machine

Just started to do development, every use of the official virtual machine, want to spit a slot, but found the genymotion, all this changes, it can almost match the speed of the real machine, of course, if there is a real machine, of course, it is recommended to use the real machine test. It is said that the official Simulator 2.0 soon, do not know whether it blows.

Json2pojo

Json2pojo is a web tool that converts a JSON string into a Java Pojo class, and you can select a converter, such as we can use retrofit to choose Jackson,gson, and we can choose to rewrite the Get,set method, and Hashcode , Equals and ToString methods, can save a lot of handwriting time.

Android Pixel

Androidpixel is a simple conversion tool that will be different resolution, as long as you have a size, other sizes can be drawn, of course, DP such units, can solve a part of the problem, but most need to fine-tune, then Androidpixel played a role. This tool came from a colleague from my last company told me.

Android Arsenal is mainly recommended for some popular Android open source projects on GitHub, and basically the most recent popular Android Open source project is here, and it also classifies different classes of libraries.

Codota

Codota is an Android code search tool, Codota has now included more than 7 million fine code instances; Detailed introduction Please see the article "Android development tool codota--search the best Android Code", and found good code snippets, You can collect them yourself.

Androidassetstudio

Android Asset Studio is an online production tool that can make Iocn,actionbar, point 9 diagrams, and so on, simple operations that greatly improve the efficiency of our development.

WiFi ADB

The WiFi ADB is a mobile app that connects computers and mobile phones via a wireless network (can go to Google Play to search for similar), and when we do the tests, we just open it on the phone, the computer just clicks on the command line, the adb connect xxx.xxx.xxx.xxx:5555 computer can connect to the phone, You can debug and develop applications through wireless networks.

ES Explorer

ES Explorer is a document manager, but it's not just a file manager, it's more powerful after it gets root, it can browse restricted file directories, and it offers a range of gadgets, such as a downloader, and an integrated cloud storage service.

RSS Subscription Extension

RSS Subscription Extension is an RSS-feed plugin on Google Chrome, though Google Reader is gone (though I don't know what Google Reader is) But this plugin is still very useful, read a blog that year, if bloggers can subscribe to the blog, Plug-ins will be highlighted, and you can configure your use of RSS Third-party client (such as feedly), you want to subscribe, a click will enter your Third-party client Web site, rather than before, Find a good blog, and look around for a blog feed.

Android SDK Search

Android SDK Search is a quick search for the Android SDK Chrome widget, you simply enter the AD + Tab in the browser, you can enter the query you want to query things, it will appear to select the results, you choose, you will enter the official document (DOC), You don't have to run to the browser or the authorities to search again.

Jsonhandle

JSON Handle is a JSON-formatted content that is browsed and edited to display JSON documents in a tree-style format and can be edited in real time. In particular, we are debugging the API in the IDE, but the returned data is not formatted, it seems particularly difficult to see the value of that field, is basically not found. Using Jsonhandle, you can easily present JSON data in front of you.

Live tempates

Live Tempates is a small feature of the Code collection from Android Studio (IntelliJ idea). Let's be specific, we'll have some code hints on our hands, such as breaking into fori we can play with the next step, in addition to the system to provide some common templates, we can also customize. In Android Studio to open the settings, editor–>live temppates, you can see the system default, you can click on the top right corner of the Click + button to tap, there are some people on the network to share the template, we can also refer to.

. Ignore

We all know that in git you want to filter out some files that you don't want to commit, you can add the appropriate files to the. Gitignore, and. Gitignore the Android Studio plug-in chooses templates based on different languages, so you don't have to bother adding some files. But also has the automatic completion function, the filtering file does not duplicate the file name again. When we do the project, not all files are to be submitted, such as build folder, local configuration file, each module generated IML file, but every time we add,commit will accidentally add them up, and gitignore is to solve this pain point, If you don't want to submit a file, you can add it to the project when you create it and block out some common things.

Butterknife Zelezny

Butterknife is a framework for view annotations, which replaces Findviewbyid, which uses apt to generate code at compile time that has little impact on the efficiency of our development. The Butterknife Zelezny is Butterknife's Android Studio plug-in that automatically finds controls with IDs in the layout file, which you can customize to select the object of the annotation control and the Click event. While Butterknife is already handy, this plugin makes our code cleaner.

Gsonformat

Gsonformat is an Android studio plug-in that can format strings into Gson Model classes, similar to the Jsonschema2pojo we mentioned earlier, and Gsonformat follows Android Studio, We do not have to switch back and forth, also means that our efficiency is more efficient, before the trial has some small bugs, do not know now repaired no, we try to have problems can go to GitHub mention issue ah.

Classyshark

Classshary is a decompile tool, you can use this tool to open jar,apk,dex and other files, you can easily see the androidmanifest and project structure and registration, as well as the number of methods of the project, for us to refer to some companies to use the technology, This is especially convenient for use.

Grepcode

Grepcode is an online code preview site, in addition to reading Java,android source, he can read the source of Third-party Open-source projects, but also can read all historical versions, and sometimes fix bugs to see different versions of things, so it is very convenient.

Ideavim

Ideavim is a IntelliJ idea to implement Vim's plug-in. As a programmer, it must be familiar to vim, especially with Unix-like systems, the efficiency of Vim is not 1:30 stars, hands on the keyboard, almost without the use of the mouse, but also let you focus on writing code. Finally, I can be happy to be a keyboard hero.

Checkstyle-idea

Checkstyle-idea is a code-style plug-in, such as naming conventions, Javadoc, class design, and other aspects of code specifications and style of inspection, you can follow the Java code like Google Oracle Guide, Of course, you can also set the configuration file according to your own rules, thereby effectively constraining yourself to better follow code writing specifications.

Findbugs

Findbugs is a tool that analyzes code that might have hidden code. It will scan the project's source code, through some common rules to determine potential problems, such as performance, multithreading security and so on. And not only wrong, but also give you some advice for your reference. This is more likely to be used in Java and, of course, it can be used in Android, where both official and third parties have a lot of good tools to analyze the possible performance problems of the code.

Of course, in addition to the above tools, there are some very useful, and the use of very high frequency. For example, screenshots, video converted into GIF pictures, some simple screenshots, QQ can be fully competent, more complex can use FastStone to screenshot. Want to convert the video into GIF, we can use the online conversion tools on the network, but also very useful, today's sharing is here, and later found good development tools, will not share the time.

Reference: Code specifications and some of the tools available in the Android project

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.