A preliminary study on Xiaomi Open source file Manager micodefileexplorer

Source: Internet
Author: User

2011 to the book Android application development Secret, wrote for 2 months HelloWorld.
Now I want to review and go deep, I have no patience to hit the code a little bit.  4 years ago, I was a student, internship, now have a job, can only study in the spare time.    This is very different.  I hope that through the study of other people's "mature products", better comprehensive study.  Target-oriented, specifically, through the study of a product of others, and then a comprehensive grasp, in the course of research, to solve a number of problems, so as to achieve "rapid progress" goal. We learn Java, learn Android development, not to play just, also can't be "interested", more important is to solve the actual problem. The actual problem is usually to develop a complete product, at least also a tool to solve a problem, such as Xiaomi Open source File Manager, download source code, do a good job in the Android environment, packaging, installed on my Coolpad phone, it can be used. It can solve file management problems on Android phones.
My evaluation of this open source product is 9/10, the disadvantage is that the document is too small, no explanation.  In the successful packaging run, see the interface and features, I very much like, the interface can also, the function is complete.    This open-source project, I like the most, is completely "molded products", "dabbler" of open source products, research is more torture, various problems.    The GitHub and the official community are not very active.    GitHub Project Address: Https://github.com/MiCode/FileExplorer Official community: Http://www.micode.net local use Eclipse to get the most out of the environment and put the code on GitHub in. I am personally accustomed to testing with Android real-time, very fast, from packaging to running, no more than 10 seconds.      If you use the simulator, at least 30 seconds, nasty dead Ah ~ Android source code, on 2 packages: Net.micode.fileexplorer millet written by org.swiftp: An open source FTP server, is integrated into the Xiaomi source code, you can understand    Dozens of Java source files, all in 1 bags, not good habits ah ~ after the initial reading of the code, I prioritized the Java code, divided into several packages.  root directory Net.micode.fileexplorer 1. Various activity interface entry files, such as top-level package fileexplorertabactivity, remain in the top-level package.  2.impl Xiaomi or Android defines an implementation class for the interface. 3.model model files, entity files, such as Fileinfo.java, are used to represent an Android physical file.This kind of code is usually relatively independent. The 4.ui view component is a package and supplement to Android components.Unlike activity, they are not entry files. 5.util tool classes, similar to model classes, are relatively independent.For example, Fileoperationhelper.java on the specific completion of the document "Additions and deletions to check."  In general, the separation of portals, interfaces, interface components, models, tools, etc., allows you to quickly build an overall impression of the project.  First the whole, then the local.  To have a global thinking, this is my request ~ a common problem after Android packaging, the phone shows "program stopped running", no other hint.  This is usually a problem with the program, where Eclipse is not friendly enough to give false hints.  Finally, through the debug mode, break point, locate the error code, and then increase the Try-catch capture, and finally locate the problem.  Some Java files, the path of the package has changed.     Categorybar extends View, this component is a component of 1 interface types, which is configured in XML. <net.micode.fileexplorer.ui.categorybar android:id= "@+id/category_bar" android:layout_width= "Fill_pa Rent "android:layout_height=" 35px "android:layout_gravity=" center "android:layout_ma rginbottom= "5dip" > </net.micode.fileexplorer.ui.CategoryBar>
Personal views: If you only have Android, do the things in your job, and don't care about the work of other people such as Java server, the field of vision will be narrower.  My heart of "Daniel", "manager", "technology leader" must be a global type of talent.    I think that the global type of talent is more scarce, the overall type of talent is more from the development of the specificity type.  The transition from a one-to-one type to a global type, I think, is mostly "opportunity."  "Opportunity" may be given by others, if others can not give, they should be through efforts to obtain. Personal effort, need for awareness and direction to guide ~ I will not recognize the "effort is more important than the direction" and "direction than efforts more important" this one-sided view of the ~ Ray fansunion-a programmer is studying Android October 25, 2015 Hubei-Wuhan-courtesy Gate qq:2403708 18:fansunion My main blog: http://blog.csdn.net/FansUnion

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

A preliminary study on Xiaomi Open source file Manager micodefileexplorer

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.