Skip to main content

Posts

Implementing Turn-by-Turn Navigation with the GraphHopper Routing Engine

 Introduction to Turn-by-Turn Navigation Turn-by-turn navigation is a feature that guides users through a journey step-by-step using voice or visual prompts. It is typically found in GPS navigation apps and can be used for driving, walking, and biking. When it comes to the actual implementation, turn-by-turn navigation utilizes several technologies such as GPS, maps, and routing algorithms to guide users along the best route to their destination. In this article, we will explore the implementation of turn-by-turn navigation using the GraphHopper library and OpenStreetMap data. Understanding the GraphHopper Routing Engine GraphHopper Routing Engine is an open-source routing library that allows developers to calculate efficient routes for various transportation modes, such as cars, bikes, and walking. It utilizes OpenStreetMap data to generate a routing graph, which is then used to calculate the fastest or shortest routes between two points. GraphHopper is written in Java and can be ...
Recent posts

Android application test automation

Test automation for mobile applications  In the mobile application development, testing plays the major role to ensure the quality.  The test automation process helps to speed up the testing process while doing the more regressions. In this article, we are going to see about the Appium test framework and how it is used to automate the Android application testing. What is Appium? Appium is an open-source framework that allows QAs to conduct automated app testing on different platforms like Android, iOS, and Windows. Appium frameworks allows to create a test scripts in different programming languages like Java,C,C#. Architecture Appium is a node.js webserver it contains the implementation of Selenium webdriver and REST API. Source:  nishantverma.gitbooks.io Appium client libraries Appium provides the client libraries in different programming languages. These client libraries are used in the test scripts to fire the test.  Appium client library communicates with the App...

How to create a Jenkins pipeline in multiple branches automatically?

Introduction In the modern CI/CD setup, we may require to create a Jenkins pipeline based on the branches which are available in the SCM (Source Code Management). For example, the developer needs a Jenkins pipeline for his own feature/bugfix branch which can build, test and prepare the code coverage report. Manually creating this Jenkins pipeline for the new branches is not an effective one. So, we need an automation, which should create the new Jenkins pipeline whenever the developer creates a new branch in SCM.  Jenkins Multibranch Pipeline The Multibranch Pipeline allow us to automatically create a pipeline for each branch on our Source Code Management (SCM) repository with the help of Jenkinsfile. How to setup Multibranch Pipeline in Jenkins Select New Item from Jenkins Dashboard Enter the project name in the Item name text box and select Multibranch Pipeline then click OK button. Select your version control software from the Build Source. Configure the SCM  Select t...

How to run Spring boot application in docker

Steps to run the springboot application in docker Step 1: Create Spring boot application and build Jar file Step 2: Create Dockerfile in the application root file Step 3: Add the following lines in Dockerfile FROM openjdk:8 COPY /target/*.jar app.jar ENTRYPOINT ["java","-jar","app.jar"] Step 4: Build the Docker image sudo docker build -t kavinduraisamy91/springboot-docker-sample . Step 5: Run the image sudo docker run -p 8080:40 -t kavinduraisamy91/springboot-docker-sample:latest

How to find the PORT is in use or not in linux

List all the PORTS whic are in use lsof -i -P -n |grep LISTEN  netstat -tulpn | grep LISTEN Check the specified port is in use or not lsof -i :80 | grep LISTEN It list the files opened in PORT 80

Gobichettipalayam - Kutti Kodambakkam

How to program ESP 8266 from Arduino

ESP 8266 is a tinny WiFi module, normally it requires the USB to serial converter to upload the programs. In this post we are going to see, how to program the ESP 8266 with out USB to serial converter. Here we are going to use the Arduino IDE and Arduino Uno board to program the tinny WiFi module. Hardwares required ESP 8266 - 01 Arduino Uno ESP demo board  (Optional) Jumper wires LED with Resistor (220 / 330 ohm) Softwares required Arduino IDE What is ESP demo board and why it is required ? As you aware the ESP 8266's operation voltage is 3.3V but the Arduino is working in 5V. So the direct connection of RX and TX PINS between the Arduino and ESP is not recommended. In some cases, It breaks the ESP, So we need to step down the 5V RX, TX PINS to 3.3V as well as for 5V power supply. The ready made ESP demo board offers this functionality to us. Otherwise we have to add the resistors  between the RX and TX to step down the voltage. How to con...