Posts

Showing posts from 2011

Shortcut Keys for Eclipse

Image
               The Shortcut keys are very useful for  programmers to  Developing Application easily and fast. You want to see Shortcut keys  in Eclipse.  Press  Ctrl+Shift+L  It will show Shortcut keys as follows.       

Home Screen Widgets In Android

Image
For Widget Creation Follow the Bellow Steps: 1.Create New Project. 2.Create One Folder in res as   res/xml . 3.Create One .xml file as AppWidgetProvider  in xml folder  like res/xml/widgmail.xml 4.Create  one .java file in src/   with Extention of  AppWidgetProvider. 5.Open manifest file Add some code as follows. Step 1: Now , We Create One project as follows. Project Name          : Widget For Gmail. ApplicationName    :WidgetForGmail. Package Name         : com.widget.gmail Acticity                      :  WidgetForGmailActivity. miniSDK Vertion      : 8 Step 2 : Create one Folder named as xml in res/ Step 3: Create one xml file in xml folder as AppWidgetProvider named as widgmail.xml as follows Then Click On thi Finish Button, and the write the following  code in widgmail.xml file  res/xml/widgmail.xml <? xml   version = "1.0"   encoding = "utf-8" ?> < appwidget-provider    xmlns:android = "http://schemas.android.com/apk/res/android&qu

Android Adapters

Image
                               An Adapter object acts as a bridge between an AdapterView and the underlying data for that view . The Adapter provides access to the data items. The Adapter is also responsible for making a View for each item in the data set. An AdapterView is a view whose children are determined by an Adapter. Some examples of AdapterViews are ListView, GridView, Spinner and Gallery. There are several types or sub-classes of Adapter: ListAdapter: Extended Adapter that is the bridge between a ListView and the data that backs the list. Frequently that data comes from a Cursor, but that is not required. The ListView can display any data provided that it is wrapped in a ListAdapter. ArrayAdapter: A ListAdapter that manages a ListView backed by an array of arbitrary objects. By default this class expects that the provided resource id references a single TextView. Example: package com.project.ListView; import android.app.Activity; import android.os.Bundl

Itroduction To Android

Image
What is android ?                 Android is a software stack for mobile devices that includes an operating system,  middleware  and key applications.         One of the most widely used mobile OS these days is   ANDROID .   Android   is a software bunch comprising not only operating system but also middleware and key applications.   Android Inc was founded in Palo Alto of California, U.S. by Andy Rubin, Rich miner, Nick sears and Chris White in 2003.  which is later on purchased by   Google in 2005 . Presently,   Google and Open handset alliance   are owners of Android operating system.    After original release there have been number of updates in the original version of Android.                 Android   is a powerful Operating System supporting a large number of applications in   Smart Phones . These applications make life more comfortable and advanced for the users. Hardwares that support Android are mainly based on   ARM architecture   platform. Some of the current features