Giter VIP home page Giter VIP logo

hoverstarter's Introduction

HoverStarter

HoverStarter is a very simple Android app built with the Hover SDK. Use it as a starting point for your own code, or to troubleshoot setup and installation issues.

Prerequisites

  • A Hover account
  • Basic familiarity with GitHub and Android Studio

You can sign up for a Hover account for free if you don't already have one.

How to use HoverStarter

1) Configure a simple action

From your Hover dashboard, configure a simple test action. Check balance or check own phone number often work well. Save your action and note the action ID for use in step 3.

2) Create a new Android Studio project.

Clone this repository and import it into a new Android Studio project. In the app level build.gradle, change the applicationId from com.usehover.hoverstarter to a name of your choice, eg. com.yourname.hoverstarter.

Note: This will allow you to build the starter app quickly, but if you want to use this repository as the basis for a real app you should refactor to change the package name.

3) Create an app

From your Hover dashboard, create an app and give it a name of your choice, eg. "Hover Starter". Use the applicationId from step 2 as the package name. Save the app and note the API token.

In AndroidManifest.xml, replace "YOUR_API_KEY" with the token you just created. Then open MainActivity.java and add your action ID from step 1 to the onClickListener for action_button.

4) Build and run

Build and run the app. Tap the "REQUEST PERMISSIONS" button first and follow the prompts. Finally, tap the "RUN ACTION" button to run the test action.

hoverstarter's People

Contributors

davkutalek avatar thebenedict avatar

Watchers

James Cloos 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.