. Net Moving Android 4.4 Daily Notes (3)--Directory structure analysis

Source: Internet
Author: User

Original:. Net moving Android 4.4 Daily Notes (3)--Directory structure analysis

After the creation of the project, many of the folders that appear are actually a bit dizzy, but after a simple understanding or with our directory of ASP.

The following diagram outlines the main file uses. In fact, you just need to know the few, and know where to design the interface, where the code is almost there.

We are learning that the net is not intentionally to understand the DLL under the bin

Global profile, view, control layer are still relatively easy to understand, there are styles, pictures, resource files and so on, but Android put these resource files into R.java, so we have to call these files through R.java. cannot be generated like. NET Pull

Where Mainactivity.java is the entry for the program, which equals our MVC routing settings

protected void onCreate (Bundle savedinstancestate) {        super.oncreate (savedinstancestate);        Setcontentview (R.layout.activity_main);         if NULL ) {            Getsupportfragmentmanager (). BeginTransaction (                    )new  placeholderfragment ()). Commit ();        }    }
Setcontentview set up the page to start. That is the first screen of our software launch R.layout also see that our components are registered in the R.java

. Net Moving Android 4.4 Daily Notes (3)--Directory structure analysis

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.