├── README.md ├── apk └── app-release.apk ├── doc ├── allclasses-frame.html ├── allclasses-noframe.html ├── com │ └── powervision │ │ └── powersdk │ │ ├── core │ │ ├── BasePowerSDK.html │ │ ├── PowerSDK.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ └── package-tree.html │ │ ├── factory │ │ ├── ConnectIpAndPortFactory.html │ │ ├── MountDeviceInterfaceFactory.html │ │ ├── base │ │ │ ├── BaseConnectIpAndPort.html │ │ │ ├── BaseMountDeviceInterface.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ └── package-tree.html │ │ ├── jni │ │ ├── JNINativeManager.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ └── package-tree.html │ │ ├── listener │ │ ├── CameraControlListener.CameraListener.html │ │ ├── CameraControlListener.CameraParamListener.SimpleCameraListener.html │ │ ├── CameraControlListener.CameraParamListener.html │ │ ├── CameraControlListener.html │ │ ├── ConnectListener.SimpleConnectListener.html │ │ ├── ConnectListener.html │ │ ├── MissionListener.MissionRunListener.html │ │ ├── MissionListener.MissionStatusListener.html │ │ ├── MissionListener.StartWaypointListener.html │ │ ├── MissionListener.html │ │ ├── MountDeviceListener.CanFilterListener.html │ │ ├── MountDeviceListener.CanListener.html │ │ ├── MountDeviceListener.GpioListener.html │ │ ├── MountDeviceListener.I2cListener.html │ │ ├── MountDeviceListener.InquireHardVersionParamListener.html │ │ ├── MountDeviceListener.InquireSoftVersionParamListener.html │ │ ├── MountDeviceListener.MountDeviceStateListener.html │ │ ├── MountDeviceListener.SpiListener.html │ │ ├── MountDeviceListener.UartListener.html │ │ ├── MountDeviceListener.html │ │ ├── PositionListener.AttitudeAndGroundspeedChangedListener.html │ │ ├── PositionListener.GpsRawIntListener.html │ │ ├── PositionListener.PositionChangedListener.html │ │ ├── PositionListener.html │ │ ├── RemoteControlListener.RemoteControlParamListener.html │ │ ├── RemoteControlListener.html │ │ ├── SystemStatusListener.BackToLastModeListener.html │ │ ├── SystemStatusListener.BatteryStatusListener.html │ │ ├── SystemStatusListener.ModeChangedListener.html │ │ ├── SystemStatusListener.html │ │ ├── manager │ │ │ ├── ListenerManager.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ ├── package-tree.html │ │ └── subject │ │ │ ├── CameraControlListenerSubject.html │ │ │ ├── ConnectListenerSubject.html │ │ │ ├── MissionListenerSubject.html │ │ │ ├── MountDeviceListenerSubject.html │ │ │ ├── PositionListenerSubject.html │ │ │ ├── RemoteControlListenerSubject.html │ │ │ ├── SystemStatusListenerSubject.html │ │ │ ├── package-frame.html │ │ │ ├── package-summary.html │ │ │ └── package-tree.html │ │ └── param │ │ ├── AltitudeNotifyParam.html │ │ ├── Attitude.html │ │ ├── BatteryStatusNotifyParam.html │ │ ├── CircleParam.html │ │ ├── DeviceInfoNotifyParam.html │ │ ├── DistanceSensorNotifyParam.html │ │ ├── FlightRecordStartParam.html │ │ ├── FlightRecordStopParam.html │ │ ├── GimbalControlParam.html │ │ ├── GlobalPositionIntParam.html │ │ ├── GpsRawIntParam.html │ │ ├── HelmControlStatusNotifyParam.html │ │ ├── HomePositionNotifyParam.html │ │ ├── LsFileParam.html │ │ ├── ManualControlDateNotifyParam.html │ │ ├── ModeParam.html │ │ ├── MountControlDateNotifyParam.html │ │ ├── MountData.html │ │ ├── MountUartParams.html │ │ ├── PositionParam.html │ │ ├── RemoteControlLocationNotifyParam.html │ │ ├── SafetyAllowedAreaParam.html │ │ ├── SpeedControlNotifyParam.html │ │ ├── SystemStatusParam.html │ │ ├── TakeoffLandParam.html │ │ ├── VfrHudParam.html │ │ ├── WaypointParam.html │ │ ├── camera │ │ ├── CameraParams.html │ │ ├── PVParameter.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ └── package-tree.html │ │ ├── mount │ │ ├── MountApiCanData.html │ │ ├── MountApiCanFilterParam.html │ │ ├── MountApiCanParam.html │ │ ├── MountApiDelCanFilter.html │ │ ├── MountApiDeviceVersion.html │ │ ├── MountApiGpioParam.html │ │ ├── MountApiI2CData.html │ │ ├── MountApiI2CParam.html │ │ ├── MountApiReadI2cData.html │ │ ├── MountApiReadSpiData.html │ │ ├── MountApiSpiData.html │ │ ├── MountApiSpiParam.html │ │ ├── MountApiUartData.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ └── package-tree.html │ │ ├── package-frame.html │ │ ├── package-summary.html │ │ └── package-tree.html ├── constant-values.html ├── deprecated-list.html ├── help-doc.html ├── index-files │ ├── index-1.html │ ├── index-10.html │ ├── index-11.html │ ├── index-12.html │ ├── index-13.html │ ├── index-14.html │ ├── index-15.html │ ├── index-16.html │ ├── index-17.html │ ├── index-18.html │ ├── index-19.html │ ├── index-2.html │ ├── index-20.html │ ├── index-21.html │ ├── index-22.html │ ├── index-23.html │ ├── index-24.html │ ├── index-25.html │ ├── index-3.html │ ├── index-4.html │ ├── index-5.html │ ├── index-6.html │ ├── index-7.html │ ├── index-8.html │ └── index-9.html ├── index.html ├── overview-frame.html ├── overview-summary.html ├── overview-tree.html ├── package-list ├── script.js └── stylesheet.css └── powervision-sdk-demo └── gcs_api ├── .gitignore ├── app ├── .gitignore ├── build.gradle ├── libs │ └── powervisionsdk-release.aar ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── powervision │ │ └── powersdk │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── powervision │ │ │ └── powersdk │ │ │ ├── BaseActivity.java │ │ │ ├── BaseApplication.java │ │ │ ├── CameraActivity.java │ │ │ ├── FounctionListActivity.java │ │ │ ├── LocationActivity.java │ │ │ ├── MountActivity.java │ │ │ └── utils │ │ │ ├── StandardDialogUtils.java │ │ │ └── ToastUtil.java │ └── res │ │ ├── layout │ │ ├── activity_camera.xml │ │ ├── activity_fly_control.xml │ │ ├── activity_founction.xml │ │ ├── activity_main.xml │ │ ├── port_layout.xml │ │ ├── view_can.xml │ │ ├── view_can_filter.xml │ │ ├── view_gpio.xml │ │ ├── view_i2c.xml │ │ ├── view_spi.xml │ │ └── view_uart.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── values-zh │ │ ├── arrays.xml │ │ └── strings.xml │ │ └── values │ │ ├── arrays.xml │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── powervision │ └── powersdk │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── powerEye.jpg └── settings.gradle /README.md: -------------------------------------------------------------------------------- 1 | # Mobile-SDK-Android 2 | The API for UAV by PowerVision 3 | 4 | ## Product introductions: 5 | PV-SDK is a software component aimed at obtaining the extended development kit of the PowerVision aircraft(PowerEye and other products will open one after another) (PV-SDK supports Android and iOS). PV-SDK will only open the transmission and control functions of the universal mounting interface at the present stage(own control, attitude, PTZ Control,camera setting control,remote control link and other things will be completed progressively). By using the API functions provided in the SDK, collecting, sending and controlling the data of the aircraft with general mount via mobile planes, developers can integrate the user's product into the power vision plane. 6 | 7 | ## SDK contents 8 | 9 | Users can access API functions of PowerEye universal mounting in API.(iOS&Android) 10 | Sample code and tutorial(Users will have preliminary understandings through sample codes in demo) 11 | Developer's Guide and API document. 12 | 13 | ## Required 14 | - PowerEye 15 | - Environment(JDK7+ AndroidStudio 3.0+) 16 | 17 | ## Calling Steps 18 | ``` java 19 | Initialize sdk 20 | mPowerSDK = PowerSDK.getInstance(); 21 | 22 | Connect device 23 | mPowerSDK.startConnectSDK(ConnectIpAndPortFactory.getEggConnectIpAndPortFactory()); 24 | 25 | Set up connection monitor 26 | mPowerSDK.addConnectListener(simpleConnectListener); 27 | The callback for connection (For a simple example, refer to the specific sdk example) 28 | ``` 29 | 30 | ``` java 31 | ConnectListener.SimpleConnectListener simpleConnectListener = new ConnectListener.SimpleConnectListener() { 32 | @Override 33 | public void onChainConnected() { 34 | super.onChainConnected(); 35 | Log.e(TAG, "onChainConnected"); 36 | } 37 | 38 | @Override 39 | public void onDroneConnected() { 40 | super.onDroneConnected(); 41 | Log.e(TAG, "onDroneConnected"); 42 | } 43 | 44 | @Override 45 | public void onDeviceDisconnected() { 46 | super.onDeviceDisconnected(); 47 | Log.e(TAG, "onDeviceDisconnected"); 48 | } 49 | 50 | @Override 51 | public void onChainDisconnected() { 52 | super.onChainDisconnected(); 53 | Log.e(TAG, "onChainDisconnected"); 54 | } 55 | }; 56 | ``` 57 | Demo and the SDK document instructions for more details about api.(include apk and doc.) 58 | 59 | **The following picture is PowerEye** 60 | ![](https://github.com/PV-SDK/Mobile-SDK-Android/blob/master/powervision-sdk-demo/gcs_api/powerEye.jpg?raw=true) 61 | 62 | For more information about products,please visit our [website](http://www.powervision.me/en/) 63 | -------------------------------------------------------------------------------- /apk/app-release.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PV-SDK/Mobile-SDK-Android/ce3b10eaeaee9b6004c60df21f3e1a36bf0fd0c7/apk/app-release.apk -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/core/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.core 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.core

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/core/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.core 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Package com.powervision.powersdk.core

