Skip to main content

Posts

Showing posts from 2018

Create Your First Android APP

4.Create Your First Android APP Let's create our first application for Android. You can use the Android Studio and the ADT to Develop the android application. Before that, you have basic knowledge of CORE JAVA and XML and DBMS. In Android, we use the SQLite for DataBase Management. Don't be panic if you are not strong in these languages which are written above it will be fine if you try and learn these intentionally. NOTE: The Concept is same for both Android Studio and the Eclipse ADT, But Now Android Studio Blocked provide the External SDK and the add-on for Eclipse ADT. if you have the previous Version of the ADT then it's ok. Open Android Studio. Under the "Quick Start" menu, select "Start a new Android Studio project." On the "Create New Project" window that opens, name your project "HelloWorld". If you choose to, set the company name as desired*. Note where the project file location is and change it if desire

File Present Inside The APPlLICATION Package

3.File Present Inside The APPlLICATION Package AndroidManifest.xml Every application must have an  AndroidManifest.xml  file (with precisely that name) in its root directory.  The manifest file provides essential information about your app to the Android system, which the system must have before it can run any of the app's code. Among other things, the manifest file does the following: It names the Java package for the application. The package name serves as a unique identifier for the application. It describes the components of the application, which include the activities, services, broadcast receivers, and content providers that compose the application. It also names the classes that implement each of the components and publishes their capabilities, such as the  Intent  messages that they can handle. These declarations inform the Android system of the components and the conditions in which they can be launched. It determines the processes that host the applicati

APPLICATIONS COMPONENT

2.APPLICATIONS COMPONENT Application components are the essential building blocks of an Android application. These components are loosely coupled by the application manifest file AndroidManifest.xml that describes each component of the application and how they interact. Activities  They dictate the UI and handle the user interaction tothe smartphone screen Services  They handle background processing associated with an application. Broadcast Receivers  They handle communication between Android OS and applications. Content Providers   They handle data and database management issues. Activities An activity represents a single screen with a user interface. For example, an email application might have one activity that shows a list of new emails, another activity to compose an email, and one for reading emails. If an application has more than one activity, then one of them should be marked as the activity that is presented when the application is launc

ANDROID ARCHITECTURE

1.ANDROID ARCHITECTURE Linux kernel At the bottom of the layers is Linux - Linux 2.6 with approximately 115 patches.This provides basic system functions like process management, memory management, device management like camera, keypad, display etc. Also, the kernel handles all the things that Linux is really good at, such as networking and a vast array of device drivers, which take the pain out of interfacing to peripheral hardware. Libraries On top of Linux kernel there is a set of libraries including open-source Web browser engine WebKit, well known library libc, SQLite database which is a useful repository for storage and sharing of application data, libraries to play and record audio and video, SSL libraries responsible for Internet security etc. Android Runtime This is the third section of the architecture and available on the second layer from the bottom. This section provides a key component called Dalvik Virtual Machine which is a kind of Java Virtual