Monday , January 22 2018

Latest Posts

Internal Working of HashMap in Java

In this article, we will see how hashmap’s get and put method works internally. What operations are performed. How the hashing is done. How the value is fetched by key. How the key-value pair is stored. As in previous article, HashMap contains an array of Node and Node can represent ...

Read More »

Java 8 Features with Examples

Java 8 was released in 18th March 2014, so it’s high time to look into Java 8 Features. In this tutorial, we will look into Java 8 features with examples. Java 8 Features Some of the important Java 8 features are:- forEach() method in Iterable interface default and static methods in ...

Read More »

5 Essential difference between Callable and Runnable interface in Java?

In this article, I’ll discuss how to answer this question by highlighting some key differences between Runnable and Callable in Java. I didn’t know all these points at that time but my research after that helped to learn more about the Callable interface. Even though both Callable and Runnable interface are used to encapsulate task supposed ...

Read More »

Android Activity Launch Modes

Launch mode is an instruction for Android OS which specifies how the activity should be launched. It instructs how any new activity should be associated with the current task. Before moving further you first need to understand about very important topics- 1. Tasks 2. Back Stack Tasks A task is ...

Read More »

Binding JavaScript and Android Code – Example

When developing a web application that’s designed specifically for the WebView in your Android application, you can create interfaces between your JavaScript code and client-side Android code. For example, your JavaScript code can call a method in your Android code to display a Dialog, instead of using JavaScript’s alert() function. ...

Read More »

Custom Font in android

In this post, we’ll look at a generalized approach, which is more complex, but also more suitable for a repeated use of custom fonts. Extending TextView We’ll create a new Java class, which extends TextView. This allows us to use that class in all XML views. It inherits all functionality ...

Read More »

Music library for android

This is the music library for android. You can use this library by just download and import in your android project. In this library we provide you detailed list of song which is stored in your phone. Some methods are defined to get details of songs. Follow these steps to ...

Read More »

Login With Facebook Android Studio using Facebook SDK 4

Hello friends, welcome to our new tutorial. In this tutorial we will create a login with facebook android app using android studio and facebook sdk 4.0. So lets begin. Creating Android Project Open Android Studio and Click on File-> New ->New Project Give your application a name (in my case ...

Read More »

Resize Images in php

Creating thumbnails of the images is required many a times, this code will be useful to know about the logic of thumbnail generation. 

Read More »