android - android studio part2 - mazenet solution
TRANSCRIPT
Calculator– PART 2
BySharmilee J Java Trainer
Mazenet Solution
Objectives
• Android Studio• Features • System Requirements• Jdk installation• Android studio 2.1 installation• Project structure• Creating an application in Android Studio• Developing CALCULATOR App
What is an Android?
• Android is an open source and Linux-based Operating System for mobile devices such as smart
phones and tablet computers.
• Android was developed by the Open Handset Alliance, led by Google, and other companies.
Features of Android• Beautiful UI• Connectivity• Storage• Media Support• Messaging• Web Browser• Multi-touch• Multitasking• Resizable widgets• Multi-language• GCM• Wi-Fi Direct• Android Beam
Why Android?
Android Architecture
Android Studio
Introduction
• Android Studio is the official IDE for android application development.
• It works based on IntelliJ IDEA
• You can download android studio from the given below link
• https://developer.android.com/studio/index.html
• For MAC• For windows• For linux
Features of Android Studio IDE
• A flexible Gradle-based build system• A fast and feature-rich emulator• A unified environment where you can develop
for all Android devices• Instant Run to push changes to your running
app without building a new APK• Extensive testing tools and frameworks• C++ and NDK support
System Requirements
For Windows• Microsoft® Windows® 7/8/10 (32- or 64-bit)• 2 GB RAM minimum, 8 GB RAM recommended• 2 GB of available disk space minimum,
4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
• 1280 x 800 minimum screen resolution• Java Development Kit (JDK) 8• For accelerated emulator: 64-bit operating system and Intel®
processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
For MAC
• Mac® OS X® 10.8.5 or higher, up to 10.11.4 (El Capitan)• 2 GB RAM minimum, 8 GB RAM recommended• 2 GB of available disk space minimum,
4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
• 1280 x 800 minimum screen resolution• Java Development Kit (JDK) 6
Software needed
• Java JDK1.8• Java Runtime Environment (JRE) 8• Android Studio 2.1
Java Installation
Set Path on Environment variables
• JAVA_HOMEC:\Program Files\Java\jdk1.8.0_51
Android Studio Installation
Project Structure
Calculator App
activity_main.xml (layout file)
MainActivity.java (java file)
Android Virtual Device
Emulator
• The Android SDK includes a virtual mobile device emulator that runs on your computer.
• The emulator lets you prototype, develop and test Android applications without using a physical device.
Emulator
Nungambakkam, ChennaiWebsite: www.mazenetsolution.com
www.mazenet-chennai.in Mobile : 9677718889