Android Box Share SDK

Box Android Share SDK

License

License

GroupId

GroupId

com.box
ArtifactId

ArtifactId

box-android-share-sdk
Last Version

Last Version

3.0.0
Release Date

Release Date

Type

Type

aar
Description

Description

Android Box Share SDK
Box Android Share SDK
Project URL

Project URL

https://github.com/box/box-android-share-sdk
Source Code Management

Source Code Management

https://github.com/box/box-android-share-sdk

Download box-android-share-sdk

How to add to project

<!-- https://jarcasting.com/artifacts/com.box/box-android-share-sdk/ -->
<dependency>
    <groupId>com.box</groupId>
    <artifactId>box-android-share-sdk</artifactId>
    <version>3.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.box/box-android-share-sdk/
implementation 'com.box:box-android-share-sdk:3.0.0'
// https://jarcasting.com/artifacts/com.box/box-android-share-sdk/
implementation ("com.box:box-android-share-sdk:3.0.0")
'com.box:box-android-share-sdk:aar:3.0.0'
<dependency org="com.box" name="box-android-share-sdk" rev="3.0.0">
  <artifact name="box-android-share-sdk" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.box', module='box-android-share-sdk', version='3.0.0')
)
libraryDependencies += "com.box" % "box-android-share-sdk" % "3.0.0"
[com.box/box-android-share-sdk "3.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
com.box : box-android-sdk jar 5.0.0
androidx.appcompat » appcompat jar 1.0.2
com.google.android.material » material jar 1.0.0
com.splitwise : tokenautocomplete aar 2.0.8

Project Modules

There are no modules declared in this project.

Box Android Share SDK

This SDK enables the ability to easily manage shared links and collaborators on Box.

####Shared Links

####Collaborators

Developer Setup

The SDK can be obtained by adding it as a maven dependency, cloning the source into your project, or by downloading one of the precompiled JARs from the releases page on GitHub.

Gradle:

implementation 'com.box:box-android-share-sdk:3.0.0'

Maven:

<dependency>
    <groupId>com.box</groupId>
    <artifactId>box-android-share-sdk</artifactId>
    <version>3.0.0</version>
</dependency>

If not using Gradle or Maven, this SDK has the following dependencies and will need to be included in your project:

The SDK was migrated to AndroidX in version 3.0.0. Latest stable version with support library is 2.3.0.

Quickstart

You will need a BoxSession and the BoxItem from the box-content-sdk. Please refer to the documentation of the box-content-sdk for additional details.

    BoxSession session = new BoxSession(MainActivity.this);
    BoxFolder folder = new BoxApiFolder(session).getInfo("<FOLDER_ID>").send();

####File or Folder Shared Link To manage an item Shared Link, launch the following activity:

    startActivity(BoxSharedLinkActivity.getLaunchIntent((MainActivity.this, folder, session));

This activity allows you to manage all the settings of a Shared Link (for a specific File or Folder): password restriction, permissions, expiration date, access level, etc.

####Folder Collaborators To manage Folder collaborators, launch the following activity:

    startActivity(BoxCollaborationsActivity.getLaunchIntent(MainActivity.this, folder, session));

This activity allows you to manage user access and permissions to a specific Folder.

Sample App

A sample app can be found in the box-share-sample folder.

Copyright and License

Copyright 2015 Box, Inc. All rights reserved.

Licensed under the Box Terms of Service; you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.box.com/legal/termsofservice/​

com.box

Box

Box, Inc.

Versions

Version
3.0.0
2.3.0
2.1.1
2.1.0
2.0.0
1.0.1
1.0.0