Pprzondroid Source Code Analysis

Source: Internet
Author: User

A total of 11. java files.

1.model.java defines a basic class model with three members.

Private Bitmap icon;
Private String Acname;
Private String acbattery;

and includes constructors and Get,set methods.

2.blockmodel.java definition in a basic class Blockmodel, there is only one member,

Blockname

3.left_menu_class.java defines a class with a base class of fragment to display the left option.

Overloaded the Oncreateview method

4.right_menu_class.java is similar to Left_menu_class.java

5.aclistadapter.java, the base class is arrayadapter<model>

Class used to display model in a list

Include constructors and GetView methods

6.blocklistadapter.java, the base class is arrayadapter<blockmodel>

Used to list display Blockmodel

Include constructors and GetView methods

7.settingsactivity.java

Consists of two classes: Settingsactivity and Settingsfragment

The base class for settingsactivity is activity and overloads the OnCreate method.

The base class for Settingsfragment is Preferencefragment

Overloaded the Oncreate,onsharedpreferencechanged,onresume,onpause method.

8.tcpclient.java defines a basic class TCPCLient

9.mainactivity.java

10.telementry.java aerial Shooting class

Three sub-classes defined internally

Aricraft class for characterization of aircraft data classes

Mmarker Marker sub-class

Mblock Block sub-class

11.uigraphics.java the class that draws the UI, including some ways to create elements and draw elements.

Pprzondroid Source Code 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.