Comments (8)
ANDROID STUDIO: 2.2.2
MIN SDK: 4.4.1
DEVICE MOTO G3 (2016)
ANDROID VERSION: 6.0.1
THIS IS LOGCAT: 11-23 21:25:59.496 23837-23837/com.wesii.wesiiplay E/DJIBaseProduct: Camera needCreateNew: false
11-23 21:25:59.496 23837-23837/com.wesii.wesiiplay E/DJIBaseProduct: Gimbal needCreateNew: false
11-23 21:25:59.499 23837-23837/com.wesii.wesiiplay E/DJIBaseProduct: FlightController needCreateNew: false
11-23 21:25:59.499 23837-23837/com.wesii.wesiiplay E/DJIBaseProduct: oldComponent: dji.sdk.flightcontroller.a@6f43b86
11-23 21:25:59.500 23837-23837/com.wesii.wesiiplay E/DJIBaseProduct: update battery platformType: Unknown
11-23 21:25:59.500 23837-23837/com.wesii.wesiiplay E/DJIBaseProduct: Battery needCreateNew: false
11-23 21:25:59.500 23837-23837/com.wesii.wesiiplay E/DJIBaseProduct: HandHeldController needCreateNew: false
11-23 21:25:59.500 23837-23837/com.wesii.wesiiplay E/DJIBaseProduct: RemoteController needCreateNew: false
11-23 21:25:59.500 23837-23837/com.wesii.wesiiplay E/DJIBaseProduct: MOBILE_REMOTE_CONTROLLER needCreateNew: false
11-23 21:26:01.431 23837-23884/com.wesii.wesiiplay E/wm220: ****resetSwitchFromWifiFlag
11-23 21:26:01.842 23837-23954/com.wesii.wesiiplay E/c: udt 连接建立 ip:192.168.1.3port:9000
11-23 21:26:02.356 23837-24453/com.wesii.wesiiplay E/UDT-JNI: Connection was broken.
11-23 21:26:02.357 23837-24453/com.wesii.wesiiplay E/c: udt 连接断开 recvLen=-2 ip:192.168.1.3port:9000
from android-fpvdemo.
Hi @lillogoal, thanks for your feedback! We will investigate this issue and fix it in the future SDK version.
from android-fpvdemo.
ok you, but I noticed that with the official app dji go. how is it that with the official app works well? the Chamber (osmo) is detected and the connection goes perfectly. How Can i do ? @oliverou
from android-fpvdemo.
Hi @lillogoal, which Android SDK version you are using? Android SDK 3.4.1? Could you help to check if you open DJI Go and the Sample App on your mobile device at the same time? Please make sure DJI Go app is stopped running in the background when you run the Sample App.
from android-fpvdemo.
@oliverou here my answer.
DJI SDK Is 3.4.1 YES.
THIS IS MY GRADLE:
`ndroid {
compileSdkVersion 25
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.wesii.wesiiplay"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
multiDexEnabled true
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}`
I also tried to compile with android sdk 22. But nothing changes nothing.
NO NO i can't open dji go and my app in same time.
from android-fpvdemo.
I guess the issue is due to the DJI Go app run in the Android system background and grab the device connection. Please go to "Settings->Apps->DJI GO->Force Stop" as shown below:
Make sure there is no other DJI related apps running in the background and try the demo again. It should works.
from android-fpvdemo.
Yes. Although I had tried something similar. I noticed that the app (sample FPV DEMO), if I do not close the application forcefully at times when I open does not recognize the camera "Unknown aircraft". How can you fix this bug? (Then it is the same test that you did). But I did not understand how to solve app side. @oliverou THANK YOU
from android-fpvdemo.
This issue has been resolved, close it now.
from android-fpvdemo.
Related Issues (20)
- why I can't find the capture photo in my device(可以进preview界面,拍照也显示成功,但是在本地手机上找不到对应照片) HOT 2
- getCamera() returns null HOT 1
- Can't start the app in AVD [com.dji.FPVDem: No implementation found for java.lang.Object[] com.secneo.sdk.Helper.makeInMemoryDexElements]
- 手机root和关闭selinux权限,运行demo,闪退 ,手机root和关闭selinux权限有影响么
- Nothing really useful happens HOT 1
- Q: yuv decoding and preview - mutually exclusive?
- Problem with dji.sdk.sdkmanager.DJIGlobalService HOT 7
- an error in the example
- 4.11 build crashing randomly. HOT 1
- Error when capturing from camera on Mavic 2 Enterprise HOT 2
- Show thermal image instead of rgb image in Mavic Enterprise 2 HOT 4
- Display Image in OpenCV HOT 2
- Question about Thermal Image reference frame HOT 2
- 4.13.1
- Android-FPVDemo HOT 3
- Failing to install due to USB accessory dependency HOT 1
- 能否更改实时视频数据的分辨率? HOT 2
- Camera is busy or the command is not supported in the Camera's current state HOT 3
- 安卓设备用usb连接遥控器后没有视频流
- App crashes on start - "Unable to create application com.dji.FPVDemo.MApplication: java.lang.NullPointerException"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-fpvdemo.