Git Product home page Git Product logo

acousticmonitoringapp's Introduction

AcousticMonitoringApp

Prerequisite

  1. Allow USB debugging on the device

Directions to start the app

  1. Install Nativescript.

  2. cd to the appication root directory "AudioMoth9"

  3. Run the following commands to install the required plug-ins:

     tns plugin add nativescript-task-dispatcher
     tns plugin add nativescript-dna-deviceinfo
     ns plugin add nativescript-audio
     tns plugin add nativescript-geolocation
    
  4. Run the following commands to install the app:

    ns clean
    ns run android
    

Access files (only works on some devices)

cd platform-tools 
adb shell
run-as org.nativescript.AudioMoth9 ls /data/user/0/org.nativescript.AudioMoth9/files 

If gradle error appears when running app:

  1. create new app
   ns create AudioMoth
  1. Copy the code in the following files in 'AudioMoth9':
  • home-view-model.ts
  • home-page.ts
  • AndroidManifest.xml
  1. Copy the tasks folder into your 'src' directory
  2. Navigate to the app.gradle file and change minSDK version to 21
  3. Install the same plug-ins as before

Improvements to be made

  • The start button is set to be disabled after it is clicked. Refreshing the app is required to start a new recording session, this is to avoid event collisions. We need to firgure out how to avoid event collisions when "start" is clicked
  • Audio permissions are requested at the start of the first recording, so we need to figure out how to explicitly ask the user for permissions at the same time as the others
  • Internal temperture sensor remains undetected (could be dependent on device)

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.