GithubHelp home page GithubHelp logo

bundie1990 / api-example-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brandall76/api-example-app

0.0 1.0 1.0 84 KB

Saiy Android API Example App

License: GNU Affero General Public License v3.0

Java 100.00%

api-example-app's Introduction

Saiy® API Example App

This application demonstrates methods Saiy exposes in order to allow developers of other Android applications to use features of Saiy.

Installation

The project is built using Java 7 - Android SDK (API 26 - Min 16)

In Android studio, import as a new project from version control from the downloadable zip.

There is a direct dependency to the Saiy Library project. Once that project has compiled you'll need to add the generated aar file as a module to the main project, as described here.

License & Copyright

The project is licensed under the GNU Affero General Public License V3. This is a copyleft license. See LICENSE

The license grant is not for Saiy's trademarks, which include the logo designs. Saiy reserves all trademark and copyright rights in and to all Saiy trademarks.

Copyright © 2017 Saiy® Ltd.

Contributor License Agreements

I need to clarify the most appropriate for the GNU Affero General Public License - will revisit very soon. Any suggestions welcome.

Providers

Usage Examples

Basic Fragment

Here you can choose from the available providers for Text to Speech, Speech to Text and your NLP backend.

To test almost all of these providers, you will need to enter your related credentials in the SaiyConfiguration class. Only store them here for testing purposes. As you would expect, you'll also need to create your own project for any NLP cloud provider you wish to use.

I hope it goes without saying that any keys or secrets sent via Saiy to connect to an external API, will be disposed of immediately after the request and never stored.

Demo Fragment

Here you can register a specific command to the main Saiy Application, which will be forwarded directly to your app to process. Think of it as registering a voice intent. The example given is how Spotify would register commands.

Interaction Fragment

Here you can see how user interaction undertaken via Saiy, can be used by your app to create an interactive experience.

Further Examples

Once you get to grips with the above and have created a half decent NLP backend (which won't take long), you'll be able to handle your users asking FAQs via Saiy, instead of reading through a mass of information. By giving Saiy your custom context on each request, such as 'FragmentShare', it will be easy for you to process your user asking 'Where is the option for Instagram?' and allow Saiy to inform them 'that it will be available in the next release'. You get the idea...

Additionally, you could construct a voice tutorial, or ask them which theme they prefer etc etc - all of which will keep them engaged.

Troubleshooting

Please use the Stack Overflow tag for compiling related questions and errors.

For code issues and crashes, please open an issue.

For discussion, please use the XDA development thread for now.

api-example-app's People

Contributors

brandall76 avatar

Watchers

 avatar

Forkers

stevesum

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.