AJAX Structure with JQuery in JavaScript for Making a POST Call

AJAX Structure with JQuery in JavaScript for Making a POST Call

Tiempo de lectura: 2 minutos Photo by James Wheeler In this example, I’m going to show a basic structure for making a POST type AJAX request with jQuery in JavaScript. First, we define the parameters of the AJAX request. Here, we set the URL to which we’ll send the request, the type of request which will be POST, and the … Read more

AJAX Structure with JQuery in JavaScript for Making a GET Call

AJAX Structure with JQuery in JavaScript for Making a GET Call

Tiempo de lectura: 2 minutos Photo by Yaqui Zanni In this example, I’m going to show a basic structure for making a GET type AJAX request with jQuery in JavaScript. First, we define the parameters of the AJAX request. Here, we set the URL to which we’ll send the request, the type of request which will be GET, and the … Read more

Create Pagination Component for React

Create Pagination Component for React

Tiempo de lectura: 2 minutos Today I wanted to share a simple way to implement a pagination component using Material-UI in React. This component is useful when working with extensive lists, allowing navigation between different pages. First, we create the pagination component with its attributes so we can use it wherever we need it. import React from ‘react’; import Pagination … Read more

Resolve Android Studio Error ‘Cannot fit requested classes in a single dex file…’

Tiempo de lectura: < 1 minuto This error appears when trying to create a build (apk/aab) with Android Studio. To solve it, we have to go to the build.gradle of the app and add into defauldConfig: multiDexEnabled true Remaining as follows: android { defaultConfig { … multiDexEnabled true … } DevCodeLightdevcodelight.com

Fix error ‘Your advertising ID declaration in Play Console indicates that your application uses an advertising ID.’ in Google Play console when uploading an application.

Fix error ‘Your advertising ID declaration in Play Console indicates that your application uses an advertising ID.’ in Google Play console when uploading an application.

Tiempo de lectura: < 1 minuto Today we’re going to learn how to fix the error that appears on Google Play when uploading an update or a new app that contains advertising: “Your advertising ID declaration in Play Console indicates that your application uses an advertising ID. A manifest file of one of your active artifacts does not include the com.google.android.gms.permission.AD_ID … Read more

Create a Splash Screen in Android

Create a Splash Screen in Android

Tiempo de lectura: 2 minutos Create a splash screen ad in an Android application is a relatively simple process. Here, I provide you with a step-by-step tutorial using the Kotlin programming language and the Android Studio development environment. 1. Create a new project in Android Studio: Open Android Studio and select “New Project.” Complete the basic project setup. 2. Design … Read more

Fixing error Duplicate class com.google.android.gms.internal.measurement.zzhx found in modules jetified-play-services-measurement when updating Google Play Service Ads.

Fixing error Duplicate class com.google.android.gms.internal.measurement.zzhx found in modules jetified-play-services-measurement when updating Google Play Service Ads.

Tiempo de lectura: < 1 minuto   When updating the version of com.google.android.gms:play-services-ads: to 2.5.0, you may encounter the following error: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable > Duplicate class com.google.android.gms.internal.measurement.zzhx found in modules jetified-play-services-measurement-base-20.1.2-runtim … *Continues with more errors. The issue is that we also need to update the Firebase version. To update it, we should set the version 30.1.0 … Read more

Create a banner with AdMob on Android using Java or Kotlin

Create a banner with AdMob on Android using Java or Kotlin

Tiempo de lectura: 3 minutos Create a banner with AdMob in an Android application is a process that involves several steps. Below, I will provide you with a basic step-by-step tutorial using Java or Kotlin and the AdMob SDK. Step 1: AdMob Configuration Create an AdMob account: If you don’t have an AdMob account yet, go to AdMob and sign … Read more

How to clear Docker build cache

How to clear Docker build cache

Tiempo de lectura: < 1 minuto To maintain our Docker system, we need to consider that the Build cache can fill up with unused data. In this case, we have 31.24 Gigabytes of cache. To remove it, we’ll need to use the following command: docker builder prune -a Or force deletion with: docker builder prune -a –force Clean manually: If necessary, … Read more