Using the Application Class Depending on what you're doing in your initialization you could consider creating a new class that extends Application and moving your initialization code into an overridden onCreate method within that class. public class MyApplicationClass extends Application { @Override public void onCreate() { super.onCreate(); // TODO Put your application initialization code here. }} Activity restart on rotation Android Activity restart on rotation Android

Android App Developers GUI Kits, Icons, Fonts and Tools

Hot on the heels of our previous GUI article, iPhone and iPad Development GUI Kits, today we focus on Android development. The idea is the same: To help streamline your app design and development, with a fairly comprehensive collection of Android GUI kits, icons, fonts, .psds and tools, that will allow you to focus on developing rather than having to design everything from scratch. In comparison to Apples iPhone, the Android interaction design guidelines are far from being extensive nor are they as regimental. Android App Developers GUI Kits, Icons, Fonts and Tools
JSON Parsing in android | Android Competency Center JSON Parsing in android | Android Competency Center Products, deals and coupons in India! Let’s look at how to parse JSON objects in android 1> First we’ll need an example : Lets look at a standard example from the json site http://json.org/example.html
Android SQLite Database and ContentProvider

Android SQLite Database and ContentProvider

SQLite is an Open Source database. SQLite supports standard relational database features like SQL syntax, transactions and prepared statements. The database requires limited memory at runtime (approx. 250 KByte) which makes it a good candidate from being embedded into other runtimes. SQLite supports the data types TEXT (similar to String in Java), INTEGER (similar to long in Java) and REAL (similar to double in Java). All other types must be converted into one of these fields before getting saved in the database.
Android SQLite Database Tutorial Android SQLite Database Tutorial package com.androidhive.androidsqlite; import java.util.ArrayList; import java.util.List;
Input controls are the interactive components in your app's user interface. Android provides a wide variety of controls you can use in your UI, such as buttons, text fields, seek bars, checkboxes, zoom buttons, toggle buttons, and many more. Adding an input control to your UI is as simple as adding an XML element to your XML layout. For example, here's a layout with a text field and button: Each input control supports a specific set of input events so you can handle events such as when the user enters text or touches a button. Form Stuff Form Stuff

Android Development Tutorial

Android Development Tutorial 1.1. The Android operating system Android is an operating system based on the Linux kernel.
Welcome to Android application development! This class teaches you how to build your first Android app. You’ll learn how to create an Android project and run a debuggable version of the app. You'll also learn some fundamentals of Android app design, including how to build a simple user interface and handle user input. Before you start this class, be sure you have your development environment set up. You need to: Hello, World

Hello, World

Guide To Building Android Applications Ok, so you’ve read the Android FAQ, successfully managed to install the Android SDK and get it up and running, so now you’re finally ready to get building some Android applications. Below you’ll find anumber of links to sites that will be of great use to you as you get to grips with the Android SDK and begin to work on creating your own applications for the platform. Android applications are written using the Java programming language, you’ll also use a custom virtual machine (Dalvik) to run and tst your creations. Dalvik is designed for embedded use which runs on top of the Linux kernal. Below you’ll find a number of links to sites that will be of great use to you as you get to grips with the Android SDK and begin to work on creating your own applications for the platform. Information on how to develop applications, references,in-depth documentation and code snippets can all be found as you work your way through the various guides and tutorials.

Guide To Building Android Applications