Using the Leviia Drive API - Java/Android

Initialization :


To manipulate your Leviia files from within a Java program, you first need to import the sardine library.

Here's how to do it :

Java :


For Java, simply add these lines to your pom.xml :

<dependency>
    <groupId>com.github.lookfirst</groupId>
    <artifactId>sardine</artifactId>
    <version>5.10</version>
  </dependency>


Android :


For Android, simply open your Gradle file (application) and add :

<dependency>
    <groupId>com.github.lookfirst</groupId>
    <artifactId>sardine</artifactId>
    <version>5.10</version>
  </dependency>

Updated on: 08/01/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!