73 |
74 |
75 | 101 |
102 | 103 |
104 | 105 | 106 |
Skip navigation links
107 | 108 | 109 | 110 | 119 |
120 | 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/core/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.core Class Hierarchy 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Hierarchy For Package com.powervision.powersdk.core

73 | Package Hierarchies: 74 | 77 |
78 |
79 |

Class Hierarchy

80 | 95 |
96 | 97 |
98 | 99 | 100 |
Skip navigation links
101 | 102 | 103 | 104 | 113 |
114 | 141 | 142 | 143 | 144 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/factory/base/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.factory.base 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.factory.base

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/factory/base/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.factory.base 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Package com.powervision.powersdk.factory.base

73 |
74 |
75 | 100 |
101 | 102 |
103 | 104 | 105 |
Skip navigation links
106 | 107 | 108 | 109 | 118 |
119 | 146 | 147 | 148 | 149 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/factory/base/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.factory.base Class Hierarchy 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Hierarchy For Package com.powervision.powersdk.factory.base

73 | Package Hierarchies: 74 | 77 |
78 |
79 |

Class Hierarchy

80 | 88 |
89 | 90 |
91 | 92 | 93 |
Skip navigation links
94 | 95 | 96 | 97 | 106 |
107 | 134 | 135 | 136 | 137 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/factory/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.factory 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.factory

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/factory/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.factory 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Package com.powervision.powersdk.factory

