A very simple app built with the Hover SDK
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Minor fix and added download listener Jan 2, 2019
gradle/wrapper initial commit Dec 5, 2018
.gitignore changes to gitignore Dec 5, 2018
README.md Update README.md Dec 5, 2018
build.gradle initial commit Dec 5, 2018
gradle.properties initial commit Dec 5, 2018
gradlew initial commit Dec 5, 2018
gradlew.bat initial commit Dec 5, 2018
settings.gradle initial commit Dec 5, 2018

README.md

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.