INTRODUCTION

Here is a small application for Android smartphones / tablets, developed in Java on Android Studio by Christophe Leblanc, in 2015, as part of personal studies on application development for Android. The code has been revised in 2019 to add some comments.

This very minimalist application makes it possible to calculate the hypotenuse of a right triangle by using the Pythagorean theorem. It is very useful for arranging different elements perpendicularly on building sites ;).

This is an application of just 70 lines of code (in the "MainActivity" class) that can be used as a "template" for other Android Studio projects or as an example for beginners.

It is distributed as is, without any license or restriction. You can edit and redistribute it as you like.

This app is not available on the PlayStore. To install it on your smartphone or tablet, you must use Android-Studio and transfer the application with ADB (Android Debug Bridge).


For English speaking readers: the strings contained in this app are in French, but the comments are in English.

DOWNLOAD

Creative Commons License

This document by Christophe Leblanc is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.