-
Notifications
You must be signed in to change notification settings - Fork 13
API Libraries
Here you can download the APIs that will enable your application to fling content to a large display connected to a flint receiver device. Flint provides developers both sender SDK and receiver SDK. Sender SDK will be provided on multiple platforms including HTML5, Android, iOS etc., and Receiver SDK is provided on Firefox OS in JavaScript.
-
Web Sender API: Web Sender API is available for Firefox OS 2.2, Please download flint_sender_sdk.js and add it in your Firefox OS app.
-
Android Sender API
- Git Clone the Flint Android Sender SDK project
- Add the flint-android-sender-sdk, v7-appcompat and v7-mediarouter library to your project. For setup instructions, read Android Support Library Setup and be sure you follow the section about Adding libraries with resources.
-
iOS Sender API
- To set up your iOS project, download the iOS Sender API library
- Unzip the API package, then add to your iOS project
- Supports iOS version 6 and later
- Flint Receiver API
- Just include the JavaScript libraries URL into your receiver apps.
<script src="//openflint.github.io/flint-web-sdk/out/flint_receiver_sdk.js"></script> <script src="//openflint.github.io/flint-web-sdk/out/libs/mediaplayer.js"></script>
The reference provides API documentation for two types of applications:
- A sender application that manages the user interaction with the content.
- A receiver application that runs in the devices with Flint Service.
For sender apps, Flint supports development for the Android, iOS and HTML5 with the following documentation.
The receiver app is an web application running on the receiver device. The API is documented here:
-
Flint Player: The default receiver media player provided by openflint team
- Author: openflint
- Project: https://github.com/openflint/flint-player
-
Android Dice Game Demo: Shaking your phone to roll the dice on the big screen
- Author: wangxianfeng
- Project: https://github.com/openflint/dice-game-demo
-
Android Simple Play Demo: The simplest video player using Flint SDK
- Author: weigesang
- Project: https://github.com/openflint/simple-player-demo
-
Android Fling Video Sample: A full function video player sample app
- Author: weigesang
- Project: http://github.com/openflint/fling_videos_sender_android
-
Android Camera Sharing: To share Android phone webcam to Matchstick dongle with WebRTC technology
- Author: toandrew
- Project: https://github.com/openflint/android-webrtc-demo
-
iOS Fling Video Sample: A full function video player sample app
- Author: tannyowen
- Project: http://github.com/openflint/fling_videos_sender_ios
-
Web Face Mask Game: To show how face detection working with Matchstick
- Author: tianye
- Project: https://github.com/openflint/web-face-mask-game-demo
-
Camera Sharing: To share Firefox OS phone webcam to the Matchstick dongle with WebRTC technology
- Author: jianglu
- Project: https://github.com/openflint/camera-sharing
-
FlintXBMC: FlintXBMC is based on Kodi with Flint SDK integrated
- Author: wudongyang
- Project: https://github.com/wudongyang/flintxbmc
-
Video Streaming for Firefox OS
- Author: fabricedesre
- Project: https://github.com/fabricedesre/matchstick
Contact: info@openflint.org
Google Groups: https://groups.google.com/forum/#!forum/openflint
-
Flint
- [Developer's Guide](Developer Guide for Flint)
- [Web Sender Apps](Web Sender App Development)
- [Android Sender Apps](Android Sender App Development)
- [iOS Sender Apps](iOS Sender App Development)
- [Receiver Apps](Receiver Apps Development)
- Chromecast App Porting
- [API Libraries](API Libraries)
- [Flint Protocol Docs](Flint Protocol Docs)
- [Developer's Guide](Developer Guide for Flint)
-
Matchstick
- [Flashing Instructions](Flashing Instructions for Matchstick)
- [Build Your Matchstick](Build Your Matchstick)
- [Flashing Your Build](Flashing Your Build)
- [Setup Your Matchstick](Setup Your Matchstick)
- [Setup USB Mode](Setup USB Mode for Matchstick)
- [Supported Media](Supported Media for Matchstick)