GithubHelp home page GithubHelp logo

skattela / hellov2xworld-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vodafone/hellov2xworld-android

0.0 0.0 0.0 755 KB

This application allows developers to quickly learn how to use our V2X SDK. By cloning this simple application, you can see how easy it is to use our SDK to create a V2X mobile application.

License: MIT License

Java 100.00%

hellov2xworld-android's Introduction

HelloV2XWorld-Android

In this repository you can find an example of V2X application that shows how to use the V2X-SDK in a ready to use Android Application.

Description

The HelloV2XWorld application demonstrates how easy it is to create a V2X application and exchange V2X messages with other road users . This application is powered by the V2X-SDK and the STEP platform developed by Vodafone. By cloning this project, you will be able to create and execute your first V2X application in less than 15 minutes. The HelloV2XWorld application shows a map with all the road users close to your location. You can also use this application as a model to start developing your own application.

Getting Started

Prerequisites

  • Android Studio (2022.1.1 or upper) is already installed on your laptop.
  • A software able to open rar & zip archives is already installed on your laptop.
  • You have some experience in Android application development in Java using Android Studio.
  • You already created One virtual device in Android Studio (Android 8 or higher).
  • Your Internet connectivity is up and running.
  • You are available for 15 minutes.

Download the V2X-SDK library for Android

  • Register yourself on the STEP Web portal
    STEPWP_Signup_Annoted

  • Go to the STEP Web portal webpage and login.
    =>Enter your credentials
    STEPWP_Login1_Annoted
    =>Enter your pin Code
    STEPWP_Login2_annoted

  • Navigate to the page "Documentation" and select the "SDK documentation for Android" option.
    image

  • In the "SDK documentation for Android" page , click on the "Download SDK" button.
    image
    => Your browser downloads the archive "VodafoneV2X_Android_SDK.rar"

  • Open the archive, extract the V2X-SDK library file called "v2xsdk-release.aar" and save it on your laptop.

Download the Android V2X-SDK documentation

  • In the "SDK documentation for Android" page , click on the "Download documentation" button.
    image => Your browser downloads the archive "Android_V2X_SDK_Documentation_Vabc.zip"
  • Open the archive and save on your laptop the Javadoc and the user Guide

Clone the HelloV2XWorld Application

  • Open Android Studio.

  • Select "File" then "New" then "Project from Version Control".
    image
    => A window called "Get from Version Control" appears.

  • In the field version Control select the option "Git".

  • In the field URL set "https://github.com/Vodafone/HelloV2XWorld-Android.git".

  • Click on the "Clone" button.
    image

  • Wait until the completion of this operation.

Import the V2X-SDK library in your project

  • Copy the "v2xsdk-release.aar" file to the app/libs folder of your project.
    image

Build the HelloV2XWorld application

  • Click on "Build" then "Make Project" (or use the shortcut "Ctrl+F9").
    image

Run the HelloV2XWorld application on the virtual Android device

Please, be aware that the HelloV2XWorld application needs to access to your location , it's why it requests the Location Permission.

  • Select your virtual Device in Android Studio.
    image

  • Press the RUN button.
    image

  • Wait until the "Emulator - HelloV2XWorld" windows appears.
    image

  • Read the Term and Conditions, Scroll down and click on the "Accept" button.
    image

  • Provide the Location Permission to the HelloV2XWorld application
    image

  • A map is displayed centered on your current location
    image

  • The blue icon represents yourself

  • The red icons represent the other road users close to you
    image

  • When clicking on the blue icon, app displays you ITS information: StationID, StationType, Speed, Heading
    image

  • When clicking on any red icon, app displays you the CAM information: StationID, StationType, Speed, Heading
    image

  • You can change your station type by accessing the setting page
    image

Version History

  • 1.0.4.0
    • Initial Release

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Dependencies

  • org.osmdroid:osmdroid-android:6.1.14 / Apache Software License Version 2.0
  • com.google.code.gson:gson:2.10.1 / Apache 2.0
  • group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' / Apache 2.0
  • group: 'org.eclipse.paho', name: 'org.eclipse.paho.client.mqttv3', version: '1.2.5' / Eclipse Public License version 2.0
  • com.hivemq:hivemq-mqtt-client:1.3.0 / Apache 2.0
  • com.github.barteksc:android-pdf-viewer:3.2.0-beta.1 / Apache 2.0
  • com.jakewharton:process-phoenix:2.1.2 / Apache 2.0
  • pub.devrel:easypermissions:3.0.0 / Apache 2.0
  • androidx.appcompat:appcompat:1.6.1 / Apache 2.0
  • com.google.android.material:material:1.8.0 / Apache 2.0
  • androidx.constraintlayout:constraintlayout:2.1.4 / Apache 2.0
  • com.jakewharton.timber:timber:5.0.1 / Apache 2.0
  • junit:junit:4.13.2 / Eclipse Public License 1.0
  • androidx.test.ext:junit:1.1.5 / Apache 2.0
  • androidx.test.espresso:espresso-core:3.5.1 / Apache 2.0

hellov2xworld-android's People

Contributors

ackaidi avatar brian-burton avatar jl-descombes avatar varanita avatar vodabaptiste 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.