73 |
74 |
75 | 102 |
103 | 104 |
105 | 106 | 107 |
Skip navigation links
108 | 109 | 110 | 111 | 120 |
121 | 148 | 149 | 150 | 151 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/factory/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.factory Class Hierarchy 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Hierarchy For Package com.powervision.powersdk.factory

73 | Package Hierarchies: 74 | 77 |
78 |
79 |

Class Hierarchy

80 | 88 |
89 | 90 |
91 | 92 | 93 |
Skip navigation links
94 | 95 | 96 | 97 | 106 |
107 | 134 | 135 | 136 | 137 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/jni/JNINativeManager.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | JNINativeManager 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 85 | 86 | 87 |
88 |
com.powervision.powersdk.jni
89 |

Class JNINativeManager

90 |
91 |
92 | 100 |
101 | 115 |
116 |
117 | 136 |
137 |
138 | 139 | 140 |
141 | 142 | 143 |
Skip navigation links
144 | 145 | 146 | 147 | 156 |
157 | 199 | 200 | 201 | 202 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/jni/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.jni 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.jni

13 |
14 |

Classes

15 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/jni/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.jni 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Package com.powervision.powersdk.jni

73 |
74 |
75 | 95 |
96 | 97 |
98 | 99 | 100 |
Skip navigation links
101 | 102 | 103 | 104 | 113 |
114 | 141 | 142 | 143 | 144 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/jni/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.jni Class Hierarchy 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Hierarchy For Package com.powervision.powersdk.jni

