Introduction
Over the Past Two Years, developers around the world have
helped make Android Marker the go-to place for more than 100,000 apps, games
and widgets Previously, you could only access Android Market directly from your
device, but today we are introducing the Apping.in which is a web based Android & iOS Application builder website where you can Create your own Android Application
according to your need. The website makes it easy to discover great new apps
with a bigger, brighter interface. You can share apps with your friends through
any Social Networking Website.
Features of Android
Apps & iOS
List of Features in The Android & iOS operating system are :
·
Messaging
SMS and MMS are available forms of
messaging, including threaded text messaging and Android Cloud To Device
Messaging (C2DM) and now enhanced version of C2DM, Android Google Cloud
Messaging (GCM) is also a part of Android Push Messaging service.
·
Web
Browser
The web browser available in Android is
based on the open-source Blink (previously WebKit) layout engine, coupled with
Chrome's V8 JavaScript engine. The browser scores 100/100 on the Acid3 test on
Android 4.0.
·
Mutli-Touch
Android has native support for multi-touch
which was initially made available in handsets such as the HTC Hero. The
feature was originally disabled at the kernel level. Google has since released
an update for the Nexus One and the Motorola Droid which enables multi-touch
natively
·
Multitasking
Multitasking of applications, with unique
handling of memory allocation, is available
·
Video
Calling
Video calling through Google Talk is
available in Android 2.3.4
·
Multiple
language support
Android supports multiple languages
·
Connectivity
Android supports connectivity technologies
including GSM/EDGE, Wi-Fi, Bluetooth, LTE, CDMA, EV-DO, UMTS, NFC, IDEN and
WiMAX.
·
Bluetooth
Supports voice dialing and sending contacts
between phones, sending files (OPP), accessing the phone book (PBAP), A2DP and
AVRCP. Keyboard, mouse and joystick (HID) support is available in Android 3.1+,
and in earlier versions through manufacturer customizations and third-party
applications.
Working
of Android Apps
Android apps are written in the Java
programming language. The Android SDK tools compile your code—along with any
data and resource files—into an APK: an Android package, which is an archive
file with an .apk suffix. One APK file contains all the contents of an Android
app and is the file that Android-powered devices use to install the app.
Once
installed on a device, each Android app lives in its own security sandbox:
- The Android operating system is a multi-user Linux system in which each app is a different user.
- By default, the system assigns each app a unique Linux user ID (the ID is used only by the system and is unknown to the app). The system sets permissions for all the files in an app so that only the user ID assigned to that app can access them
- Each process has its own virtual machine (VM), so an app's code runs in isolation from other apps.
- By default, every app runs in its own Linux process. Android starts the process when any of the app's components need to be executed, then shuts down the process when it's no longer needed or when the system must recover memory for other apps.
Example
of Android Apps
Android
Hello World Example
Let us proceed to write a simple Android
Application which will print "Hello World!"
The first step is to create a simple Android
Application using Eclipse IDE. Follow the option File -> New -> Project
and finally select Android New Application wizard from the wizard list. Now
name your application as HelloWorld using the wizard window as follows:
Next, follow the instructions provided and keep all
other entries as default till the final step. Once your project is created
successfully, you will have following project screen:
The main activity code is a Java file
MainActivity.java. This is the actual application file which ultimately gets
converted to a Dalvik executable and runs your application. Following is the
default code generated by the application wizard for Hello World! application:
Let's try to run our Hello World! application we just
created. I assume you had created your AVD while doing environment setup. To
run the app from Eclipse, open one of your project's activity files and click
Run Eclipse Run Icon icon from the toolbar. Eclipse installs the app on your
AVD and starts it and if everything is fine with your setup and application, it
will display following Emulator window:
No comments:
Post a Comment