Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

6 useful code chunks for java coders.

Convert Java util.Date to sql.Date This piece of code shows how to convert a java util Date into a sql Date for use in database. java.util.Date util_date = new java.util.Date(); java.sql.Date sql_date = new java.sql.Date(util_date.getTime()); C

How to create a simple Timer in Android

In this tutorial we will make a simple android timer application using a Handler.In the layout of the main activity we will set a TextView to Display the timer and to Buttons for Start and Pause. We set the string resource for the timer value.

HOW TO USE DELEGATE IN C# and ASP.NET

Delegate is a type which holds the method(s) reference in an object. It is also referred to as a type safe function pointer. Delegates concept will match with function pointer concept of c++ language. We use delegate keyword when we need to create

Injecting List Bean in Spring

Here the below code will show you how to inject the List in Spring using the spring.xml file. By using that we will inject the list object in spring. Person.java package com.evon; public class Person { String name; String address; in

Injecting Map in Spring

Here the below code will show you how to inject the Map in Spring using the spring.xml file. By using that we will inject the Map object in spring. - Person.java package com.evon; public class Person { String name; String address; int

Injecting Set in Spring

Here the below code will show you how to inject the Set in Spring using the spring.xml file. By using that we will inject the Set object in spring. Person.java package com.evon; public class Person { String name; String address; int

How to correctly use the AlarmManager class to execute a task at fixed intervals?

This Post ll help you to manage your alarm : AlarmManager am=(AlarmManager)getSystemService(ALARM_SERVICE); Intent alarmintent1=new Intent(MainActivity.this, AlarmReceiver.class); PendingIntent sender1=PendingIntent.getBroadcast(SpeedMotors.this, 1

double colon(::) operator in Java 8

In Java 8 we can also use double colon(::) as the method reference. By using double colon(::) operator we can easily convert normal method into lambda expression. The below example will show you how you will convert normal method into lambda expres

How to use SmartLock for Passwords in Android

SmartLock for passwords saves your favorites apps and websites accounts authentication to your google account for future use for fast Login. With SmartLock for passwords you save authentication in Android app may be available on Chrome on System. or

How to show openCV native camera in Android ?

In previous blog we added openCV android sdk and native libraries in our project so that we can use sdk. Here we will show camera in our Android app using openCV sdk. in your activity's xml file add this : <org.opencv.android.JavaCameraVie

1 … 119 … 133
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: