Code Monkey home page Code Monkey logo

android_tv_dpad_basic's Introduction

Android TV (with d'pad) Demo

A demonstration of a Flutter Android TV app , showing how the "d-pad" (Android remote) can be accessed.

To run

flutter run

How to deploy to Android TV

First Build the App Locally and Make It Available for Download

  1. Build an app that has the “d-pad” support (here is one I prepared earlier: https://github.com/cocreations/android_tv_dpad_basic)
  2. Use serve in the folder with the .apk so it’s available via port 80
  3. Use ngrok to get the location available on the internet
flutter build apk  
cd build/app/outputs/flutter-apk/
serve
ngrok http 5000   # this in another tab

Next Install the App on your Android TV

  1. Go into Apps, open the Google Play Store, and
  2. Install an app that will allow browsing to a URL (I found and recommend Downloader by AFTVnews)
  3. Go home, open Settings (cog icon) > Apps > Security & restrictions
  4. Untick Verify apps, choose Unknown sources, and allow the new Downloader by AFTVnews app to do this
  5. Go home, and run the Downloader by AFTVnews app, and type in the ngrok URL (eg. https://b3cdd4f102eb.ngrok.io/app-release.apk)
  6. Install and Open the app !

Want custom Androd TV or Mobile apps developed ?

CoCreations is a software house that works closely with you to develop unique and beautiful mobile apps and systems.

android_tv_dpad_basic's People

Contributors

krisrandall 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.