Android File Storage App

Build an Android file storage mobile app using Android Studio, and associate it with a Catalyst project using Catalyst Android SDK to store files securely in the project's File Store

Register the Android App with Catalyst

After you create the Catalyst project and the Android project, you must create a package for the Android app in Catalyst to register it, and download its unique configuration file.

This configuration file, app_configuration_development.properties, contains the definitions of the Catalyst project, the app client, and other OAuth authentication properties, that are auto-populated in it. You can view a complete list of the properties that this file defines from this help section.

Note: Because we are working in the development sandbox with the Catalyst project, we will only be able to download the configuration file for the development environment. If you have a project deployed to production, you will be able to access the same file with the production environment variables populated in it.
  1. Click the Settings icon from your Catalyst console in your project.
  2. Navigate to Developer Tools under Project Settings in the settings menu, then click on the Android tile.

    Alternatively, you can click the Add Package button below. You can create one Android app and one iOS app in a single Catalyst project.
  3. You must enter the same package name that you entered in Android Studio while creating the project. Enter the following values:
    • Package name: "com.catalyst.zcdrive"
    • Redirect URL: "home"
    The redirect URL defines the URL the user will be redirected to, after they log in to the app.

    The values that you enter here will be auto-filled in the configuration file. Ensure that Android is selected as the OS type.
  4. Click Create.
  5. The console will then display a window from where you can download the configuration file. Click Download.

The configuration file will be downloaded to your system with all the property definitions mentioned earlier. The Mobile SDK section in Developer Tools will display the details of the Android SDK package configured with this project.