Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lintangwisesa/android-app-inventor_favoriot-api
A simple Android MIT App Inventor using Favoriot API
https://github.com/lintangwisesa/android-app-inventor_favoriot-api
favoriot mit-app-inventor
Last synced: 2 days ago
JSON representation
A simple Android MIT App Inventor using Favoriot API
- Host: GitHub
- URL: https://github.com/lintangwisesa/android-app-inventor_favoriot-api
- Owner: LintangWisesa
- Created: 2019-06-24T08:57:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-25T21:14:48.000Z (over 5 years ago)
- Last Synced: 2024-11-11T00:41:43.316Z (2 months ago)
- Topics: favoriot, mit-app-inventor
- Homepage: https://www.youtube.com/watch?v=pFlpfQpe6vI
- Size: 1.09 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![simplinnovation](https://4.bp.blogspot.com/-f7YxPyqHAzY/WJ6VnkvE0SI/AAAAAAAADTQ/0tDQPTrVrtMAFT-q-1-3ktUQT5Il9FGdQCLcB/s350/simpLINnovation1a.png)
# Android MIT App Inventor & Favoriot API
[![Video Lintang](https://img.youtube.com/vi/pFlpfQpe6vI/0.jpg)](https://www.youtube.com/watch?v=pFlpfQpe6vI)
1. This repo contains the App Inventor source of this project (__.aia__ file), simply download or clone this repo:
```bash
$ git clone https://github.com/LintangWisesa/Android-App-Inventor_Favoriot-API.git
```#
2. With your Google account, login to [__MIT App Inventor__](http://ai2.appinventor.mit.edu). Under __Projects__ menu, choose __Import project (.aia) from my computer__ then upload the __.aia__ file from this repo.
![import](./import.png)
#
3. On its __Designer__ section, I use several components such as:
- __Label__ (_User Interface_)
- __Textbox__ (_User Interface_)
- __Button__ (_User Interface_)
- __Notifier__ (_User Interface_)
- __Web__ (_Connectivity_)![design](./design.png)
#
4. Here is the block code for GET & POST button on __Blocks__ section:
- __GET button__ block code:
![get](./get.png)
*__Notes:__*
- Insert your Favoriot's __device developer ID__ & __account name__ to the URL: _https://api.favoriot.com/v1/streams?device_developer_id=yourDevice@yourAccount&max=1&order=DESC_.
- Insert your Favoriot's __API Key__ into the request header.#
- __POST button__ block code:
![post](./post.png)
*__Notes:__*
- Set the URL to: _https://api.favoriot.com/v1/streams_.
- Insert your Favoriot's __API Key__ into the request header.#
5. Build the __.apk__ file. From __Build__ menu, choose one: __App (provide QR code for .apk)__ or __App (save .apk to my computer)__. Download & install it on your Android phone. Enjoy the app! 😎👌
#
#### Lintang Wisesa :love_letter: [email protected]_
[Facebook](https://www.facebook.com/lintangbagus) |
[Twitter](https://twitter.com/Lintang_Wisesa) |
[Google+](https://plus.google.com/u/0/+LintangWisesa1) |
[Youtube](https://www.youtube.com/user/lintangbagus) |
:octocat: [GitHub](https://github.com/LintangWisesa) |
[Hackster](https://www.hackster.io/lintangwisesa)