dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
981 stars 579 forks source link

Help #27

Closed JeffreySa closed 6 years ago

JeffreySa commented 8 years ago

I try sample code in pt3 pro and doesnt dowk, no connected

kenargo commented 8 years ago

Can you confirm the SDK is being registered? If SDK register isn’t successful then you will only get video, nothing more.

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 10:25 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Subject: [dji-sdk/Mobile-SDK-Android] Help (#27)

I try sample code in pt3 pro and doesnt dowk, no connected

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27 https://github.com/notifications/beacon/AM7-OJfzf_fXAKP5b0IvnQ_7daqqO07rks5pzVT-gaJpZM4H94B-.gif

JeffreySa commented 8 years ago

Yeah, I registered in http://developer.dji.com/en/user/apps/#all with Bundle IDcom.dji.sdk.sample but even can get video

kenargo commented 8 years ago

Are you seeing the message about the USB connection?

If you trace initSDKManager.onProductChanged is it being called?

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:10 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

Yeah, I registered in http://developer.dji.com/en/user/apps/#all with Bundle IDcom.dji.sdk.sample but even can get video

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204498597 https://github.com/notifications/beacon/AM7-OEC359dd22o0gpZZBiCEbGfoKzPtks5pzV9lgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

Message about USB connection? Where?

kenargo commented 8 years ago

When you plug in the USB cable to your device.

What aircraft are you using?

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:21 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

Message about USB connection? Where?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204501510 https://github.com/notifications/beacon/AM7-OKU-IFwhS78cOI2ZpAFQDECB4CLOks5pzWImgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

I try use the example code... Compilated in android studio in a galaxy s6 android 5

JeffreySa commented 8 years ago

Phantom 3 profes

kenargo commented 8 years ago

OK, so you connect the remote controller to your Android, you should see a pop-up asking about USB connection permission , same as you see when using the GO app.

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:24 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

Phantom 3 profes

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204502369 https://github.com/notifications/beacon/AM7-OAPd-hlW8EgpIgWrbIQihXzgaiKcks5pzWLNgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

When connect the phone to rc dji go app say me I need a update for Battery but y put the .bin in the sdk and no happed nothing. And a exaple say only rc connected

kenargo commented 8 years ago

Before that. If all apps are closed and you connect the RC what happens?

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:26 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

When connect the phone to rc dji go app say me I need a update for Battery but y put the .bin in the sdk and no happed nothing. And a exaple say only rc connected

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204503102 https://github.com/notifications/beacon/AM7-OH30XG0_Ib79NZL22SyZh13vIzQZks5pzWMxgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

The phone show me a pop-up and I select the application that I need ... In this case the example

JeffreySa commented 8 years ago

We can talk about that for any email?

kenargo commented 8 years ago

OK, that is good. Next do you trace the calls I mentioned? Do you see a connection message coming from the SDK?

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:28 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

The phone show me a pop-up and I select the application that I need ... In this case the example

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204503693 https://github.com/notifications/beacon/AM7-OFB5UIvbTYTuqy_CjT61uSYVJIbZks5pzWPFgaJpZM4H94B-.gif

kenargo commented 8 years ago

If you trace initSDKManager.onProductChanged is it being called?

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:29 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

We can talk about that for any email?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204503979 https://github.com/notifications/beacon/AM7-OKkoYYX4RIv032YfPpseOjb3tasSks5pzWQEgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

I don't see any messages

kenargo commented 8 years ago

What about onGetRegisteredResult?

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:31 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

I don't see any messages

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204504449 https://github.com/notifications/beacon/AM7-OI2O9ncQv0I0Du2662lGjeCLZPv7ks5pzWR_gaJpZM4H94B-.gif

JeffreySa commented 8 years ago

I don't modify any code line because first I want run a sample code, after that I lear about the functions and then programming.

JeffreySa commented 8 years ago

Bue any example work for me

kenargo commented 8 years ago

You have something like this:

DJISDKManager.getInstance().initSDKManager(getApplicationContext(), new DJISDKManager.DJISDKManagerCallback() { @Override public void onGetRegisteredResult(DJIError djiError) {

Add a line like this:

Log.d("TEST", "Registration: " + djiError.getDescription());

See what the output is and let me know, it will tell if you are getting registered.

I assume you followed the directions to create an app ID and added to your manifest?

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:35 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

I don't modify any code line because first I want run a sample code, after that I lear about the functions and then programming.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204506537 https://github.com/notifications/beacon/AM7-OBCL3Kg96sKjVdWTY7smOgCSb89-ks5pzWU5gaJpZM4H94B-.gif

JeffreySa commented 8 years ago

Yeah I follow the instructions... I will add the code line in a second

JeffreySa commented 8 years ago

I dont found this code line, sorry

kenargo commented 8 years ago

It will be in your Application class override

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:49 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

I dont found this code line, sorry

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204518326 https://github.com/notifications/beacon/AM7-OEh4LIWpaLqTf_B1Mt90t24SMZmZks5pzWijgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

Do you have any email where we can talk and send you screen captures?

kenargo commented 8 years ago

I prefer not to give out personal email.

In your Android project, do you have a class that extends android.app.Application?

In your manifest do you have something like this?

<application android:name=".Application"

Where the name is the same class name as the class extending android.app.Application.

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:52 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

Do you have any email where we can talk and send you screen captures?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204520486 https://github.com/notifications/beacon/AM7-OA8lGb46OaetvoP2Z1ahpSa3hpfUks5pzWlHgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

I found it

@Override public void onGetRegisteredResult(DJIError error) { if(error == DJISDKError.REGISTRATION_SUCCESS) { DJISDKManager.getInstance().startConnectionToProduct(); } else { Handler handler = new Handler(Looper.getMainLooper()); handler.post(new Runnable() {

                @Override
                public void run() {
                    Toast.makeText(getApplicationContext(),
                            R.string.sdk_registration_message,
                                                Toast.LENGTH_LONG).show();
                }
            });

        }
        Log.v(TAG, error.getDescription());
    }
kenargo commented 8 years ago

Add the code I sent just under the

public void onGetRegisteredResult(DJIError error) {

Then run your app and there should be a trace of the SDK validation output, that will tell you if you are getting SDK register

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:56 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

I found it

@Override https://github.com/Override public void onGetRegisteredResult(DJIError error) { if(error == DJISDKError.REGISTRATION_SUCCESS) { DJISDKManager.getInstance().startConnectionToProduct(); } else { Handler handler = new Handler(Looper.getMainLooper()); handler.post(new Runnable() {

            @Override
            public void run() {
                Toast.makeText(getApplicationContext(),
                        R.string.sdk_registration_message,
                                            Toast.LENGTH_LONG).show();
            }
        });

    }
    Log.v(TAG, error.getDescription());
}

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204522262 https://github.com/notifications/beacon/AM7-OHuO55BQ03wGYpU6_fqoxMtBuB6vks5pzWpOgaJpZM4H94B-.gif

kenargo commented 8 years ago

Also, make sure no other apps are running on device (especially the GO app) or you will not get connection.

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 11:56 AM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

I found it

@Override https://github.com/Override public void onGetRegisteredResult(DJIError error) { if(error == DJISDKError.REGISTRATION_SUCCESS) { DJISDKManager.getInstance().startConnectionToProduct(); } else { Handler handler = new Handler(Looper.getMainLooper()); handler.post(new Runnable() {

            @Override
            public void run() {
                Toast.makeText(getApplicationContext(),
                        R.string.sdk_registration_message,
                                            Toast.LENGTH_LONG).show();
            }
        });

    }
    Log.v(TAG, error.getDescription());
}

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204522262 https://github.com/notifications/beacon/AM7-OHuO55BQ03wGYpU6_fqoxMtBuB6vks5pzWpOgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

