Git Product home page Git Product logo

betaflight-configurator-android's Introduction

Betaflight - Configurator for Android

GPL-3.0 license Built with Cordova Betaflight Configurator Version Status

This project uses Apache Cordova to build a version of the Betaflight Configurator to run on Android devices with USB On-The-Go (OTG) capabilities.

This Android version is only suitable for large device screens such as tablets in landscape mode.

This is a work-in-progress -- please be aware that functionality of the desktop Betaflight Configurator may not work as intended in this version.

Prerequisites

Build

git submodule update --init
npm install
./node_modules/gulp/bin/gulp.js www
cordova prepare
cordova build android --debug

This will generate the following Android APK file platforms/android/build/outputs/apk/armv7/debug/android-armv7-debug.apk

Debugging

  1. Connect the device via USB to your development machine.
  2. Open Chrome -> Developer Tools (F12) -> More tools -> Remove Devices.
  3. Under the development device, click the Inspect button on the WebView. Console logs will be visible in this session.

ADB

Android Debug Bridge (adb) is a command-line tool that lets you communicate with an Android device. It's particularly useful for quickly uploading and installing APK's to the device. adb is included in the Android SDK platform-tools package.

adb install -r platforms/android/build/outputs/apk/armv7/debug/android-armv7-debug.apk

Notes

  • _locales directory is renamed to i18n due to an Android issue with directories starting with underscores
  • TCP support tcp://[IP]:[PORT] has not been tested

Known issues

  • CLI output doesn't show all data when "dump" is requested
  • Firmware tab intentionally hidden

Roadmap

  • Propose changes to Betaflight Configurator HTML/CSS to be responsive for smaller screens
  • Revise serial support (e.g. create chrome.serial plugin for Cordova) to remove necessity to override Betaflight Configurator core JavaScript files in merges
  • iOS support using WiFi

betaflight-configurator-android's People

Contributors

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