Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

and many more ....

 

Expandable List in Android

android-logo

Today we are going to discuss ExpandableListView in Android. Here I’ve used Eclipse with ADT plugin to build this example. The example is straightforward. Create a new Android Application Project in your workspace. Extend your main Activity from ExpandableListActivity. For your reference please find the following code :           package com.example.expandablelistviewdemo; import android.app.ExpandableListActivity; import android.content.Context; import android.os.Bundle; ...

Read More »

Not an Expert in All Levels of Abstraction

software-development-2-logo

Programming is not just writing code – it is working with a huge pile of abstractions. Starting from zeroes and ones, through processor instructions, memory addresses, low-level network protocols, data structures, up to web services, component frameworks and user interface. From low-level, often tedious stuff, to more pleasant to use and maintain stuff. We are categorized as “senior developers”. Which, ...

Read More »

Call response WebSockets in Play Framework

play-framework-logo

I got a question from a Play user about implementing call/response WebSockets in Play Framework. This is not something that comes up that often, since it means using WebSockets to do basically what AJAX does for you, so what’s the point? But here are some use cases that I’ve thought of: You have some transformation of a stream that can ...

Read More »

Android Apache HTTP Client

android-logo

In this post I want to describe how to build an HTTP client using Apache library. In one of my post I describe how we can use HttpUrlConnection to create a client. Using Apache library I want to explain how we can make POST request, download images and upload multipart binary data. Moreover I will describe how to exchange cookies. ...

Read More »

Android ListView – Tutorial and basic example

android-logo

One of the UI component we use often is ListView, for example when we need to show items in a vertical scrolling list. One interesting aspect is this component can be deeply customized and can be adapted to our needs. In this first post i want to analyze the basic concepts behind it and how to use this component. In ...

Read More »

Singleton Design Pattern – A Lion’s Eye View

java-logo

A few days ago when I was in my home town, one of my sub-juniors from my colleague attended an interview in an MNC and was severely injured in that interview process. I mean he could not qualify the interview because of the difficult questions fired by the interview panel. When I came back to Bangalore, he shared the embarrassing ...

Read More »

Spring MVC: Validator and @InitBinder

spring-interview-questions-answers

It’s hard to imagine a web-application which doesn’t has some validation logic for an user data. Almost all user’s data has some constraints, e.g. date of birth should consist of day, month, year etc. Spring MVC has its own solution for the data validation, and it’s become available with the help of Validator interface. Usage of Spring MVC Validator A ...

Read More »

Android: Build real weather app: JSON, HTTP and Openweathermap

android-logo

In this post I want to describe how to create a weather app that gives current weather information. This app will use JSON, HTTP connection and AsyncTask to get this information.. As weather provider I will use OpenWeatherMap a free weather service that provides some interesting API really easy to use.I will guide you through the steps necessary to build ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close