Java in Android Studio: Custom Toast Message

custom toast message in android using java

Today you will learn how to build a custom toast message in Android Studio, using Java language. Starting Project In an empty activity project, I name my project “MyCustomToastMessage” and choose Java for the programming language. For the Minimum API level, I leave it to API 15: Android 4.0.3 (IceCreamSandwich). After waiting for Gradle to … Read more

PHP in Visual Studio Code: Your first PHP project

php in visual studio code your first php project

In this tutorial you will start your first PHP project. I always use PHP in Visual Studio Code, so it is best if you use Visual Studio Code, as your coding editor. Preparing to Start First, we need to find the “htdocs” folder in the XAMPP installation (we use XAMPP, as our PHP environment). Usually, … Read more

PHP in Visual Studio Code: Starting with PHP language

php execution workflow

This video shows you the basics of the PHP scripting language. Basically, you will learn starting with PHP language.I use Visual Studio Code as my coding editor. What is PHP? So, what is PHP? PHP is a server-side scripting language, which means that it is executed on the server and not the client computer It … Read more

PHP in Visual Studio Code: Setup Debugging

setup debugging in php

This tutorial with show you how to setup debugging PHP in Visual Studio Code as the code editor. PHP executable not found error In the beginning I will also show you how to fix the Visual Studio Code “PHP executable not found” error! To fix it, you will need to find the PHP folder. Since … Read more

Android Studio: Sort Array Lists Using Comparable and Comparator interfaces

sort array lists in android studio

In this video we will see how to make an object comparable and sort array lists using the comparable and comparator interfaces. To make an object comparable, we need to implement either the comparable interface and implement the compareTo method, or use the Comparator interface and implement its compare method. In this video we work … Read more

Android Studio: Reduce and Compress Image Size in Android

Reduce and Compress Image Size in Android

This tutorial will show you how to reduce and compress image size in Android App, using Android Studio utilities. File size reduction is very important to reduce the overall size of an Android App. With the small size app, it ensures that it is downloaded much quicker and loads faster, while requiring less resources. Decreasing … Read more

Android Studio: How to Create a Pop Up Menu for Android App

Create a PopUp Menu for Your Android App

In this tutorial I will show you how to create a pop up menu for your Android App. We start by creating a new project in Android Studio. Make sure to choose Java for the programming language. The minimum API level will be API 15: Android 4.0.3 (IceCreamSandwich). Next, we add a button to the … Read more

Android Studio: Solving Calling startActivity() issue – from outside of an Activity context

Solving Calling startActivity() from outside of an Activity context issue

In the above video you will find – Solving Calling startActivity() from outside of an Activity context issue. While trying to open a browser intent (webpage), when clicking an item in the recycler view of my test app, I faced the following exception: Calling startActivity() from outside of an Activity context … In the video … Read more

Microsoft Access 2016: Create, encrypt and decrypt a database

Microsoft Access 2016: Create, encrypt and decrypt a database

In this tutorial you will learn how to create, encrypt and decrypt a database in Microsoft Access 2016. We first create the database and then add a table named ‘Users’.  We then add the columns, of which, the first one is the ID (autonumbered, long integer).  Then we create the ‘UserName’ column, that will hold … Read more