Android Androidannotatios Framework

Source: Internet
Author: User

Androidannotatios Brief Introduction:

      Androidannotations is an open source framework that allows you to develop your Android quickly, allowing you to focus on what really matters. Making the code more streamlined makes the project easier to maintain, and its goal is "Fast Android development.easy maintainance".

      

Characteristics:

    1. Dependency injection was used.
    2. Simplified threading Model
    3. Event bindings.
    4. REST Client
    5. No magic: No magical, meaning: Androidannotations at compile time will produce a subclass, you can see this subclass, see how it works.

Environment configuration:

The most important thing to note is: Use androidannotations to remember, compile time will generate a subclass, the name of this subclass is after the original class with an underscore "_", for example, this example produces a subclass named " Myactivity_ ", this requires you to register this activity in the

Androidmanifest.xml Change myactivity to myactivity_, use myactivity_ to represent this class, such as jumping from another activity This program is going to be used this way .

  

①: Create a Libs and Compile-libs folder,

  

② put Androidannotations–x.x.x.jar into Libs folder, put Androidannotations-x.x.x-api file in the Compile-libs folder,

③ Right-click Project: Properties, Java complier tick the right "Enable project specific Settings" and confirm the Compiler below ... IS 1.6

④annotation Processin The right check box is all selected.

⑤java Compler, Annotation processin, add Jars, add Androidannotations-xxx.jar.

Android Androidannotatios Framework detailed

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.