Getting and Setting Input Text Field Values

Getting and Setting Input Text Field Values

This form contains an input text field and an input button. The form is designed to demonstrate how to get and set the text in a text field. The HTML for the input button includes an event handler attribute. Pressing the button calls a function that: retrieves the value in the text field d

[ read more ]

ListView, with icon

ListView, with icon

ListView in simplest form with plain text only. This exercise describe how to add a icon in ListView. create a new file in /res/layout/row.xml, to setup our layout on each row. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/an

[ read more ]

Load ImageView with bitmap from internet

Load ImageView with bitmap from internet

It's a simple way to load ImageView with a bitmap from internet, via http connection. In order to load something from internet, the AndroidManifest.xml have to be modified to grand permission for internet access. <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http:

[ read more ]

Struts 2 Tutorial: Struts 2 Tiles Plugin Tutorial with Example in Eclipse

Struts 2 Tutorial: Struts 2 Tiles Plugin Tutorial with Example in Eclipse

Introduction to Tiles 2 Nowadays, website are generally divided into pieces of reusable template that are being rendered among different web pages. For example a site containing header, footer, menu etc. This items remains same through out the website and give it a common look and feel. It is very

[ read more ]

Struts 2 Tutorial: Create Struts 2 Application in Eclipse

Struts 2 Tutorial: Create Struts 2 Application in Eclipse

Before we starts with our first Hello World Struts 2 Example, we will need few tools. JDK 1.5 above (download) Tomcat 5.x above or any other container (Glassfish, JBoss, Websphere, Weblogic etc) (download) Eclipse 3.2.x above (download) Apache Struts2 JAR files:(download). Following are th

[ read more ]

Struts 2 Tutorial

Struts 2 Tutorial

Struts 2 Tiles Plugin Tutorial with Example in Eclipse Welcome to Part-4 of the 7-part series where we will go through different aspects for Struts2 Framework with some useful examples. In previous part we went through Struts2 Validation Framework. We saw how easy it is to integrate validation in y

[ read more ]

PhoneGap PayPal-Plugin

PhoneGap PayPal-Plugin

by Paul Beusterien, Mobile Developer Solutions, Carl Stehle, Appception Inc. and Tomaz Kregar, Bucka IT Adding the Plugin to your project Using this plugin requires Android Cordova (PhoneGap) and the PayPal Mobile Payments Library. The PayPal Mobile Payments Library can be downloaded here.

[ read more ]

Layouts in Android

Layouts in Android

A layout defines the visual structure for a user interface, such as the UI for an activity or app widget. You can declare a layout in two ways: Declare UI elements in XML. Android provides a straightforward XML vocabulary that corresponds to the View classes and subclasses, such as those for

[ read more ]

New Elements in HTML5

The internet, and the use of the internet, has changed a lot since HTML 4.01 became a standard in 1999. Today, some elements in HTML 4.01 are obsolete, never used, or not used the way they were intended. These elements are removed or re-written in HTML5. To better handle today's internet use,

[ read more ]

Spring MVC: Multiple Row Form Submit using List of Beans

Spring MVC: Multiple Row Form Submit using List of Beans

Recently I had a requirement where using Spring MVC we had to take inputs multiple rows of data from user. The form had many rows which user can edit and submit. Spring MVC provides very simple yet elegant way of collecting data from multiple rows from HTML form and store them in List of Beans in Ja

[ read more ]