Programing on Anafi

Hi,
I’m a young developper and I want to code a personal application with Android Studio for Anafi but I start in Android programation. So I want to use library of Groundsdk but i don’t know how i can use in my code. So I search a answer to resolve my problem.

So, please help me to use the library of groundsdk for create my application.

https://developer.parrot.com/docs/groundsdk-android/
here you go :slight_smile:

Yes, I see that but I don’t know how I can use the library in my personal code. :confused:

To use groundsdk library in your own application, you need to add the following dependencies to your app module build.gradle file, inside the ‘dependencies’ block:

dependencies {
    ...
    implementation 'com.parrot.drone.groundsdk:groundsdk:1.0.0'
    runtimeOnly 'com.parrot.drone.groundsdk:arsdkengine:1.0.0'
}

I assumed that the jcenter() repository is already included in the root project ‘repositories’ block (which should already be the case if you created a new android application project from android studio); in case not, you need to add it manually, like so:

repositories {
    ...
    jcenter()
}

Then your setup should be fine and you can use GroundSdk in your application code.

For guidance on how to use the SDK APIs, see here: https://developer.parrot.com/docs/refdoc-android/

Thank you!