Skip to content

It's a mobile application in Kotlin through Android Studio that allows the simulation of the mechanical movement of a spring attached to a mass.

Notifications You must be signed in to change notification settings

raynaldlao/Spring_Mass_Simulation

Repository files navigation

Spring Mass Simulation

This is a mobile application developed in Kotlin using Android Studio. It simulates the mechanical movement of a spring attached to a mass.

Important files

Here are some important files that you need to check out :

  • MainActivity.kt : This file contains the program that makes the application work. The file is located at : Spring_Mass_Simulation\Spring_Mass_Simulation_Kotlin\app\src\main\java\com\example\spring_mass_simulation_kotlin\MainActivity.kt

  • activity_main.xml : This file contains the interface that makes the application work. The file is located at : Spring_Mass_Simulation\Spring_Mass_Simulation_Kotlin\app\src\main\res\layout\activity_main.xml

  • drawable : This folder contains pictures and XML files used for activity_main.xml. The folder is located at : Spring_Mass_Simulation\Spring_Mass_Simulation_Kotlin\app\src\main\res\drawable

  • raw : This folder contains the MP3 file for the button click sound. The folder is located at : Spring_Mass_Simulation\Spring_Mass_Simulation_Kotlin\app\src\main\res\raw

Create device

I use the Pixel 2 API 30, with a size of 5.0", and a resolution of 1080x1920.

icon.png

You can use this picture to change the icon of the application. You just need to follow this tutorial : https://developer.android.com/codelabs/basic-android-kotlin-training-change-app-icon#0

Results

About

It's a mobile application in Kotlin through Android Studio that allows the simulation of the mechanical movement of a spring attached to a mass.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages