Please select Into the mobile phone version | Continue to access the computer ver.
App register event dont complete
327 6 2020-8-7
Uploading and Loding Picture ...(0/1)
o(^-^)o
Luis Alberto Pereira
lvl.1

Brazil
Offline

Hi,
I follow all tutorials for crate a Android App using UX SDK.
The App run without aparent problem, but when it try register on server, dont return.


Heare, video of debuggind process.

https://youtu.be/bsTNXTeKHEg






2020-8-7
Use props
DJI_Lisa
Second Officer
South Africa
Offline

Is your device connected to the internet?

If so and you're still having issues, please upload your file so I can review it.  Or you can review your code against the sample app here: https://github.com/DJI-Mobile-SD ... emoApplication.java
2020-8-7
Use props
Luis Alberto Pereira
lvl.1

Brazil
Offline

DJI_Lisa Posted at 8-7 12:49
Is your device connected to the internet?

If so and you're still having issues, please upload your file so I can review it.  Or you can review your code against the sample app here: https://github.com/DJI-Mobile-SDK-Tutorials/Android-UXSDKDemo/blob/master/UXSDKDemo/app/src/main/java/com/dji/uxsdkdemo/DemoApplication.java

Hi, thanks for response.
Yes, my device was internet conected.

Follow de public gitlab project.

git@gitlab.com:conectasmart/conectasmart.fly.git

2020-8-7
Use props
Spacemarine
lvl.4

South Africa
Offline

Have you input your appkey in AndroidManifest.xml?
2020-8-9
Use props
Luis Alberto Pereira
lvl.1

Brazil
Offline

Spacemarine Posted at 8-9 20:09
Have you input your appkey in AndroidManifest.xml?

Yes,

<!-- DJI SDK -->
        <uses-library android:name="com.android.future.usb.accessory" />

        <meta-data
            android:name="com.dji.sdk.API_KEY"
            android:value="45b99636330d1e6d22521f57" />

        <activity
            android:name="dji.sdk.sdkmanager.DJIAoaControllerActivity"
            android:theme="@android:style/Theme.Translucent">
            <intent-filter>
                <action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
            </intent-filter>

            <meta-data
                android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
                android:resource="@xml/accessory_filter" />
        </activity>

        <service android:name="dji.sdk.sdkmanager.DJIGlobalService"></service>
        <!-- DJI SDK -->
2020-8-10
Use props
DJI_Lisa
Second Officer
South Africa
Offline



The package name needs to match the package name on the tutorial project.  You'll need to make a new unique app key with the package name "com.dji.uxsdkdemo"



Here's a forum article explaining this: Common Reasons why App Registration Fails: https://forum.dji.com/forum.php?mod=viewthread&tid=222053



2020-8-10
Use props
Luis Alberto Pereira
lvl.1

Brazil
Offline

DJI_Lisa Posted at 8-10 08:03
[view_image]

The package name needs to match the package name on the tutorial project.  You'll need to make a new unique app key with the package name "com.dji.uxsdkdemo"

Hello, all guidelines have been implemented and the problem persists. Including those listed in the link.
(https://forum.dji.com/forum.php?mod=viewthread&tid=222053)

project here::
https://gitlab.com/conectasmart/conectasmart.fly.git



2020-8-15
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules