Giter Club home page Giter Club logo

Comments (8)

lillogoal avatar lillogoal commented on August 20, 2024

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.

oliverou avatar oliverou commented on August 20, 2024

Hi @lillogoal, thanks for your feedback! We will investigate this issue and fix it in the future SDK version.

from android-fpvdemo.

lillogoal avatar lillogoal commented on August 20, 2024

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.

oliverou avatar oliverou commented on August 20, 2024

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.

lillogoal avatar lillogoal commented on August 20, 2024

@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.

oliverou avatar oliverou commented on August 20, 2024

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:

screenshot_20161127-235604

Make sure there is no other DJI related apps running in the background and try the demo again. It should works.

from android-fpvdemo.

lillogoal avatar lillogoal commented on August 20, 2024

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.

oliverou avatar oliverou commented on August 20, 2024

This issue has been resolved, close it now.

from android-fpvdemo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.