While working on an Android App, I had to integrate the Camera API. User can take a photo from App and process it. With Android the Photo that you click cannot be accessed until the media scanner runs and index it. It is possible to triggeer programatically the Media Scanner in Android. Ch
[ read more ]
Download Source Files In this tutorial, you will learn how to use Eclipse to create an Android JUnit Test Project, create automated unit tests and run them under a variety of conditions. Before You Begin The authors are assuming the reader has some basic knowledge of Android and have all of the tool
[ read more ]
Description: This example shows you how to download a pdf file from server and display its contents. Algorithm: 1.) Create a new project by File-> New -> Android Project name it PDFFromServerExample. 2.) Write following code into your manifest file: <?xml version=”1.0″ encodi
[ read more ]
This example gives you an idea on how to Initialize bean in the program and also explains the lifecycle of bean in spring. Run the given bean example to retrieves the values of the bean using java file. Here in the file given below i.e. (context.xml) we have declare the bean definition.
Mybea
[ read more ]
In the given example you will be learning about a constructor and how to call a constructor in the Spring. Declaring constructor injection in the Spring framework is generally done in the bean section of the configuration file that is the context.xml file.
Steps to declare Constructor Injec
[ read more ]
Inheritance Demo, In the example given below we are going to tell about the inheritance in the Spring framework. By inheritance we mean a way of forming new classes using classes that have already been defined. Here we have created a simple bean and used this bean as a template for creating othe
[ read more ]
XML Bean-Injection, The given example below gives the brief description of the extension name spaces that can be used in the spring framework With the use of extensible name space you can make Spring configuration file more simpler to use for many tasks which can occurs repeatedly . Extension
[ read more ]