How to add additional PHP versions to MAMP?

MAMP currently allows selection of the two latest versions of PHP, which at the time of writing this article are PHP version 8.0.1 and 8.1.0. But, very often PHP projects, like WordPress websites are built using older version of PHP and will not work with the latest versions of PHP. Check PHP version in MAMP … Read more

Loading

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

Loading

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

Loading

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

Loading

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

Loading

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

Loading

Change a User Profile Picture in WordPress using a Plugin

wordpress plugin directory

In WordPress there are many methods to change a user profile picture in WordPress. You can change the profile picture using the Gravatar service or using WordPress plugins. Gravatar is WordPress’s default service to display the user’s profile picture. But, I will show only the method using a WordPress plugin. In this article you will … Read more

Loading

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

Loading