Xamarin Android Hands On. Hands-On: Xamarin Android Ziele – Kennenlernen von Xamarin Android – Native UI – https://developer.xamarin.com/guides/android/

Slides:



Advertisements
Similar presentations
Google Android Introduction to Mobile Computing. Android is part of the build a better phone process Open Handset Alliance produces Android Comprises.
Advertisements

Cross Platform Mobile Development with.NET Greg Shackles Senior Software Engineer OLO Online Ordering
CE881: Mobile and Social Application Programming Simon M. Lucas Menus and Dialogs.
M E N T O R M A T E, L L C. A L L R I G H T S R E S E R V E D. 2 Android Application Step by Step Eleonora Todorova Boyan Iliev.
Android basics. About Android Linux based operating system Open source Designed for handheld devices Developed by Android Inc. Google (2005) Open Handset.
Android User Interface
Using Java interop in your Xamarin.Android
Unlocking Android Chapter 4.  Understanding activities and views  Exploring the Activity lifecycle  Working with resources  Defining the AndroidManifest.xml.
Android 02: Activities David Meredith
Building Windows phone, iOS and Android apps with C# Jaime Rodriguez Principal Evangelist, Microsoft.
Android Tutorial Android Written in Java Utilizes Dalvik VM – Just in time (JIT) compilation since Android 2.2.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Programming with Android: Android Fragments Luca Bedogni Marco Di Felice Dipartimento di Scienze dell’Informazione Università di Bologna.
Android Fragments A very brief introduction Android Fragments1.
Chien-Chung Shen Manifest and Activity Chien-Chung Shen
How Inflation Works!. Examine the following code public class MainActivity extends Activity public void onCreate(Bundle savedInstanceState)
Better reference the original webpage :
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Programming Your Android App Gourav Khadge
Introducing the Sudoku Example
Android: versions Note that: Honeycomb (Android v3.0) A tablet-only release Jelly Bean (Android v4.1) Released on July 09, 2012.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Concurrency in Android with.
Favorite Twitter® Searches App Android How to Program © by Pearson Education, Inc. All Rights Reserved.
Android Activities 1. What are Android Activities? Activities are like windows in an Android application An application can have any number of activities.
Xamarin.Forms Hands On.
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.
Android Programming-Activity Lecture 4. Activity Inside java folder Public class MainActivity extends ActionBarActivity(Ctrl + Click will give you the.
INTRODUCTION TO ANDROID. Slide 2 Application Components An Android application is made of up one or more of the following components Activities We will.
Understand applications and their components activity service broadcast receiver content provider intent AndroidManifest.xml.
Networking: Part 1 (Web Content). Networking with Android Android provides A full-featured web browser based on Chromium, the open source browser engine.
Xamarin iOS Hands On. Hands-On: Xamarin iOS Ziele – Kennenlernen von Xamarin Android – Native UI –
Activity Android Club Agenda Hello Android application Application components Activity StartActivity.
Android App Basics Dr. David Janzen Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution 2.5.
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.
Video Games list lab 6  At the end of this lab you will be expected to know:  What Views, View Groups, Layouts, and Widgets are and how they relate to.
HW#9 Clues CSCI 571 Fall, HW#9 Prototype
MOBILE COMPUTING D10K-7D02 MC05: Android UI Design Dr. Setiawan Hadi, M.Sc.CS. Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran.
Activities Димитър Н. Димитров Astea Solutions AD.
Activities and Intents Richard S. Stansbury 2015.
Web APIs By Behrooz and Corey mins... Punch It!! We will give a brief overview of the following topics: WebView WebSettings WebViewClient WebChromeClient.
INTRODUCTION TO ANDROID. Slide 2 Introduction I take a top-down approach to describing an application’s anatomy.
Android apps development - Eclipse, Android SDK, and ADT plugin Introduction of.
CHAPTER 1 part 1 Introduction. Chapter objectives: Understand Android Learn the differences between Java and Android Java Examine the Android project.
Introduction to Android Programming
Introduction to Android Chapter 1 1. Objectives Understand what Android is Learn the differences between Java and Android Java Examine the Android project.
Lab7 – Appendix.
Google VR (gvr) CardBoard and DayDream With OpenGL
Android Application -Architecture.
Lab7 – Advanced.
Java Examples Embedded System Software
GUI Programming Fundamentals
Mobile Application Development Chapter 3 [Using Eclipse Android Studio for Android Development] IT448-Fall 2017 IT448- Fall2017.
CSE 486/586 Distributed Systems Android Programming --- 2
MAD.
Anatomy of an Android Application
A brief introduction to Kotlin
Android Programming Lecture 6
Activity & Intent Fall 2012 CS2302: Programming Principles.
CMPE419 Mobile Application Development
Activities and Intents
Activity & Intent.
Objects First with Java
Android Project Structure, App Resources and Event Handling
A very brief introduction
CMPE419 Mobile Application Development
Cosc 5/4730 EmojiCompat library..
Activities, Fragments, and Intents
Presentation transcript:

Xamarin Android Hands On

Hands-On: Xamarin Android Ziele – Kennenlernen von Xamarin Android – Native UI –

Project Setup Create Crossplattform project (Shared Library) Have a look at project structure – Assets – Properties – Resources Drawable Layout Values Hey, it’s Android!

Activity [Activity (Label = "LollipopApp", MainLauncher = true, Icon = -> Attribute gets compiled into AndroidManifest.xml

Activity public class MainActivity : Activity { protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); // Set our view from the "main" layout resource SetContentView (Resource.Layout.Main); // Get our button from the layout resource, // and attach an event to it var button = FindViewById (Resource.Id.myButton); } }

Native API Full.net and Java API Java.* Javax.* ! Naming conflicts may occur ! e.g. Color, URI Use.net API for higher crossplattform reusability

Native API var intent = new Intent(Intent.ActionView); intent.SetData(Android.Net.Uri.Parse (" StartActivity(intent);

AXML Designer Show Designer