How to make Simple Music Player in Android Studio

Step by step tutorial how to create a simple Music Player on Android Studio 3.3.1. Create new project with Application name: Simple music player; Minimum SDK: API 15 – Android 4.0.3 (IceCreamSandwich). In app->res->layout-> create New Directory: raw and...

How to generate random number in Android Studio

Tutorial how to generate random number between 0 and 99 in Android Studio 3.3.1. Create new project with minimum SDK: API 15 – Android 4.0.3 (IceCreamSandwich). In app->res->layout->activity_main.xml write the code: <?xml version="1.0"...

Tutorial How to Move Two Images in Android Studio

Move two pictures anywhere on the touch screen by tapping and dragging, with touch events in Android. Create new project with Application name: Move pictures; Minimum SDK: API 21 – Android 5.0 (Lollipop). Add two picture (picture1.png, picture2.png) in...

Tutorial How to Move an Image in Android Studio

Move a picture anywhere on the touch screen by tapping and dragging, with touch events in Android. Create new project with Application name: Move Image; Minimum SDK: API 27 – Android 8.1 (Oreo). Add a picture (picture.png) in res->drawable folder. In...

Tutorial How To Play Sound from PC in Android Studio

Easy tutorial how to play your sound from pc, offline, in Android Studio, using MediaPlayer. Create new project with Application name: Play sound; Minimum SDK: API 21 – Android 5 (Lollipop). In app->res->layout-> create New Directory: raw and copy-paste a...

Tutorial How To Play Video from PC in Android Studio

Easy tutorial how to play your video from pc, offline, in Android Studio version 3.1.3, using MediaController widget. Create new project with Application name: My video; Minimum SDK: API 14 – Android 4 (IceCreamSandwich). In app->res->layout-> create New...