73 | Package Hierarchies: 74 | 77 |
78 |
79 |

Class Hierarchy

80 | 87 |
88 | 89 |
90 | 91 | 92 |
Skip navigation links
93 | 94 | 95 | 96 | 105 |
106 | 133 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/listener/manager/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.listener.manager 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.listener.manager

13 |
14 |

Classes

15 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/listener/manager/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.listener.manager 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Package com.powervision.powersdk.listener.manager

73 |
74 |
75 | 94 |
95 | 96 |
97 | 98 | 99 |
Skip navigation links
100 | 101 | 102 | 103 | 112 |
113 | 140 | 141 | 142 | 143 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/listener/manager/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.listener.manager Class Hierarchy 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Hierarchy For Package com.powervision.powersdk.listener.manager

73 | Package Hierarchies: 74 | 77 |
78 |
79 |

Class Hierarchy

80 | 87 |
88 | 89 |
90 | 91 | 92 |
Skip navigation links
93 | 94 | 95 | 96 | 105 |
106 | 133 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/listener/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.listener 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.listener

13 |
14 |

Interfaces

15 | 39 |

Classes

40 | 50 |
51 | 52 | 53 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/listener/subject/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.listener.subject 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.listener.subject

13 |
14 |

Interfaces

15 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/listener/subject/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.listener.subject Class Hierarchy 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Hierarchy For Package com.powervision.powersdk.listener.subject

73 | Package Hierarchies: 74 | 77 |
78 |
79 |

Interface Hierarchy

80 | 89 |
90 | 91 |
92 | 93 | 94 |
Skip navigation links
95 | 96 | 97 | 98 | 107 |
108 | 135 | 136 | 137 | 138 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/param/camera/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.param.camera 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.param.camera

13 |
14 |

Classes

15 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/param/camera/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.param.camera 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Package com.powervision.powersdk.param.camera

73 |
74 |
75 | 100 |
101 | 102 |
103 | 104 | 105 |
Skip navigation links
106 | 107 | 108 | 109 | 118 |
119 | 146 | 147 | 148 | 149 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/param/camera/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.param.camera Class Hierarchy 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Hierarchy For Package com.powervision.powersdk.param.camera

73 | Package Hierarchies: 74 | 77 |
78 |
79 |

Class Hierarchy

80 | 88 |
89 | 90 |
91 | 92 | 93 |
Skip navigation links
94 | 95 | 96 | 97 | 106 |
107 | 134 | 135 | 136 | 137 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/param/mount/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.param.mount 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.param.mount

13 |
14 |

Classes

15 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /doc/com/powervision/powersdk/param/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.powervision.powersdk.param 7 | 8 | 9 | 10 | 11 | 12 |

com.powervision.powersdk.param

13 |
14 |

Classes

15 | 44 |
45 | 46 | 47 | -------------------------------------------------------------------------------- /doc/deprecated-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Deprecated List 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 |

Deprecated API

73 |

Contents

74 | 77 |
78 |
79 | 80 | 81 | 102 |
103 | 104 |
105 | 106 | 107 |
Skip navigation links
108 | 109 | 110 | 111 | 120 |
121 | 148 | 149 | 150 | 151 | -------------------------------------------------------------------------------- /doc/index-files/index-10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | J-Index 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
A B C D E F G H I J L M N O P Q R S T U V W X Y Z  72 | 73 | 74 |

J

75 |
76 |
JNINativeManager - Class in com.powervision.powersdk.jni
77 |
78 |
实现对JNI的操作 79 | Created by Andrea.Cao on 2017/10/13.
80 |
81 |
82 | A B C D E F G H I J L M N O P Q R S T U V W X Y Z 
83 | 84 |
85 | 86 | 87 |
Skip navigation links
88 | 89 | 90 | 91 | 100 |
101 | 128 | 129 | 130 | 131 | -------------------------------------------------------------------------------- /doc/index-files/index-20.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | U-Index 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
A B C D E F G H I J L M N O P Q R S T U V W X Y Z  72 | 73 | 74 |

U

75 |
76 |
UART - Static variable in class com.powervision.powersdk.factory.base.BaseMountDeviceInterface
77 |
 
78 |
umountDeviceInterface(BaseMountDeviceInterface) - Method in class com.powervision.powersdk.core.PowerSDK
79 |
80 |
Uninstall device interface
81 |
82 |
userId - Variable in class com.powervision.powersdk.param.FlightRecordStopParam
83 |
 
84 |
85 | A B C D E F G H I J L M N O P Q R S T U V W X Y Z 
86 | 87 |
88 | 89 | 90 |
Skip navigation links
91 | 92 | 93 | 94 | 103 |
104 | 131 | 132 | 133 | 134 | -------------------------------------------------------------------------------- /doc/index-files/index-23.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | X-Index 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
A B C D E F G H I J L M N O P Q R S T U V W X Y Z  72 | 73 | 74 |

X

75 |
76 |
x - Variable in class com.powervision.powersdk.param.CircleParam
77 |
 
78 |
x - Variable in class com.powervision.powersdk.param.ManualControlDateNotifyParam
79 |
80 |
pitch before and after
81 |
82 |
x - Variable in class com.powervision.powersdk.param.PositionParam
83 |
84 |
right:range of updown+-1000
85 |
86 |
x - Variable in class com.powervision.powersdk.param.WaypointParam
87 |
88 |
latitude
89 |
90 |
91 | A B C D E F G H I J L M N O P Q R S T U V W X Y Z 
92 | 93 |
94 | 95 | 96 |
Skip navigation links
97 | 98 | 99 | 100 | 109 |
110 | 137 | 138 | 139 | 140 | -------------------------------------------------------------------------------- /doc/index-files/index-25.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Z-Index 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
A B C D E F G H I J L M N O P Q R S T U V W X Y Z  72 | 73 | 74 |

Z

75 |
76 |
z - Variable in class com.powervision.powersdk.param.CircleParam
77 |
 
78 |
z - Variable in class com.powervision.powersdk.param.ManualControlDateNotifyParam
79 |
80 |
up and down
81 |
82 |
z - Variable in class com.powervision.powersdk.param.PositionParam
83 |
84 |
left:range of updown+-1000
85 |
86 |
z - Variable in class com.powervision.powersdk.param.WaypointParam
87 |
88 |
height 3-100(m)
89 |
90 |
91 | A B C D E F G H I J L M N O P Q R S T U V W X Y Z 
92 | 93 |
94 | 95 | 96 |
Skip navigation links
97 | 98 | 99 | 100 | 109 |
110 | 137 | 138 | 139 | 140 | -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Generated Documentation (Untitled) 7 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | <noscript> 69 | <div>JavaScript is disabled on your browser.</div> 70 | </noscript> 71 | <h2>Frame Alert</h2> 72 | <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /doc/overview-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Overview List 7 | 8 | 9 | 10 | 11 | 12 |
All Classes
13 |
14 |

Packages

15 | 27 |
28 |

 

