Check Android Device for Fingerprint Sensor

George John
Updated on 27-Jun-2020 10:44:16

415 Views

This example demonstrate about How to check android device having finger print sensorStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken text view to show finger print manager information.Step 3 − Add the following code to src/MainActivity.javapackage com.example.myapplication; import android.annotation.SuppressLint; import android.app.usage.UsageEvents; import android.hardware.fingerprint.FingerprintManager; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v4.view.MotionEventCompat; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.util.LogPrinter; import android.view.DragEvent; import android.view.MotionEvent; import android.view.View; import ... Read More

Check If Android Device Fingerprint Is Enrolled

Chandu yadav
Updated on 27-Jun-2020 10:37:04

482 Views

This example demonstrate about How to check android device finger print has enrolledStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken text view to show finger print manager information.Step 3 − Add the following code to src/MainActivity.javapackage com.example.myapplication; import android.annotation.SuppressLint; import android.app.usage.UsageEvents; import android.hardware.fingerprint.FingerprintManager; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v4.view.MotionEventCompat; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.util.LogPrinter; import android.view.DragEvent; import android.view.MotionEvent; import android.view.View; import ... Read More

Employee Retention and Employee Attrition Explained

Prasanna Kotamraju
Updated on 27-Jun-2020 09:52:59

923 Views

Employee RetentionEmployee retention is the ability of an organization to retain its employees. Usually, if 80% of employees stick to that organization for a given period, we can say that the particular organization has good employee retention.It is very important for an Organization to hold the employees for a longer period of time and maintaining a good retention rate using various policies and practices. Employee retention techniques have to implemented carefully to retain their employees for a longer time. It is very true that an organization survives with a bunch of employees who work towards a defined goal for a period ... Read More

Improve English Speaking Skills for Public Speaking

Prasanna Kotamraju
Updated on 27-Jun-2020 09:50:36

218 Views

“For any challenge, there will be a difficult and an easy solution, you just have to be smart enough to choose the right one.”Speaking English is a very difficult task for many people. I have seen people with great vocabulary and good grammar sense also fear spoken English and fail in interviews because of that. There can be many reasons behind it. Strong Mother tongue influence, being an introvert, not surrounded by many English speaking persons, having their primary education in their mother tongue etc., can be some of the reasons.Whatever may be the reason, it is very important to ... Read More

Why Should I Use HubSpot?

Prasanna Kotamraju
Updated on 27-Jun-2020 09:45:27

250 Views

Hubspot is used in your Inbound Marketing system to manage and run it smoothly. It makes the creation of workflows very easy and user actions and events can be clearly defined which can be triggered automatically. This helps greatly in the automation of your marketing system. One of the best inbound software currently out there is HubSpot.It's A Complete Marketing Platform.Previously marketers were forced to juggle between different platforms to reach their potential customers. Hubspot is all in one tool where you can create and optimize your content, nurture leads and at the same time monitor contacts as they evolve ... Read More

Best Programmers in the World

Prasanna Kotamraju
Updated on 27-Jun-2020 09:44:40

787 Views

Programming or software coding is not an easy task. Dennis MacAlistair Ritchie was an American computer scientist who is credited with being the all-time best programmer for his pioneering work towards shaping the digital era. He is the creator of the most used C programming language and UNIX Operating system.Let’s see who is currently reigning in the world as best computer programmers for the year 2017-2018.Bill Gates (Microsoft co-founder)James Gosling (Java Creator)Richard Stallman (GNU Project Creator)Bjarne Stroustrup (C++ Creator)Tim Berners-Lee (HTML and WWW inventor)Ken Thompson (UNIX Co-Creator)Linus Torvalds (Linux Kernel Creator)Dennis Ritchie (C Programming language creator)Jack Dorsey (Twitter Creator)Ruchi Sanghvi ... Read More

What is Alexa?

Prasanna Kotamraju
Updated on 27-Jun-2020 09:43:16

514 Views

Alexa is Amazon’s cloud-based voice service available on tens of millions of devices ranging from Amazon to many third-party device manufacturers. Alexa allows you to build natural voice experiences that offer customers a more intuitive way to interact with the technology they use every day.Alexa is Amazon’s artificial intelligence enabled voice assistant which is spreading like wildfire and seen in robots, vacuum cleaners, and thousands of third-party apps that tap Alexa for voice recognition. Amazon has recently announced the Alexa app for Android phones also.

Set GregorianCalendar Object to a Particular Date in Java

karthikeya Boyini
Updated on 27-Jun-2020 09:37:21

415 Views

To work with the GregorianCalendar class, import the following package.import java.util.GregorianCalendar;Firstly, create a GregorianCalendar object.GregorianCalendar calendar = new GregorianCalendar();Now, set the above-created object to a date. Here 0 is for 1st month.calendar.set(2018, 0, 25);The following is an example.Example Live Demoimport java.util.GregorianCalendar; import java.util.Calendar; import java.util.Date; public class Demo {    public static void main(String[] args) {       GregorianCalendar calendar = new GregorianCalendar();       // 0 is for 1st month       calendar.set(2018, 0, 25);       System.out.println("" + calendar.getTime());    } }OutputThu Jan 25 16:51:24 UTC 2018

Get Day of the Week from GregorianCalendar in Java

Samual Sam
Updated on 27-Jun-2020 09:36:40

434 Views

For GregorianCalendar class, import the following package.import java.util.GregorianCalendar;Create an object.GregorianCalendar calendar = new GregorianCalendar();To get the day of the week, use the following field.GregorianCalendar.DAY_OF_WEEKThe following is an example.Example Live Demoimport java.util.Calendar; import java.util.GregorianCalendar; public class Demo {    public static void main(String[] a) {       GregorianCalendar calendar = new GregorianCalendar();       System.out.println("Day of Week = " + calendar.get(GregorianCalendar.DAY_OF_WEEK));       System.out.println("Date = " + calendar.get(GregorianCalendar.DATE));       System.out.println("Month = " + calendar.get(GregorianCalendar.MONTH));       System.out.println("Year = " + calendar.get(GregorianCalendar.YEAR));    } }OutputDay of Week = 2 Date = 19 Month = 10 Year = ... Read More

Link Between Phi and the Golden Ratio

Prasanna Kotamraju
Updated on 27-Jun-2020 09:35:14

564 Views

Phi is the basis for the Golden Ratio, Section or Mean. The value of Phi ( Φ ) is 1.618033988749895. It has many unusual mathematical properties.The Golden ratio is a special number found by dividing a line into two parts so that the longer part divided by the smaller part is also equal to the whole length divided by the longer part. It is often symbolized using phi, after the 21st letter of the Greek alphabet.The ratio or proportion, determined by Phi (1.618 …) was known to the Greeks as the “dividing a line in the extreme and mean ratio” ... Read More

Advertisements