Tag Archives: TIPS

In this tutorial we will create a video player inside recyclerView posts similar to facebook with fullscreen which will be played from web URL. We will use a library for this case. This video player looks more similar to MX Player -> a popular video player app for android. Look at the above screenshots of… Read More »

In this tutorial we will learn to show an image in fullscreen mode with one click in android popupwindow from any activity or fragment. In this example we will see a contact profile where when we click on user’s profile it should show in fullscreen mode with zoom enabled. We will directly implement the code… Read More »

In this tutorial we will use a library for quick validation of OTP, Email, Phone, Name, Empty String, Regex etc. entered in an EditText of Android layout file. When the validation fails, a small error message will be shown near the Invalid EditText itself like a tooltip bubble along with a red error exclamation mark inside… Read More »

In this tutorial we will simply create a layout file for showing profile information of a user or contact in your android application. This layout can be used in any activity or fragment. We will created a profile imageview in a circular shape or image cropped in rounded shape using a library which we… Read More »

In this tutorial, We will learn about how to encrypt a string data using RSA algorithm through PHP and decrypt the same using Java project. We need phpseclib library for encrypting the data. This can be downloaded from : https://github.com/phpseclib/phpseclib/tree/master/phpseclib Now lets create php scripts to encrypt a simple string “Hello World!”. We need two… Read More »

If you have installed more than one Operating System in your PC. For example, you have Windows 7 & Ubuntu installed and suddenly you are unable to boot to any of the OS. If the error similar to given below appears: That means you have a problem with your bootloader. A very simple solution for… Read More »

1) Open the java file in which comments are to be removed. 2) Press Ctrl+F if you are using windows, Cmd+F in Mac OS. 3) Select Regular Expressions in the Find Menu. 4) Replace the below two expressions with empty string: i) (//[^\n]*) ii) (?s)/\*.*?\*/ 5) This action will remove all the comments -> Single… Read More »

In this article we will see different methods to validate email address entered through EditText using android layout xml file. Email validation is useful in android because we need to send the email to server for registering a new account or for any other purpose. If we validate the email in the android app itself… Read More »

Step 1: Add the following Code to activity_main.xml Step 2: Add the following code to mainActivity.java Step 3 : Now you can save and execute the Application. Your output will be like this : 3,779 total views, 2 views today