Skip to content

Releases: openxc/openxc-android

v6.1.4

27 Jul 03:26
v6.1.4
Compare
Choose a tag to compare
Fix version on Bintray.

v6.0.6

24 Jan 21:24
v6.0.6
Compare
Choose a tag to compare
  • Fix: Protect against crashes in the activity using a fragment disappears. (#215,
    #217)
  • Update Bugsnag library to latest release.

v6.0.5

03 Jan 17:17
v6.0.5
Compare
Choose a tag to compare
  • Fix: Explicitly specify signing algorithm when building release APK files to
    fix installation on Android 4.3 and earlier (#210).

v6.0.4

31 Dec 04:45
v6.0.4
Compare
Choose a tag to compare
  • Fix: Use proper initialization of an explicit intent to start and bind to the
    VehicleService. This fixes data received by third-party OpenXC apps (i.e.
    everything besides the Enabler, doh!) and also allows the app to run in
    Android 5.0 (#213).
  • Fix: Timestamps in trace files are now respected, so playback is close-ish to
    the same cadence as the messages happened (#214).
  • Fix: Watch out for null pointers in a few places, caught with crash reporting.
  • Fix: Properly put service in background/foreground when a trace file restarts
    playback (#212).

v6.0.3

20 Nov 03:00
v6.0.3
Compare
Choose a tag to compare
  • Improvement: Use an explicit intent to start services to avoid a security
    hole.
  • Fix: Guard against a race condition when querying for an active VI.
  • Fix: Gaurd against missing timestamp when rendering diagnostic messages.

v6.0.2

17 Nov 01:57
v6.0.2
Compare
Choose a tag to compare

Fix Enabler AndroidManifest.

Redesign of Enabler app and major refactor of messages inside library

15 Nov 17:42
v6.0.0
Compare
Choose a tag to compare

This release requires a VI that speaks v0.4.0 of the OpenXC message format.

The attached APK file for the Enabler is built directly from this code base with one addition - it includes a token for authenticating with Bugsnag so the OpenXC developers can track unexpected errors and crashes. If you do not wish to report crash information, please build the app from the open source codebase.

  • BREAKING: Refactor RawMeasurement class into more useful message types in the
    openxc.messages package, all based on a VehicleMessage. This requires
    updates to all code that uses the VehicleManager.
    • Renamed addVehicleInterface -> setVehicleInterface, only allow 1 VI at
      a time.
    • getSourceSummaries and getSinkSummaries are removed in favor of
      getActiveVehicleInterface.
  • BREAKING: Classes implemeting VehicleInterface must now implement an
    isConnected() method.
  • BREAKING: Increase minimum Android API version from 8 to 9.
  • BREAKING: Refactor VehicleManager's API for retrieving the active vehicle
    interface.
  • BREAKING: Limit the VehicleManager (and Enabler) to only 1 active VI at at
    time, making the API and UI much more clear. Because of this change, the USB
    VI is no longer enabled by default - it must be explicitly selected.
  • BREAKING: MockedLocationSink is renamed to VehicleLocationProvider, and it
    no longer implements VehicleDataSink. It is simply a VehicleMessage
    receiver and is instantiate explicitly in the VehicleManager.
  • BREAKING: Message listeners will no longer receive the last known value of the
    message when they register. The complexity of maintaining this was not worth
    it since there is a synchronous API you can get to get the current value on
    startup anyway.
  • Feature: Support sending diagnostic requests to a VI.
  • Feature: Support receiving diagnostic responses from a VI.
  • Feature: Add new KeyMatcher class to support matching multiple types of
    messages from VI with a single handler.
  • Feature: Redesign Enabler UI for clarity and add new swipeable view panels
    • Dynamically list all received simple vehicle messages in Enabler
      instead of hard-coding a subset. Supports anything being sent by the VI with
      a name and value.
    • View a list of all received CAN messages, with timestamp, ID and data.
    • Send an arbitrary CAN message.
    • Send a diagnostic request.
    • View diagnostic responses.
  • Improvement: Add full support for receiving and sending protobuf encoded
    messages to a VI (although the vi-firmware does not yet have full support
    for receiving commands encoded as protobufs, see
    vi-firmware#313.
  • Improvement: Use Gson for JSON (de)serialization to greatly decrease code
    complexity in exchange for a small performance hit.
  • Improvement: Use message injection instead of trace file playback in test
    suite for quicker, more reliable tests.
  • Improvement: Only attempt to send commands to a VI if it claims to be
    connected.
  • Improvement: Don't display Android's GPS location in Enabler to avoid battery
    drain.
  • Improvement: Use more standard icons to show vehicle interface connectivity in
    Enabler, and include multiple resolutions for high-DPI displays.
  • Improvement: Switch from Crashlytics to Bugsnag for crash reporting as it
    doesn't require an Eclipse plugin to get going.
  • Improvement: If native GPS overwriting is disabled, fully disable the vehicle
    location provider instead of just leaving it on.
  • Improvement: If native GPS injection is enabled, only register for GPS updates
    from the phone if connected to a vehicle interface. If not connected, don't
    keep GPS alive to avoid battery drain.
  • Improvement: Greatly increase unit test coverage, from 8% to 57%.
  • Improvement: Add a callback for VehicleDataSource instances registered with
    the VehicleManager to be notified when the pipeline is activated or
    deactivated.
  • Fix: Warning displayed properly when remote vehicle service is not running.

v6.0.0-alpha1

08 Sep 13:44
v6.0.0-alpha1
Compare
Choose a tag to compare
v6.0.0-alpha1 Pre-release
Pre-release

This is an alpha release of v6.0.0 of the Android library and Enabler app. The documentation is not up to date, this release is primarily to have others test the Enabler and make sure it works as expected on a variety of devices.

v5.3.2 - Restored compatibility with openxc-vehicle-simulator

24 May 02:33
Compare
Choose a tag to compare
  • Be less strict about incoming JSON messages (allow whitespace).

v5.3.1 - Support VI firmware v6.x output format, better Bluetooth support

29 Apr 04:59
Compare
Choose a tag to compare

v5.3.1

  • Improve reliability of automatic Bluetooth device detection and decrease the
    impact on battery life.
  • Listen for Bluetooth VIs that initiate a new connection to avoid polling.
    Uncheck the "use polling" option in the Enabler if you have a new Ford
    Reference VI with a big "OpenXC" sticker on it, as this version is capable of
    initiating the Bluetooth connection on wakeup.

v5.3

  • Automatically discover, initiate pairing and connect to Bluetooth-enabled
    OpenXC vehicle interfaces.