Android Custom Listview with Image and text from Mysql database

Android Custom Listview with Image and text from Mysql database

Hello guys. Today we are going to create Android Custom Listview with Image and text. Previous post we learned how to connect Android app with MySQL database using PHP  and display data in a Listview that means this post is a continuation of what we learned.…

android app and mysql database

How to connect Android app with MySQL database and parse data using JSON and PHP

Today we are going to learn how to connect Android app with MySQL database. We will fetch table data, then parse it as JSON data to an android app. Before we get started, let define these few terms and know what they are. What is…

reset password email

Fixed: WordPress not sending reset password email

WordPress not sending reset password email or account registration email is a common problem faced by WordPress beginner bloggers. Some of the questions they ask me are why is WordPress not sending contact email notifications, why am I not getting reset password email on an e-commerce website.…

How to check if a string contains a digit and return true in Java

String class in java represent character strings .Just like other constants Strings values cannot be changed.String objects  can be shared and they are immutable.Example of a  string in java String str=”Eric loves programming”. Today we are going to use different String class methods to write…

Creating bottom navigation view in Android application

Creating bottom navigation view in Android application

Today we are going to learn how to create Android bottom navigation view which makes applications functions easily accessible to the user by just one click. Let get started. We are going to create a new Project in Android Studio and name it as “BottomNavigation“…

How to create a splash screen in android

How to create a splash screen in android

When an Android application starts for the first time in a device, it takes some time before the application loads.Instead of showing a blank screen that, its good as a developer to design a splash screen that tells a user to either hang on it…

JLabel -example

Creating a JLabel with Text Example

Below code creates a Simple JLabel with Text Example using JLabel() constructor method.Note that JLabel class has several methods.  

Output:

setEnabled

Check whether a JLabel is Enabled or Visible.

JLabel.setEnanbled() methods enable a JLabel or make it visible in it container.If you set false, the JLabel is not visible and if set truth, the JLabel is visible. Below code creates two JLabels, one is enabled and the other is not enabled.