Android Tutorial Team 3 Jerry Yu Mayank Mandava Mu Du Will Wangles.

Slides:



Advertisements
Similar presentations
Application Fundamentals. See: developer.android.com/guide/developing/building/index.html.
Advertisements

Basic Functionality in Android. Functionality in Android Events in Java – mouse related mouse clicked button down or up mouse entered – many others key.
@2011 Mihail L. Sichitiu1 Android Introduction Hello Views Part 1.
@2011 Mihail L. Sichitiu1 Android Introduction Hello World.
Presenting Lists of Data. Lists of Data Issues involved – unknown number of elements – allowing the user to scroll Data sources – most common ArrayList.
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
Introduction to Android Programming Content Basic environmental structure Building a simple app Debugging.
Android development the first app. Andoid vs iOS which is better? Short answer: neither Proponents on both sides For an iOS side, see this article on.
Getting Started with Android APIs Ivan Wong. Motivation - “Datasheet” - Recently exposed to what’s available in Android - So let’s see what API’s are.
Chapter 2: Simplify! The Android User Interface
Android Activities 1. What are Android Activities? Activities are like windows in an Android application An application can have any number of activities.
@2011 Mihail L. Sichitiu1 Android Introduction GUI Menu Many thanks to Jun Bum Lim for his help with this tutorial.
1/29/ Android Programming: FrameLayout By Dr. Ramji M. Makwana Professor and Head, Computer Engineering Department A.D. Patel.
Chapter 2 The Android User Interface. Objectives  In this chapter, you learn to:  Develop a user interface using the TextView, ImageView, and Button.
로봇을 조종하자 3/4 UNIT 17 로봇 SW 콘텐츠 교육원 조용수. 학습 목표 스마트 폰의 센서를 사용할 수 있다. 2.
Mobile Programming Lecture 5 Composite Views, Activities, Intents and Filters.
Networking: Part 1 (Web Content). Networking with Android Android provides A full-featured web browser based on Chromium, the open source browser engine.
Import import android.graphics.Bitmap; import android.widget.ImageView;
로봇 모니터링 1/2 UNIT 20 로봇 SW 콘텐츠 교육원 조용수. 학습 목표 Message Queue Handler 2.
Mobile Programming Lecture 12 HierarchyViewer, Linkify, Gestures, and Version Control.
1 Introducing Activity and Intent. 2 Memory LinearLayout, weight=2 LinearLayout, weight=1 TextView ListView.
ANDROID – DRAWING IMAGES – SIMPLE EXAMPLE IN INTERFACE AND EVENT HANDLING L. Grewe.
Android View Stuff. TextViews Display text Display images???
Activities and Intents Richard S. Stansbury 2015.
로봇을 조종하자 4/4 UNIT 18 로봇 SW 콘텐츠 교육원 조용수. 학습 목표 Intent Activity 호출 2.
Android and s Ken Nguyen Clayton state University 2012.
로봇을 조종하자 1/5 UNIT 14 로봇 SW 콘텐츠 교육원 조용수. 학습 목표 터치 이벤트를 처리할 수 있다. 2.
TCS Internal Maps. 2 TCS Internal Objective Objective :  MAPS o Integration of Maps.
User Interface Layout Interaction. EventsEvent Handlers/Listeners Interacting with a user.
Android Alert Dialog. Alert Dialog Place Button to open the dialog. public class MainActivity extends ActionBarActivity { private static Button button_sbm;
CMPE419 Mobile Application Development Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren
CMPE419 Mobile Application Development Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren
Chapter 2: Simplify! The Android User Interface
Lab7 – Appendix.
Android Introduction Hello World
several communicating screens
CS240: Advanced Programming Concepts
GUI Programming Fundamentals
Further android gui programming
滑動版面 建國科技大學 資管系 饒瑞佶 2013/7 V1.
CS499 – Mobile Application Development
CS499 – Mobile Application Development
Android Introduction Hello World.
Android Notifications
Android Widgets 1 7 August 2018
Android Introduction Hello Views Part 1.
Picasso Revisted.
CIS 470 Mobile App Development
Android Programming Lecture 6
CIS 470 Mobile App Development
CIS 470 Mobile App Development
null, true, and false are also reserved.
CMPE419 Mobile Application Development
CMPE419 Mobile Application Development
BMI Android Application will take weight and height from the users to calculate Body Mass Index (BMI) with the information, whether user is underweight,
Activities and Intents
滑動 建國科技大學 資管系 饒瑞佶.
CIS 470 Mobile App Development
CIS 470 Mobile App Development
Android Notifications
ארועים ומאזינים android.
Android Project Structure, App Resources and Event Handling
Adding Components to Activity
CMPE419 Mobile Application Development
BLP 4216 MOBİL UYGULAMA GELİŞTİRME-2
CMPE419 Mobile Application Development
Android Play YouTuBe 建國科技大學 資管系 饒瑞佶 2017/10 V1.
Android Sensor Programming
Android Sensor Programming
CIS 694/EEC 693 Android Sensor Programming
Presentation transcript:

Android Tutorial Team 3 Jerry Yu Mayank Mandava Mu Du Will Wangles

Tutorial 1 – Hand drawn A new tutorial activity Background set to “Drawable” Image created externally with overlay Goes away on click <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"

Tutorial 1 – Hand drawn Tutorial can be explicitly enabled/disabled if (PrefsMgr.getString(this, IS_TUTORIAL_ENABLED) == null) { // either first launch, or user has not disabled tutorial yet, so tutorial window opens by default Intent tutorialIntent = new Intent(MainActivity.this, TutorialActivity.class); startActivity(tutorialIntent); } else if (PrefsMgr.getString(this, IS_TUTORIAL_ENABLED).equalsIgnoreCase("true")) { Intent tutorialIntent = new Intent(MainActivity.this, TutorialActivity.class); startActivity(tutorialIntent); } private void disableTutorial() { PrefsMgr.setString(this, IS_TUTORIAL_ENABLED, "false"); } private void enableTutorial() { PrefsMgr.setString(this, IS_TUTORIAL_ENABLED, "true"); }

Tutorial 2 – Transparent Overlay New Activity on top of old one Background made semi- transparent Image consists of only arrows and text Launches first time, or manually. true true false

Tutorial 2 – Transparent Overlay Includes Landscape Mode

Tutorial 3 - ShowcaseView Single protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_single_shot); Target viewTarget = new ViewTarget(R.id.button, this); new ShowcaseView.Builder(this, true).setTarget(viewTarget).setContentTitle(R.string.title_single_shot).setContentText(R.string.R_string_desc_single_shot).singleShot(42).build(); }

Tutorial 3 – ShowcaseView Animations private ShowcaseView showcaseView; … public void onClick(View v) { switch (counter) { case 0: showcaseView.setShowcase(… break; case 1: showcaseView.setShowcase(.. break; case 2: showcaseView.setTarget(Targ.. break; case 3: showcaseView.hide(); setAlpha(1.0f, textView1, break; } counter++; }

Appendix ShowcaseView: Transparent Activity: transparent-activity-in-android transparent-activity-in-android