Giter VIP home page Giter VIP logo

blackbox's Introduction

blackbox

blackbox is the android application to take video records while driving

  • recording normal videos into today folder with start/stop button and auto start function
  • when event button touched, make separate video with multiple camera snapshots, event video file contains GPS info in file name
  • provides small monitor screen
  • show car speed, and direction
  • remove old normal video recording automatically if remaining space is small
  • provides big home widget for easy launch

Screenshots and How to operate

Main Screen

  • Display event record counts
  • Display current date/time
  • Display preview screen
  • Display Compass
  • Display current speed in Kilometer
  • Start/Stop recording button
  • Emergency Recoding button (with audio)
  • Pause button
  • Exit button


            

Home Widget

  • Display event record counts (if none shows "ready")
  • Display time in every 30 minutes
  • Use to load application quickly


            

Permission Required

    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

Comments

Coded by

What I learned in this application

  • Google GoogleApiClient
  • onKeyDown : to accept bluetooth remote control
  • AsyncTask : to merge mp4 files in separate task (normal saving and event saving) while recording
  • SoundPool : to beep in some activities
  • FragmentCompat.OnRequestPermissionsResultCallback camera.open, release power cable connection status
  • MediaRecorder : recording, MEDIA_RECORDER_INFO_NEXT_OUTPUT_FILE_STARTED
  • CameraDevice : supports MediaRecorder, Preview Screen, Screen shot simultaniously
  • OBDII : access car bluetooth device

Updates / Changes

  • 2021.05.05 : androidx applied, capture imageshot
  • 2019.02.09 : README.md fully revised

Issues not fixed yet

  • Unexpected shut down sometime (untracable), sorry :-p

Thanks all persons in GitHub for good examples.

blackbox's People

Contributors

riopapa avatar

Watchers

 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.