Activity & Intent.

Slides:



Advertisements
Similar presentations
Test practice Multiplication. Multiplication 9x2.
Advertisements

Unlocking Android Chapter 4.  Understanding activities and views  Exploring the Activity lifecycle  Working with resources  Defining the AndroidManifest.xml.
Android 02: Activities David Meredith
The Android Activity Lifecycle. Slide 2 Introduction Working with the Android logging system Rotation and multiple layouts Understanding the Android activity.
Hello world Follow steps under the sections “Create an AVD” and “Create a New Android Project” at
Filip Debelić What is it? Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google Android,
Basic, Basic, Basic Android. What are Packages? Page 346 in text Package statement goes before any import statements Indicates that the class declared.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Chien-Chung Shen Manifest and Activity Chien-Chung Shen
 Understanding an activity  Starting an activity  Passing information between activities  Understanding intents  Understanding the activity lifecycle.
© Keren Kalif Intro to Android Development Written by Keren Kalif, Edited by Liron Blecher Contains slides from Google I/O presentation.
Hello world Follow steps under the sections “Create an AVD” and “Create a New Android Project” at
Android Activities 1. What are Android Activities? Activities are like windows in an Android application An application can have any number of activities.
Mobile Application Development using Android Lecture 2.
Multiplication Facts. 1 x3 3 Think Fast… 2 x4 8.
Networking: Part 1 (Web Content). Networking with Android Android provides A full-featured web browser based on Chromium, the open source browser engine.
Linking Activities using Intents How to navigate between Android Activities 1Linking Activities using Intents.
New Activity On Button Click via Intent. App->res->Layout->Blank Activity A new xml file is created and a new class is added to java folder. In manifest.xml.
Applications with Multiple Activities. Most applications will have more than one activity. The main activity is started when the application is started.
Working with Multiple Activities. Slide 2 Introduction Working with multiple activities Creating multiple views Introduction to intents Passing data to.
Multiplication Facts. 9 6 x 4 = 24 5 x 9 = 45 9 x 6 = 54.
SATMathVideos.Net A set S consists of all multiples of 4. Which of the following sets are contained within set S? A) S2 only B) S4 only C) S2 and S4 D)
Activities Димитър Н. Димитров Astea Solutions AD.
Activities and Intents Richard S. Stansbury 2015.
TCS Internal Maps. 2 TCS Internal Objective Objective :  MAPS o Integration of Maps.
Multiplication Facts. 2x2 4 8x2 16 4x2 8 3x3.
Multiplication Facts Review: x 1 = 1 10 x 8 =
Mobile Programming Lecture 4 Resources, Selection, Activities, Intents.
Services. What is a Service? A Service is not a separate process. A Service is not a thread. A Service itself is actually very simple, providing two main.
Xamarin Android Hands On. Hands-On: Xamarin Android Ziele – Kennenlernen von Xamarin Android – Native UI –
CMPE419 Mobile Application Development Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren
Multiplication Find the missing value x __ = 32.
Working with Multiple Activities. Slide 2 Introduction Working with multiple activities Putting together the AndroidManifest.xml file Creating multiple.
Wiring Fragments Wiring Dialogs. Ask FragmentManager whether home Fragment exists If not, create home Fragment Add it Main Activity setContentView Launch.
Multiplication Facts All Facts. 0 x 1 2 x 1 10 x 5.
Linking Activities using Intents
Multiplication Facts.
Lecture 7: Android Services
Activities, Fragments, and Events
Mobile Application Development BSCS-7 Lecture # 6
Multiplication table. x
CSE 486/586 Distributed Systems Android Programming --- 2
Activities and Intents
Android Widget Tutorial
The Android Activity Lifecycle
Multiplication Facts.
CA16R405 - Mobile Application Development (Theory)
Anatomy of an Android Application
Example 13 Wendy Balmer Indiana U
  Figure 7.1 Track Layout with Input Sensors and Output Switches and Output Tracks.
Android Programming Lecture 5
Adding Functionality to the App Tip Calculator App Activity and the Activity Lifecycle onCreate is called by the system when an Activity.
Activity & Intent Fall 2012 CS2302: Programming Principles.
This is a typical Windows user desktop
Multiplication Facts.
  Figure 8.1 Track Layout with Input Sensors and Output Switches and Output Tracks.
5 × 7 = × 7 = 70 9 × 7 = CONNECTIONS IN 7 × TABLE
5 × 8 = 40 4 × 8 = 32 9 × 8 = CONNECTIONS IN 8 × TABLE
4 × 6 = 24 8 × 6 = 48 7 × 6 = CONNECTIONS IN 6 × TABLE
5 × 6 = 30 2 × 6 = 12 7 × 6 = CONNECTIONS IN 6 × TABLE
Mixed Up Multiplication Challenge
10 × 8 = 80 5 × 8 = 40 6 × 8 = CONNECTIONS IN 8 × TABLE MULTIPLICATION.
3 × 12 = 36 6 × 12 = 72 7 × 12 = CONNECTIONS IN 12 × TABLE
EXP file structure.
MULTIPLICATION.
5 × 12 = × 12 = × 12 = CONNECTIONS IN 12 × TABLE MULTIPLICATION.
Mobile Programming Dr. Mohsin Ali Memon.
5 × 9 = 45 6 × 9 = 54 7 × 9 = CONNECTIONS IN 9 × TABLE
3 × 7 = 21 6 × 7 = 42 7 × 7 = CONNECTIONS IN 7 × TABLE
Demonstration of POM Flowline Optimizer
Presentation transcript:

Activity & Intent

Create an new Activity Create a class extends from Activity Create a layout for the activity setContentView for the activity Configure the activity in the AndroidManifest.xml file

startActivity(intent) Multiple Activities Activity01 Activity02 startActivity(intent)

Intent …… Intent intent = new Intent(); intent.setClass(Activity01.this, Activity02.class); startActivity(intent);

Get information from Intent In the Activity01.class intent.putExtra(“one”,firstValue); In the Activity02.class intent.getStringExtra(“one”);