GithubHelp home page GithubHelp logo

billhibazzz / streamhub-android-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samsung-shv-e160/streamhub-android-sdk

1.0 2.0 0.0 3.05 MB

Make Android apps powered by Livefyre StreamHub

License: MIT License

Java 100.00%

streamhub-android-sdk's Introduction

StreamHub-Android-SDK

Make Android apps powered by Livefyre StreamHub

Read the docs: http://livefyre.github.com/StreamHub-Android-SDK/

This StreamHub-Android-SDK can be used for both Eclipse and Android Studio

Steps to use in Eclipse:

Get the fresh StreamHub-Android-SDK from Github

  1. Start with an existing project or create a new one

  2. To import StreamHub-Android-SDK into your workspace go to: File > Import Project > General > Existing Project into Workspace

  3. Browse and select StreamHub-Android-SDK; it should now show in the package explorer

  4. Right click on your project and select properties then select Android tab

  5. Under the Library section, select Add button then select StreamHub-Android-SDK from the list of libraries

  6. Click on Apply and OK.


Steps to use in Android Studio:

Get the fresh StreamHub-Android-SDK from Github

  1. Start with an existing project or create a new one

  2. Right click on your project and select 'Open Module Settings'

  3. Select the '+' button on the top left corner of window

  4. Select "Import Existing Module"

  5. Browse and select StreamHub-Android-SDK

  • Android Studio may request to convert the SDK to gradle version; if this occurs, select next and finish
  1. Add the following dependency by going to project folder -> "app" folder -> "build.gradle" file under dependencies as follows:
dependencies {
  compile project(':streamHubAndroidSDK')
}

Make sure that the following line is in your project folder -> settings.gradle file

include ':streamHubAndroidSDK'

Note: You can customize configurations from within Config.java.

Sample App

SDK Client Classes

The StreamHub Android SDK exposes several Client classes that can be used to request StreamHub APIs.

  • AdminClient - Exchange a user authentication token for user information, keys, and other metadata

  • BootstrapClient - Get recent Content and metadata about a particular Collection

  • StreamClient - Poll a stream for a collection to retrieve new, updated, and deleted content

  • WriteClient - Post content, flag content, like content in a collection

License

Copyright 2013 Livefyre Inc.

Licensed under the MIT License

streamhub-android-sdk's People

Contributors

ross-pfahler avatar jjjjw avatar gobengo avatar

Stargazers

 avatar

Watchers

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