29 | 30 | 31 | -------------------------------------------------------------------------------- /doc/overview-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Overview 7 | 8 | 9 | 10 | 11 | 12 | 22 | 25 | 26 |
27 | 28 | 29 |
Skip navigation links
30 | 31 | 32 | 33 | 42 |
43 | 70 | 71 |
72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 |
Packages 
PackageDescription
com.powervision.powersdk.core 
com.powervision.powersdk.factory 
com.powervision.powersdk.factory.base 
com.powervision.powersdk.jni 
com.powervision.powersdk.listener 
com.powervision.powersdk.listener.manager 
com.powervision.powersdk.listener.subject 
com.powervision.powersdk.param 
com.powervision.powersdk.param.camera 
com.powervision.powersdk.param.mount 
121 |
122 | 123 |
124 | 125 | 126 |
Skip navigation links
127 | 128 | 129 | 130 | 139 |
140 | 167 | 168 | 169 | 170 | -------------------------------------------------------------------------------- /doc/package-list: -------------------------------------------------------------------------------- 1 | com.powervision.powersdk.core 2 | com.powervision.powersdk.factory 3 | com.powervision.powersdk.factory.base 4 | com.powervision.powersdk.jni 5 | com.powervision.powersdk.listener 6 | com.powervision.powersdk.listener.manager 7 | com.powervision.powersdk.listener.subject 8 | com.powervision.powersdk.param 9 | com.powervision.powersdk.param.camera 10 | com.powervision.powersdk.param.mount 11 | -------------------------------------------------------------------------------- /doc/script.js: -------------------------------------------------------------------------------- 1 | function show(type) 2 | { 3 | count = 0; 4 | for (var key in methods) { 5 | var row = document.getElementById(key); 6 | if ((methods[key] & type) != 0) { 7 | row.style.display = ''; 8 | row.className = (count++ % 2) ? rowColor : altColor; 9 | } 10 | else 11 | row.style.display = 'none'; 12 | } 13 | updateTabs(type); 14 | } 15 | 16 | function updateTabs(type) 17 | { 18 | for (var value in tabs) { 19 | var sNode = document.getElementById(tabs[value][0]); 20 | var spanNode = sNode.firstChild; 21 | if (value == type) { 22 | sNode.className = activeTableTab; 23 | spanNode.innerHTML = tabs[value][1]; 24 | } 25 | else { 26 | sNode.className = tableTab; 27 | spanNode.innerHTML = "" + tabs[value][1] + ""; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/ 5 | /.idea 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | /powervisionsdk/ 11 | /gradle 12 | *.jks 13 | 14 | 15 | 16 | 17 | `` -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /release 3 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 26 5 | buildToolsVersion "26.0.2" 6 | defaultConfig { 7 | applicationId "com.powervision.powersdk" 8 | minSdkVersion 21 9 | targetSdkVersion 26 10 | versionCode 3 11 | versionName "1.2.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | 14 | //启用multidex支持。 15 | multiDexEnabled true 16 | 17 | ndk { 18 | abiFilters "armeabi"//, "x86", "x86_64" 19 | } 20 | } 21 | buildTypes { 22 | release { 23 | minifyEnabled false 24 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 25 | } 26 | } 27 | sourceSets { 28 | main { 29 | jniLibs.srcDirs = ['libs'] 30 | } 31 | } 32 | repositories { 33 | flatDir { 34 | dirs 'libs' 35 | } 36 | 37 | } 38 | } 39 | 40 | dependencies { 41 | compile fileTree(include: ['*.jar'], dir: 'libs') 42 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 43 | exclude group: 'com.android.support', module: 'support-annotations' 44 | }) 45 | compile 'com.android.support:appcompat-v7:26.1.0' 46 | compile 'com.android.support.constraint:constraint-layout:1.0.2' 47 | testCompile 'junit:junit:4.12' 48 | compile 'com.tencent.bugly:crashreport:latest.release' 49 | //其中latest.release指代最新Bugly SDK版本号,也可以指定明确的版本号,例如2.1.9 50 | compile 'com.tencent.bugly:nativecrashreport:latest.release' 51 | //其中latest.release指代最新Bugly NDK版本号,也可以指定明确的版本号,例如3.0 52 | compile 'com.google.code.gson:gson:2.8.1' 53 | compile 'com.jakewharton:butterknife:8.8.1' 54 | compile 'com.android.support:multidex:1.0.2' 55 | annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' 56 | compile(name: 'powervisionsdk-release', ext: 'aar') 57 | } 58 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/libs/powervisionsdk-release.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PV-SDK/Mobile-SDK-Android/ce3b10eaeaee9b6004c60df21f3e1a36bf0fd0c7/powervision-sdk-demo/gcs_api/app/libs/powervisionsdk-release.aar -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/SNOY/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/src/androidTest/java/com/powervision/powersdk/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.powervision.powersdk; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.powervision.powersdk", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 34 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 48 | 52 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/src/main/java/com/powervision/powersdk/BaseActivity.java: -------------------------------------------------------------------------------- 1 | package com.powervision.powersdk; 2 | 3 | import android.os.Bundle; 4 | import android.support.annotation.Nullable; 5 | import android.support.v7.app.AppCompatActivity; 6 | 7 | import butterknife.ButterKnife; 8 | 9 | /** 10 | * Created by simon on 2017/12/15. 11 | */ 12 | 13 | public abstract class BaseActivity extends AppCompatActivity { 14 | 15 | /** 16 | * @return int layoutResID 17 | */ 18 | protected abstract int setContentLayoutView(); 19 | 20 | // protected abstract void initData(); 21 | 22 | protected abstract void initListeners(); 23 | 24 | @Override 25 | protected void onCreate(@Nullable Bundle savedInstanceState) { 26 | super.onCreate(savedInstanceState); 27 | setContentView(setContentLayoutView()); 28 | ButterKnife.bind(this); 29 | initListeners(); 30 | } 31 | 32 | @Override 33 | protected void onDestroy() { 34 | super.onDestroy(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/src/main/java/com/powervision/powersdk/BaseApplication.java: -------------------------------------------------------------------------------- 1 | package com.powervision.powersdk; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | import android.support.multidex.MultiDex; 6 | 7 | import com.tencent.bugly.crashreport.CrashReport; 8 | 9 | /** 10 | * Created by Andrea.Cao on 2017/10/30. 11 | */ 12 | 13 | public class BaseApplication extends Application { 14 | 15 | private static BaseApplication mApplication; 16 | 17 | public static BaseApplication getInstance() { 18 | return mApplication; 19 | } 20 | 21 | @Override 22 | protected void attachBaseContext(Context base) { 23 | super.attachBaseContext(base); 24 | MultiDex.install(this); 25 | } 26 | 27 | @Override 28 | public void onCreate() { 29 | super.onCreate(); 30 | mApplication = this; 31 | CrashReport.initCrashReport(getApplicationContext(), "320a6b6bc5", true); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/src/main/java/com/powervision/powersdk/FounctionListActivity.java: -------------------------------------------------------------------------------- 1 | package com.powervision.powersdk; 2 | 3 | import android.content.Intent; 4 | import android.os.Bundle; 5 | import android.support.v7.app.AppCompatActivity; 6 | import android.view.View; 7 | import android.widget.Button; 8 | 9 | import butterknife.BindView; 10 | import butterknife.ButterKnife; 11 | import butterknife.OnClick; 12 | 13 | public class FounctionListActivity extends AppCompatActivity { 14 | 15 | @BindView(R.id.mount) 16 | Button mount; 17 | @BindView(R.id.camera) 18 | Button camera; 19 | @BindView(R.id.position) 20 | Button position; 21 | 22 | @Override 23 | protected void onCreate(Bundle savedInstanceState) { 24 | super.onCreate(savedInstanceState); 25 | setContentView(R.layout.activity_founction); 26 | ButterKnife.bind(this); 27 | 28 | } 29 | 30 | @OnClick({R.id.mount, R.id.camera, R.id.position}) 31 | public void onViewClicked(View view) { 32 | switch (view.getId()) { 33 | case R.id.mount: 34 | startActivity(new Intent(this, MountActivity.class)); 35 | break; 36 | case R.id.camera: 37 | startActivity(new Intent(this, CameraActivity.class)); 38 | break; 39 | case R.id.position: 40 | startActivity(new Intent(this, LocationActivity.class)); 41 | break; 42 | } 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/src/main/java/com/powervision/powersdk/utils/StandardDialogUtils.java: -------------------------------------------------------------------------------- 1 | package com.powervision.powersdk.utils; 2 | 3 | import android.content.Context; 4 | import android.support.v7.app.AlertDialog; 5 | 6 | import com.powervision.powersdk.R; 7 | 8 | 9 | /** 10 | * Created by Andrea.Cao on 2017/5/6. 11 | */ 12 | 13 | public class StandardDialogUtils { 14 | 15 | private StandardDialogUtils() { 16 | 17 | } 18 | 19 | public static void defaultDialog(Context context, String message) { 20 | new AlertDialog.Builder(context) 21 | .setTitle(R.string.waring) 22 | .setCancelable(false) 23 | .setMessage(message) 24 | .setPositiveButton(R.string.text_sure, null) 25 | .create() 26 | .show(); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/src/main/java/com/powervision/powersdk/utils/ToastUtil.java: -------------------------------------------------------------------------------- 1 | package com.powervision.powersdk.utils; 2 | 3 | import android.text.TextUtils; 4 | import android.widget.Toast; 5 | 6 | import com.powervision.powersdk.BaseApplication; 7 | 8 | public class ToastUtil { 9 | 10 | private static Toast mToast; 11 | 12 | /** 13 | * 重复执行,不会连续出现的short_toast 14 | * @param msg 15 | */ 16 | public static void showToast(CharSequence msg) { 17 | 18 | if (TextUtils.isEmpty(msg)) { 19 | return; 20 | } 21 | 22 | if (mToast == null) { 23 | mToast = Toast.makeText(BaseApplication.getInstance(), msg, Toast.LENGTH_SHORT); 24 | } 25 | 26 | mToast.show(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /powervision-sdk-demo/gcs_api/app/src/main/res/layout/activity_fly_control.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 14 | 15 | 16 |