@Override public void onGetRegisteredResult(DJIError error) { Log.d("TEST", "Registration: " + djiError.getDescription()); if(error == DJISDKError.REGISTRATION_SUCCESS) {

and say me "cannot resolve sysmbol 'djiError'"

kenargo commented 8 years ago

Have you programmed before or are you new at programming?

Change the line to match the variable name:

Log.d("TEST", "Registration: " + error.getDescription());

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 12:01 PM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

@Override https://github.com/Override public void onGetRegisteredResult(DJIError error) { Log.d("TEST", "Registration: " + djiError.getDescription()); if(error == DJISDKError.REGISTRATION_SUCCESS) {

and say me "cannot resolve sysmbol 'djiError'"

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204524216 https://github.com/notifications/beacon/AM7-OBHG0z_MrTx73U4XiDzrHENkf7fpks5pzWtcgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

I have 3 days in the error, have so dream sorry jajajaja

JeffreySa commented 8 years ago

Question.... Console log dont show if a connect the phone in the controll, how I can see the error?

JeffreySa commented 8 years ago

I put it in a toast

kenargo commented 8 years ago

That works also but sometimes Toasts can be missed.

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 12:08 PM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

I put it in a toast

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204526953 https://github.com/notifications/beacon/AM7-ODobzuQ61A7P-I-CiMRXJJJBYlBKks5pzW0ggaJpZM4H94B-.gif

kenargo commented 8 years ago

You can use a Wi-Fi debugger or maybe for you it would be better to run the app and then after a few seconds disconnect the Android from the RC and connect to the computer; logs are buffered and it will stream to PC once connection.

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 12:05 PM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

Question.... Console log dont show if a connect the phone in the controll, how I can see the error?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204526280 https://github.com/notifications/beacon/AM7-OBjON28o8F0jBPrU5zwuEe6STcggks5pzWx4gaJpZM4H94B-.gif

JeffreySa commented 8 years ago

Api key succ. registred

JeffreySa commented 8 years ago

but the app show a text No product connected

kenargo commented 8 years ago

Did you add Toast in this method to check for connection:

@Override public void onProductChanged(DJIBaseProduct djiBaseProduct, DJIBaseProduct djiBaseProduct1) {

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 12:13 PM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

but the app show a text No product connected

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204528085 https://github.com/notifications/beacon/AM7-OLQkIEKk3yoL3VFPYjaAf5S5VBCQks5pzW4ggaJpZM4H94B-.gif

JeffreySa commented 8 years ago

Put that now

Toast.makeText(getApplicationContext(), String.format("onProductChanged oldProduct:%s, newProduct:%s", oldProduct, newProduct), Toast.LENGTH_LONG).show();

JeffreySa commented 8 years ago

show me null and null in old a new product

kenargo commented 8 years ago

You need to program so you don’t crash when getting null.

Did I understand correctly that you have only tried programming for 3 days? You have not programmed before now?

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 12:24 PM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

show me null and null in old a new product

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204533041 https://github.com/notifications/beacon/AM7-OFIj_xPebjCjwrvHv9eIEPnbnnSLks5pzXDZgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

nono I programmed before but in this project, for this drone sdk i want first run a example code before understand how sdk work.... I mean, first i want see a example running in my phone and after develop my app.

kenargo commented 8 years ago

OK, then you should understand how to program to test for null so that you can see the Toasts from the callback as they come in. Sometimes values are null, test for null and ignore them. If a connection is made then there will be a value.

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 12:28 PM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

nono I programmed before but in this project, for this drone sdk i want first run a example code before understand how sdk work.... I mean, first i want see a example running in my phone and after develop my app.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204535076 https://github.com/notifications/beacon/AM7-OILj7Vq5KOt4rskgXX7wtCInf40sks5pzXHXgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

yes I know, I imported the github repo in android studio and followed the steps in https://developer.dji.com/get-started/mobile-sdk/Run-SDK-Sample-Code/. After all Ive tried, this sample is still not working for me. Itd be quite helpful if you provide me an execution environment, working with the current version, given the instructions provided are outdated.

kenargo commented 8 years ago

I do not have so much time to create this for you but I’ve attached a working application override which I use to test code for DJI. You can replace your application with it and you should see a connection unless there is something else external to your app.

Best of luck

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 12:43 PM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

yes I know, I imported the github repo in android studio and followed the steps in https://developer.dji.com/get-started/mobile-sdk/Run-SDK-Sample-Code/. After all Ive tried, this sample is still not working for me. Itd be quite helpful if you provide me an execution environment, working with the current version, given the instructions provided are outdated.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204539797 https://github.com/notifications/beacon/AM7-OAjFiBHb9mKwNYM3ZixYkAQPU41tks5pzXVdgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

Where did you attached the workaround? I downloaded this repo but this is still not working. I checked out the latest version. This project is so important.

kenargo commented 8 years ago

https://drive.google.com/file/d/0BzUKj4iYWZNLOTlodUpWR0hWcFk/view?usp=sharing

From: JeffreySa [mailto:notifications@github.com] Sent: Friday, April 1, 2016 1:01 PM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

Where did you attached the workaround? I downloaded this repo but this is still not working. I checked out the latest version. This project is so important.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-204545858 https://github.com/notifications/beacon/AM7-OHNON8ormFjd6eNslhpu5eyiITHBks5pzXmTgaJpZM4H94B-.gif

JeffreySa commented 8 years ago

Hi. Many days ago we talking about this issue. I want to tell you how I create my project and you please say me if I have a mistake. First I download this repo, open my android studio 1.5.1 in my mac. After y click in open a existent project android studio and find the unzip repo. Later in developer website I create the api key and put it in the manifest and them run the app in a Samsung galaxy s6 with android 5.1... The app say me product no found, the app won't connect. I was so specific, I hope you can help me with that. Thanks.

SilverChangjian commented 8 years ago

Have you provide the permission to the application for getting the usb accessory?

edancain commented 8 years ago

Kenargo, SilverChangjian. Do either of you work on the SDK team? Jeffrey Sa's issue is exactly what I am seeing. Before your next question Kenargo, yes I know very well how to program, being the CTO at a software company. We have multiple DJI products (all the Phantoms made, Matrice, S900, S1000). What I am trying to do is exactly the same as Jeffrey, evaluate the SDK. The original SDK was horrible. With the total rewrite at version 3 we thought we might try again. Please note that for the S900, S1000 and Flamewheels we have, we did not use the DJI flight computers, installing Pixhawks from 3DR as it was a good sdk. We are trying to emulate the functionality we have working with the Pixhawk with the DJI sdk. Here's where I take exception: A sample should work. Easy to install and run. Thereby an external dev can start to get a feel for how to code with it. If, the sample does not work, and Jeffrey has to ask this many questions and still not be able to get it to work, the SDK sample and documentation is not good. The samples have 2.4 version samples, documentation to old versions of the simulator etc etc. That doesn't help anyone here. Documentation is horribly lacking. If either of you have the sample working, and all an external dev needs to do is change the API key to that of their own, then update the sample if you work for the team. Otherwise upload it somewhere other people that you are trying to help here could get it from.

Jeffrey, you have been very specific, I feel your pain.

kenargo commented 8 years ago

Me, no I am not associated with DJI nor the SDK team at DJI. I’ve learned the SDK, mainly through trial and error.

Have you looked at this thread and Dave’s blog?

http://forum.dev.dji.com/thread-32188-1-1.html

Ken

From: Edan Cain [mailto:notifications@github.com] Sent: Monday, April 11, 2016 2:59 PM To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com Cc: ken argo donotreply@kenargo.com Subject: Re: [dji-sdk/Mobile-SDK-Android] Help (#27)

Kenargo, SilverChangjian. Do either of you work on the SDK team? Jeffrey Sa's issue is exactly what I am seeing. Before your next question Kenargo, yes I know very well how to program, being the CTO at a software company. We have multiple DJI products (all the Phantoms made, Matrice, S900, S1000). What I am trying to do is exactly the same as Jeffrey, evaluate the SDK. The original SDK was horrible. With the total rewrite at version 3 we thought we might try again. Please note that for the S900, S1000 and Flamewheels we have, we did not use the DJI flight computers, installing Pixhawks from 3DR as it was a good sdk. We are trying to emulate the functionality we have working with the Pixhawk with the DJI sdk. Here's where I take exception: A sample should work. Easy to install and run. Thereby an external dev can start to get a feel for how to code with it. If, the sample does not work, and Jeffrey has to ask this many questions and still not be able to get it to work, the SDK sample and documentation is not good. The samples have 2.4 version samples, documentation to old versions of the simulator etc etc. That doesn't help anyone here. Documentation is horribly lacking. If either of you have the sample working, and all an external dev needs to do is change the API key to that of their own, then update the sample if you work for the team. Otherwise upload it somewhere other people that you are trying to help here could get it from.

Jeffrey, you have been very specific, I feel your pain.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/dji-sdk/Mobile-SDK-Android/issues/27#issuecomment-208579516 https://github.com/notifications/beacon/AM7-OHoMrHcyAQoG72vBHYgJ8q4HsGLxks5p2sQWgaJpZM4H94B-.gif