Project: Netwerk & hardware belasting

Overview

Project: Netwerk & hardware belasting

De applicatie probeert op een representatieve wijze gegevens te verzamelen in de netwerkcommunicatie. Er werd gebruikgemaakt van drie verschillende WeatherAPIs en van de Google Maps API omdat de toepassingen populair zijn in de ontwikkeling van applicaties. In de applicatie zijn vele verschillende werkingen getest of geëxperimenteerd, en is het mogelijk dat sommige code niet relevant meer is voor de huidige werking. De hardware belasting zal worden gemeten met de profiler tools en de meerwaarde in netwerkcommunicatie via testen.

Uiteindelijk wordt om accurate gegevens de applicatie opgesplist in meerdere applicaties waarbij deze de coroutines bevat. Dit voorkomt dat de data deels beïnvloedt wordt derden.

Deze publieke repository is enkel bruikbaar nadat de API sleutels vervangen worden.

API KEYS

Voor het vervangen van de sleutels moet telkens in de ViewModel strings een persoonlijk aangemaakte key ingegeven worden. Maak voor elk van de Weather APIs via de algemene site een account en sleutel aan:

  • openweather
  • weatherapi

Voor google maps moet deze tutorial gevolgd worden voor het verkrijgen van een sleutel: https://developers.google.com/maps/documentation/maps-static/get-api-key

TODO - planning

Werking huidige applicatie

WeatherAPIs

De app kan navigeren naar twee verschillende fragmenten die gebruikmaken van een viewmodel. De NetworkCallragment probeert data op te halen uit drie verschillende API calls zonder coroutines en vult de livedata op. Het andere fragment heeft dezelfde werking maar maakt gebruik van coroutines. Deze API requests werden meerdere malen gestuurd en in verschillende coroutinescopes getest.

De testen berekenen de totale executie tijd van het ophalen van data voor zowel de werkwijze met als zonder coroutine.

Google Maps API

Wanneer Google Maps wordt geopend in de applicatie, probeert het systeem de locatie van de gebruiker op te halen. Als het systeem de locatie heeft opgehaald, zal de markeerstip wijzigen.

De visuele UI testen berekenen hoeveel tijd nodig is om Google Maps te openen, de locatie van de gebruiker op te vragen en ten slotte de coördinaten te wijzigen.

You might also like...
TheMovies 🎬 A demo project for The Movie DB based on Kotlin MVVM architecture and material design & animations.
TheMovies 🎬 A demo project for The Movie DB based on Kotlin MVVM architecture and material design & animations.

A simple project for The Movie DB based on Kotlin MVVM clean architecture and material design & animations. How to build on your environment

Android Project to find FatMax in real time with a Polar H10
Android Project to find FatMax in real time with a Polar H10

FatMaxxer According to recent research (see below) the FatMaxxer Android app may help you to exercise at the optimum effort level for fat burning, mea

A project that showcases best practices for MAD (Modern Android Development).

MAD Dictionary Is this dictionary mad? Well yes, but actually no. MAD = Modern Android Development, this app is built using the very new and very awes

This project is basically PowerNukkit but just in Kotlin (check out the original PowerNukkit source here: https://github.com/PowerNukkit/PowerNukkit)
This project is basically PowerNukkit but just in Kotlin (check out the original PowerNukkit source here: https://github.com/PowerNukkit/PowerNukkit)

Introduction Nukkit is nuclear-powered server software for Minecraft: Pocket Edition. It has a few key advantages over other server software: Written

This is a Ktor project to build your own Url shortener
This is a Ktor project to build your own Url shortener

Ktor URL Shortner This project is a implementation for creating Short URL using Ktor + Kotlin + MongoDB Usage It contains two routes if you want to im

A learning project which focuses on designing an OTP flow and use of various components of Android efficiently
A learning project which focuses on designing an OTP flow and use of various components of Android efficiently

Otp Demo A learning project which focuses on designing an OTP flow using Firebase. Article: https://saurabhpant.medium.com/otp-login-using-firebase-hi

An example project for configuring Rust with Java 18's Panama/jextract

rust-panama A template project for setting up both Rust and the Java 18 Panama Foreign Linker API (via jextract). How to Setup Clone the repo. Modify

A "must-have a look" project for newcomers in android.

PracticeApp Helping the Newbies This app is made with a purpose to help newbies understand core concepts of Android Development. There are very limite

Sample Social Login Project of Spring Boot and Kotlin

Sample-Spring-Boot-Social-Kotlin Sample Social Login Project of Spring Boot and Kotlin dependencies dependencies { implementation("org.springframewor

Owner
Thibault Helderweirt
Thibault Helderweirt
Basic-Android-Project - A Basic Android Project with proper structure and all necessary dependencies

Basic-Android-Project A Basic Android Project with proper structure and all nece

Ameer Hamza 2 Mar 18, 2022
A project that helps us generate the test project to test the Gradle plugin.

Ktlint Gradle Provides the function to generate a Gradle project for us to test your Gradle plugin Latest plugin version: [1.0.0] Table of content How

Jack Chen 5 Jul 20, 2022
It is a project that contains lessons and examples about Kotlin programming language. 🇰

Kotlin Tutorials What is Kotlin? I added the platforms it supports and great resources. You can access the article from the link below: https://medium

Halil Özel 94 Dec 22, 2022
This is a first kotlin project

SmallPocket This is a first kotlin app, help user to save links easily, and can export to Evernote as weekly. Steps: copy link anywhere open SmallPock

KotlinChina 31 Dec 17, 2022
Example of Android project showing integration with Kotlin and Dagger 2

kotlin-dagger-example This project demonstrate how to setup an Android Project with Kotlin and Dagger 2. It's based on Dagger 2 example ##Known issues

Damian Petla 533 Nov 11, 2022
Showcase project of Functional Reactive Programming on Android, using RxJava.

FunctionalAndroidReference FunctionalAndroidReference is a showcase project of Functional Reactive Programming on Android, using RxJava. It's a compan

Paco 278 Nov 18, 2022
A simple store project that includes a list of products, search on products, details of the product, and review submission.

AdidasTest A simple store project that includes a list of products, search on products, details of the product, and review submission. Summary Technol

Mohammad 5 May 8, 2021
Mobile client for official Nextcloud News App written as Kotlin Multiplatform Project

Newsout Android and iOS mobile client for Nextcloud news App. The Android client is already available to download in the Play Store. F-Droid and Apple

Simon Schubert 118 Oct 3, 2022
A simple demo project based on MVVM clean architecture and material design & animations.

GithubFollows A simple demo project based on MVVM clean architecture and material design & animations. Architecture Specs & Open-source libraries Mini

Jaewoong Eum 288 Dec 25, 2022