Giter Site home page Giter Site logo

ethanifier-android's Introduction

ethanifier for android

Ethanifier is an application that allows anyone to see your presence in Slack and message you

Getting Started

Fork or clone the repository

git clone https://github.com/juliangarritano/ethanifier-android.git

Sign up for a free app token on SupportKit.io

Set up a Slack integration in the app you just created (this is how you'll talk to people)

Open the project you just cloned in Android Studio (Open an existing Android Studio project)

Copy and paste the app token into the EthanifierApplication.java file in the Ethanifier project. You'll want to replace the token in the init call with your own token.

Slack Presence

This flavour of Ethanifier includes Slack presence, so your users can see if you're online or not.

To set this up, you'll need a secure web app to store your Slack credentials

Worry not! I've created a button that will automatically deploy a copy of this application to Heroku for you at the click of a button

To find your Slack credentials, go here

Click on your @username, and press Test Method

You will want to note the token and user generated in the URL Slack provides.

Slack Credentials

To deploy your web app, click this handy button below

Deploy

Once you've created an account and deployed your application, you'll want to configure it with your Slack credentials

Click on the Manage App button

Manage App

Go to Settings and click Reveal Config Variables

Create two configuration variables, SLACK_USER_ID and SLACK_AUTH_TOKEN

Paste the credentials that were generated from Slack above.

Config Variables

That's it! You now have your very own web application.

Finishing touches

Copy your heroku app domain (located in the settings screen, should be something like [your_app_name].herokuapp.com)

In MainActivity.java of the Android application, paste your domain name in the apiEndpoint variable:

private final String apiEndpoint = "https://ethanifier.herokuapp.com";

That's it! You should now have your very own copy of Ethanifier working. Give it a try.

Adding push notifications and more features

Take a look at the SupportKit docs to learn more about the library I used to implement the messaging functionality. It contains many more features that are really handy for any app you might be working on.

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.