Git Product home page Git Product logo

android-obd-reader's Introduction

android-obd-reader

Android OBD-II reader designed to connect with Bluetooth Elm327 OBD reader.

I'm still migrating things over here, so keep with me :-)

Prerequisites

  • JDK 7
  • Android Studio 0.8.1
  • Gradle 1.12
  • Android SDK (API 19, Build tools 19.1)

Test with device

Be sure to have the device connected to your computer.

cd whatever_directory_you_cloned_this_repository
gradle clean build installDebug

Test with OBD Server

If you want to upload data to a server, for now, check the following:

  • OBD Server - a simple implementation of a RESTful app, compiled into a runnable JAR.
  • Enable the upload functionality, by defining private static final boolean UPLOAD = true; in MainActivity.java;
  • Set proper endpoint address and port in class UploadAsyncTask defined in MainActivity.java.

Tested on

  • Samsung Galaxy S4 (Android 4.4.2)

Changes in this Branch

  • introduced GPS information
  • introduced some of the missing connections between the preferences and the actual code
  • modified the way data is uploaded to the server:
    1. not every reading has long/lat and time. This is a waste of data upload. Data is compacted into a common structure and then it is uploaded in one go
  • taken care of cases where the server is not responding: created a local database where data is temporarily stored
  • the interface does not have a table with all data but a textview with only the current data: this is much easier to read
  • the font color has been changed to greyish to white (I could not read it)
  • the names of the views in the interface have now a positional name (row1_column2). This is because in the future it would be great to have the allocation of data flexible (so that you can change what is displayed where
  • other minor changes

Issues

The data displayed is wrong. This is not an issue with this branch. It is something that happens also in the original repository.

android-obd-reader's People

Contributors

adennie avatar bricelambi avatar fabcira avatar kuburoman avatar pires avatar spapas avatar

Stargazers

 avatar

Watchers

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