Git Product home page Git Product logo

appia's Introduction

appia demo

Android app to demonstrate basic Appia API usage.

Specifications / Requirements

Create an Android app that consists of two screens. The first screen contains a scrolling list of products, which uses the Appia Ads API as the datasource. In this first screen, each item should display at least name, thumbnail, rating of the product. When the user clicks on one of the items, it brings the user to the second screen. The second screen should contain all pertinent information provided by the aforementioned API. Clicking the back button should bring the user back to the first screen.

  • This demo app requires that you add your own appia API id and password: Never share API passwords, ids, or keys publicly.

Built With

Instructions

This demo uses the Gradle build system.

  • Download the demo by cloning this repository.
  • In Android Studio, create a new project and choose the "Import Project" option.
  • Select the root directory that you downloaded with this repository.
  • If prompted for a gradle configuration, accept the default settings.
  • Alternatively use the gradlew build command to build the project directly.

This demo app requires that you add your own appia API id and password: Never share API passwords, ids, or keys publicly.

Get an appia API password and id

  • Create a file in the root directory called secure.properties (this file should NOT be under version control to protect your API credentials).
  • Add two lines to secure.properties that look like APPIA_API_PASSWORD="YOUR_API_PASSWORD" and APPIA_API_ID="YOUR_API_ID", where YOUR_API_PASSWORD and YOUR_API_ID are the API credentials obtained from your appia provider.
  • Build and run

Issues Encountered

  • Providing a method for 'injecting' the API PASSWORD and ID so the project could be shared publicly
  • Use of the DataBinding Library can often require to rebuild the project in order to generate Implementation classes.

Author

  • James Campbell - Senior Android Engineer -

appia's People

Contributors

idevdroidapps avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.