This document provides an overview of Android application development. It describes what Android is, its architecture and core components like activities, services, and content providers. It also explains the project structure in Android Studio, including the main project folder, module for application code, and folders for java code, resources and libraries. The document also covers supporting multiple screen densities, using the Android Debug Bridge, SDK Manager, and running apps on emulators and real devices.
Want to know about Android, it's founders, it's history, the basics of android, and want answers to questions like is development easy?
well, i have covered a basic reaserch for you to begain with :)
Want to offer me a high paying job, being impressed by my presentation then contact -
https://www.linkedin.com/in/piyush-bhambhani-0093a514b/
(that was a potential joke though)
Want to know about Android, it's founders, it's history, the basics of android, and want answers to questions like is development easy?
well, i have covered a basic reaserch for you to begain with :)
Want to offer me a high paying job, being impressed by my presentation then contact -
https://www.linkedin.com/in/piyush-bhambhani-0093a514b/
(that was a potential joke though)
Questions About Android Application DevelopmentAdeel Rasheed
In this file i describe all the important questions about android application development.
What is Android?
What is an Activity?
Describe android application architecture?
What is explicit intent?
What is APK format?
What is implicit intent?
What language does Android support to develop an application?
Wifi Direct Based Chat And File Transfer Android ApplicationNitin Bhasin
This App allows you to share any kind of file present in SD card to other mobile phone directly at speed of 5+MBps. It even allows to click images shoot videos and directly dend to other device.It also allows to send drawings by having drawing pad in it in various colours and various brush sizes. Web-View is also implemented in it.
Link Of App At Amazon Store: http://www.amazon.com/Wifi-Direct-Chat-Transfer-Application/dp/B00TKFFMZO/ref=sr_1_1?s=mobile-apps&ie=UTF8&qid=1424009545&sr=1-1&keywords=Wifi+Direct+Chat+and+File+Transfer+Application
2. What is Android
It is a open source software platform and operating system for
mobile devices.
Developed by Google and later the Open Handset Alliance (OHA)
Allows writing managed code in the Java language.
5. Android Components
Activity
provides a screen with which users can interact in order to do
something.
Intents
Intents are asynchronous message object which allow the
application to request functionality from other components of the
Android system, e.g. from Services or Activities.
Services
Services perform long-running operations in the background and
does not provide a user interface.
6. Android Components
Content Providers
A ContentProvider provides a structured interface to application data. Via a
ContentProvider your application can share data with other applications.
App Widgets
Widgets are miniature application views that can be embedded in other applications
(such as the Home screen) and receive periodic updates.
9. Project Components – Android Studio
Main Project
This would be entire project context.
A project is an organizational unit that represents a complete software solution.
.idea
storing project specific metadata.
10. Project Components – Android Studio
Project Module (app)
This is the actual project folder where your application code resides.
has 3 sub directories
Build
complete output of the make process i.e. classes.dex, compiled classes and
resources, etc.
libs
hold the libraries or .jar files that needed in the project.
src
11. Project Components – Android Studio
src:
have both application code and android unit test script.
Have two folders
androidTest
main
two subfolders java and res.
The java folder contains all the java codes and res contains drawables, layouts, etc.
12. Project Components – Android Studio
Gradle
This is where the gradle build system’s jar wrapper. i.e. this jar is how AS
communicates with gradle installed in Windows (the OS in my case).
External Libraries
This is not actually a folder but a place where Referenced Libraries and
information on targeted platform SDK is shown.
13. Supporting Different Densities
Densities
xxhdpi: 2.5
xhdpi:2.0
hdpi: 1.5
mdpi: 1.0 (baseline)
ldpi: 0.75
0ne approach is to work in the base standard (normal size and MDPI) and scale
it up or down for the other buckets.
Another approach is to start with the device with the largest screen size, and
then scale down and figure out the UI compromises you'll need to make on
smaller screens.
14. Android Debug Bridge
Used for a wide variety of developer tasks
Read from the log file
Show what android devices are available
Install android applications (.apk files)
15. Android SDK Manager
Android SDK separates tools, platforms, and other components into
packages.
SDK Manager help you to maintain these packages.
Add new packages.
Update packages.
Delete packages.
16. Run on the Emulator
Step 1 - Create an AVD
Step 2 - Run the app from Android Studio
17. Run on a Real Device
Step 1 - Set up your device
install the appropriate USB driver for your device.
Enable USB debugging on your device.
Enable on phone to use developer features.
In the main apps screen select Settings -> Applications -> Development -> USB
debugging (it needs to be checked)
Step 2 - Run the app from Android Studio
Kernal- software or hardware binding
Libraries-Android has its own libraries, which is written in C/C++
Dalvik - the software that runs the apps on android devices.
App framework - the toolkit that all applications use.It provide utilities to build apps.