Hubble Media Browser

Android Hubble Media Browser

Contents

Introduction

Android Hubble Media Browser is a sample app designed to display Verizon Personal Cloud Storage user content. You can use it to view information about photos, videos and music files categorized by tracks, artist and genre. You can also search for files or folders and display selected photos. The account information feature allows you to display the quota usage details for the Verizon Personal Cloud Storage account.

Setting up Your App

  1. Download Android Hubble Media Browser.
    NOTE: The download file includes Android SDK and Android Hubble Media Browser.
  2. Unzip Android Hubble Media Browser_X.X.zip.
  3. Open Android Studio.
  4. Select File, Open.
  5. Navigate to Hubble Media Browser folder and select Open.
  6. Android Studio might ask you to change the Android and Gradle version, if they are different from the version configured in the project. If prompted, follow the instructions to change these settings.
  7. Open the project.
  8. Navigate to Gradle Scripts.
  9. Open build.gradle (Module: Hubble Media Browser).
  10. Change defaultConfig values to the values you have obtained from Key Management when you registered your app:
    • Client_ID - change to Key
    • Client_Secret - change to Secret
    • Callback_URL - change to HTTP callback address

Code Sample

 defaultConfig {
        applicationId "com.thingspace.media"
        minSdkVersion 11
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
        resValue "string", "Client_ID", "CHANGE-ME"
        resValue "string", "Client_Secret", "CHANGE-ME"
        resValue "string", "Callback_URL", "CHANGE-ME"
    }

NOTE: CALLBACK_URL is case sensitive.

Supported API Calls

For a complete list of the supported API calls for each release, refer to our release guides.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.