Git Product home page Git Product logo

sms-app-for-maptrip112's Introduction

SMS App For MapTrip112

SMS MapTrip112 is an app to start MapTrip from an incoming SMS. The app is based on the MapTrip API (MTI) and uses built-in mechanism from Android OS to listen to the incoming standard SMS. When a new SMS is received, the app gets a notification from the Android OS and parses the SMS. If the SMS contains information in one of the known formats, the application comes to the foreground and suggests to start navigation.

Preview

Building the project.

This project contains different build variants, make sure to use the "standardsms" variant. You can either download the project or create a pull requests, and open it in Android Studio. Now that you have the code base you can adjust the code if wanted, and create an APK or build it directly on your device.

Using the App

In order to use this application you will need to have MapTrip installed on your device as well. If you do not have MapTrip yet, do not hesitate to contact us. For demo purposes, the use case requires that your application is already running. Currently it is not possible to parse SMS when the application is not launched. As you are ready to go, just send a message related to your medium in one of the formats addressed below. Once a message arrives, the application will parse it and if the message matches given patters it will launch and display a notification to start a navigation to the destination. It is not required that MapTrip is already running, the app will care for it if not. Depending on the "SoSi" tag in your message, MapTrip will also use emergency routing. Received messages will be stored in a SQLite Database so you can always start a navigation again to the destination.

Preview of MapTrip using emergency routing

Supported Formats

Default SMS Format:

The message has the format of {LAT}, {LONG}

As optional parameters, SoSi and Free Text paramters are available:

  • {LAT}, {LONG}; SoSi
  • {LAT}, {LONG}; FreeText
  • {LAT}, {LONG}; SoSi; FreeText

Examples

  • 51.2123544, 6.12548543
  • 51.2123544, 6.12548543;SoSi
  • 51.2123544, 6.12548543;Zimmerbrand Musterstrasse 26 3:OG
  • 51.2123544, 6.12548543;SoSi;Zimmerbrand Musterstrasse 26 3:OG

sms-app-for-maptrip112's People

Contributors

jochenstappert avatar schultehillen avatar schumi09 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.