Skip to main content

Posts

Showing posts from May, 2013

Starting With Eclipse and Android SDK or Configuring Android in Eclipse.

See more basics on Android The Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android. Download the SDK from here.... Now you have sucessfully downloaded the  ADT Bundle. The ADT Bundle provides everything you need to start developing apps, including a version of the Eclipse IDE with built-in ADT (Android Developer Tools)  to streamline your Android app development.  Download provide you with a zip file. Unpack the zip file and save it to the appropriate location.   Go to the  adt-bundle-<os_platform>/eclipse/  directory and launch  eclipse . That's it! The IDE is already loaded with the Android Developer Tools plugin and the SDK is ready to go.Now develop your own application. You may find your latest updates from Android  SDK Manager. The SDK Manager shows all the SDK packages available for you to add to your Android SDK. Go to windows->Android SDK manager      And If your eclipse f

Intent and Intent Types-Explicit Intent & Implicit Intents

  See more basics on Android  All the components are activated by a message called Intents. Intents bind individual components to each other at runtime, whether the component belongs to your application or another. An intent is created with an Intent object, which defines a message to activate either a specific component or a specific type of component—an intent can be either explicit or implicit, respectively. An intent is an abstract description of an operation to be performed. Intents are send to the Android system via a method call, e.g. via the startActivity() method. They can be said as a message which allow android components to request functionality from other components. Intent Filters: Activities and intent receivers include one or more filters in their manifest to describe what kinds of intents or message they can handle or want to receive.An intent filters lists a set of requirements, such as datatypes,action requested and URI format that the intent or message must f

Android Application Fundamentals or Components

See more basics on Android along with interview questions Android is written in java programming language.Android application are composed of some of the main components such as: Activities Services Content providers Broadcast receivers Intents, Resources(such as strings and graphics), Notification signalings(light,sound,dialog), are also part of the components. All these components play different role in the overall application and each one can be activated individually. Activities :           An activity represents a single screen with a user interface.Suppose if there is a listview and if clicking on each row it traverse to another page ,then the screen showing listview is an activity and the next page is another activity,where each one is independent of the others. An activity is implemented as a subclass of Activity ,that why we use see activity life cycle here : public class MainActivity extends Activity { } affiliate marketing Services :         

What is Dalvik Virtual Machine ?

See more basics on Android along with interview questions Dalvik is the process virtual machine (VM) in Google's Android operating system.It halps to run the apps on ANDROID DEVICES.This is an integral part of Android.Programs are written in java and these are then converted from Java Virtual Machine-compatible .class files to Dalvik-compatible .dex (Dalvik Executable) files before installation on a device.This is done in terms of memory and processor speed. It is a Register based Virtual Machine. It is optimized for low memory requirements. It has been designed to allow multiple VM instances to run at once. Relies on the underlying OS for process isolation, memory management and threading support. Operates on DEX files.

Android Architecture

See more basics on Android along with interview questions Linux Kernal : This is the bottom most layer of architecture but it is the root of the whole system.It is important for the following features. Hardware Abstraction Memory Management Programs Security Settings Power Management Software Other Hardware Drivers (Drivers are programs that control hardware devices.) Support for Shared Libraries Network Stack Native Libraries and Android Runtime: Libraries guides the device in handling different types of data.For example Media Framework Library for handling audio video formats.Android Runtime includes a set of core Java libraries.It also include Dalvik Virtual MAchine for handling dex files. some of the open source Libraries are: Surface Manager: composing windows on the screen SGL: 2D Graphics Open GL|ES: 3D Library Media Framework: Supports playbacks and recording of various audio, video and picture formats. Free Type: Font Rendering W

Connecting to a remote mysql database using php and Android?

Connecting to a remote database has been a Herculean Task for some programmers. No more worries here is a simple post to make it really simple. Follow these steps exactly to get it done. Remember these when you are working with an online database. 1. Make sure that you have a running server. 2. INTERNET permission should be present in the AndroidManifest file of your app. 3. The path that you give in your program to point to the server file should be correct. After ensuring all these you are ready to go. First we will start with the Server side. Here I am going with a PHP example. I am getting a value from the Android side by using a variable say "my_val". Then the PHP script will look like this. Note that here I am only sending one value from the Android side to the PHP Side. so the Server side code will look like this. $val = $_POST['my_val']; echo $val; Look at the varaible name inside the $_POST. Make sure that you use the same variable name

Introducion to Android

See more basics on Android along with interview questions Android is a collection of  operating system , 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. Later Android Inc. was acquired by Google in 2005. After original release there have been number of updates in the original version of Android.  Android supports a large number of applications in Smart Phones.  It is an open source operating system  It is a Linux-based operating system for smartphones and tablets.  It includes a touch screen user interface, widgets, camera, network data monitoring and many more.  Allow users to install their own applications from, available through the Android Play Store.  affiliate marketing Versions : Version    No. Name For: