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