Dataswyft API Platform: Developers Docs
WebsiteGitHubSlackLogin
  • About Dataswyft
    • Community & Support
  • Learn about Dataswyft Platform
    • Decentralized Data Servers
    • Personal Data Account
      • HMIC Permissions
      • Namespaces
      • Single Sign-On
    • Data Wallet
      • Data Wallet Canvas and Solutions
      • CheckD Data Wallet: Release Notes
    • Dataswyft One
      • Compute Tools
  • Build on Dataswyft Platform
    • Dataswyft One APIs
      • Data API
        • Filtering, Querying & Transforming Data
        • Data Debit
      • File Storage API
      • Computations API
      • Postman Collection
    • Integrating with Data Wallets
    • Getting Started
      • Quick Start
      • Developers Portal
        • Updating and Submitting an Application
        • Deleting an Application
        • Application Statuses
      • Application Example - React
        • 1. Environment Setup
        • 2. Create Main Structure
        • 3. Main Page & Routing
        • 4. User Authentication
        • 6. CRUD Operations
        • 5. Component Pages
  • Deploy
    • Application Review
    • Rating Assurance & Certification
    • Live Application Ratings
  • Knowledge Base
    • Security Practices
    • FAQ
    • Glossary of Terms
  • Dataswyft
Powered by GitBook
On this page
  • Environment Set-up
  • Overview
  • Requirements
  • Install manually
  • Install via Gradle

Was this helpful?

  1. Build on Dataswyft Platform
  2. Advanced Topics
  3. User Journeys
  4. Password Management
  5. Guides

Android/Kotlin

Last updated 3 years ago

Was this helpful?

Environment Set-up

Overview

In order to build an Android app that uses HAT APIs you first need to install the HAT API Android library from . To do so you can either manually download the library and add it to your project or you can use maven [link coming soon].

Requirements

  • Android studio 3.2

  • Kotlin 1.3

  • This guide does not show you how to set up the UI; you have to be able to design a basic UI in order to make everything work.

Install manually

To manually install the library you have to download the repo from github and add it to your project via drag n drop.

Install via Gradle

Step 1

In the top-level gradle file, add the jitpack repository link

allprojects {
  repositories {
    maven { url "https://jitpack.io" }
  }
}

Step 2

In your app level gradle file , implement the library dependency

implementation 'com.hubofallthings.android.hatApi:hat:<latest-version>'

Step 3

Sync the project to download the library.

Step 4

Add internet permission into the AndroidManifest

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.hubofallthings.myProject">
/>​
github