How to Debug an Android application with LogCat?

android-icon

This tutorial explains you how to debug a simple helloworld application with LogCat. In my previous post i have explained you about how to create a helloworld application. Let us now discuss how to debug that application with LogCat. Unlike Java, Android doesn’t display its runtime exceptions in its console. It displays it using its LogCat. […]

How to write AndroidManifest.xml?

android-icon

AndroidManifest.xml is the central configuration file for the android Application. Android Manifest presents essential information about the application to the Android system.There will be only one manifest file per application and it is the required file for any android application placed in its root directory. In my previous articles I have explained about setting up […]

New Features in Spring 3.1

spring

This post will feature some of the major features and enhancements of Spring 3.1. Released in the year 2011, Spring 3.1 introduced many new exciting features as listed and described in this article. This article would provide very good idea on the new features introduced and how it is different from the previous versions. If […]

@Inject and @Named (JSR 330) Annotations Example

spring

Support for JSR-330 annotations was introduced in Spring 3. These annotations are scanned the same way as the Spring annotations, only requirement would be to have the relevant jars in your classpath. You can use the following annotations in Spring 3 applications: @Inject instead of Spring’s @Autowired to inject a bean. @Named instead of Spring’s […]

How to write a simple Android application?

android-icon

In my previous article I have explained about how to set up the android environment. This article shows you how you can create a simple Android Application using eclipse. This example assumes that you have already set up the android environment and ready for the development. If you have any questions, please post it in […]

Layouts in Android

android-icon

Android Layout acts as a container of UI elements. It decides how the different UI elements are arranged and rendered to the user. This article explores the various types of layouts available in the Android development with examples. If you have issues on Android programming, please post it in the comments section. Declaring Layouts Layouts […]

Spring Classpath Scanning & Managed Components

spring

In my previous articles I have explained about the some of the popular annotations in Spring @Required, @Autowired and @Qualifier. You could note from these posts that we declared all the beans or components in XML bean configuration file; this helps Spring container detect and register beans or components. In this post I shall discuss […]

How to set up android development environment?

android-icon

This tutorial describes how you can set up a development environment for building Android applications in Eclipse IDE. In my future articles, I will be writing about the various programming techniques and features available in the Android development. Android is the leading Operating System in the smartphone market. This makes android is the most popular […]

@Resource, @PostConstruct and @PreDestroy Annotations Example

spring

In this post I shall cover the JSR250 annotations. Introduced in Spring 2.5, it added support for JSR-250 based annotations which include @Resource, @PostConstruct and @PreDestroy annotations. In my previous articles I have explained about the some of the popular annotations in Spring @Required, @Autowired and @Qualifier. Also please read about How to write Custom Spring Callback Methods? also read: follow […]

@Qualifier Annotation in Spring

spring

In this post I shall cover another annotation @Qualifier which helps fine-tune annotation-based autowiring. In the previous post we saw how we could use @Autowired annotation on setter methods, fields and constructors. There may be scenarios when we create more than one bean of the same type and want to wire only one of them […]