Working in a Mobile App Development Environment Lesson 2.

Slides:



Advertisements
Similar presentations
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Advertisements

1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Creating and Running Your First C# Program Telerik Software Academy Telerik School Academy.
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Introduction to Silverlight. Slide 2 What is Silverlight? It’s part of a Microsoft Web platform called Rich Internet Applications (RIA) There is a service.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Microsoft Visual Basic 2005: Reloaded Second Edition
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
An Introduction to Visual Basic
IE 411/511: Visual Programming for Industrial Applications
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
ASP.NET &.NET Environment. Overview Part of Microsoft’s.NET environment Used for Development of  Websites  Internet applications  Web Services & XML.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Module 2: Using Microsoft Visual Studio.NET. Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project.
1.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Exploring Networked Data and Data Stores Lesson 3.
Testing, Debugging, and Deploying a Mobile App Lesson 8.
Understanding Mobile Devices, Interactions, and Tools Lesson 1.
Introduction to Silverlight Development Pavel Yosifovich CTO, Matrix Global; Senior Instructor, Hi-Tech College
C# Programming: From Problem Analysis to Program Design1 Visual Studio Configuration C# Programming: From Problem Analysis to Program Design 4th Edition.
Introduction ITEC 420.
Introduction to Visual Basic. NET,. NET Framework and Visual Studio
Introducing the Microsoft® .NET Framework
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Visual Basic.NET Windows Programming
ASP.NET Forms.
INF230 Basics in C# Programming
© 2016, Mike Murach & Associates, Inc.
Object Orientated Programming using C#
Metropolia 2013 C# programming and .NET framework
.NET Framework 2.0 .NET Framework 3.0 .NET Framework 3.5
Chapter 1: An Introduction to Visual Basic 2015
Introduction to Visual Basic 2008 Programming
3.01 Apply Controls Associated With Visual Studio Form
Introduction to .NET Framework Ch2 – Deitel’s Book
Visual programming Chapter 1: Introduction
3.01 Apply Controls Associated With Visual Studio Form
Introduction to the Visual C# 2005 Express Edition IDE
Using Procedures and Exception Handling
CMPE419 Mobile Application Development
Introduction to Silverlight
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
VISUAL BASIC.
© 2016, Mike Murach & Associates, Inc.
CIS16 Application Development Programming with Visual Basic
CIS16 Application Development – Programming with Visual Basic
Tooling and Diagnostics
Creating a Windows Application Project in Visual Studio
Dot Net Application PROF. S. LAKSHMANAN, DEPT. OF B. VOC. (SD & SA),
Programming with Microsoft Visual Basic 2008 Fourth Edition
CMPE419 Mobile Application Development
C# and ASP.NET Programming
Presentation transcript:

Working in a Mobile App Development Environment Lesson 2

Exam Objective Matrix Skills/ConceptsMTA Exam Objectives Working with Developer ToolsWorking with developer tools. (3.4) Understanding Design for Mobile Devices Designing for mobile devices. (3.1)

Working with Developer Tools Platform-specific –Visual Studio Express for Windows Phone –iOS SDK for Apple iPhones Multiplatform –PhoneGap HTML5 JavaScript –Rhodes Open source Ruby-based framework

Using Visual Studio 2010 Express Open project files in Solution Explorer Modify in Code Editor Design Surface resembles phone skin Toolbox provides controls Configure settings through Application Pane Check for build and runtime errors Create a release build

Main Window in Visual Studio 2010 Express for Windows Phone

Application Pane

New Project Dialog Box in Visual Studio IDE

Selecting a Template

Selecting a Windows Phone Version

Microsoft.NET Framework Features –Common Language Runtime (CLR) –Base Class Libraries (BCL) ADO.NET ASP.NET Windows Presentation Foundation (WPF) Windows Workflow Foundation (WF) Windows Communication Foundation (WCF) Windows Forms Data access.NET Compact Framework.NET Micro Framework

.NET Framework Developer Center Main Web Page

Describing and Defining Mobile Design Concepts Metro style provides consistent user interfaces (UIs) Common UI elements –Start screen –Application Bar (usually icons but may contain text labels) –Status Bar (system-level information) –Hardware buttons (i.e., Power, Start, Volume, Back, Search) Location is device dependent

Example of Proper Sizing and Spacing

Example of an Application Bar

Default Hardware Buttons

MyFirstApp in the Visual Studio IDE

Changing the Name of a Control

Adjusting the Button Control

Adjusting the Size of the WebBrowser Control

The Web Browser App UI

Describing and Defining Localization and Globalization Localization –Process of translating text strings into other languages –Achieved by storing resources in resource-only files (separate from application code) Globalization –Process of making an application language- neutral –App presents data as format specific to user’s locale or culture

A List of Resource-only Files in the Visual Studio IDE

Adding a String to the Localization Table

Verifying the Neutral Language

Opening MyFirstApp.csproj in Notepad

Optimizing Mobile Applications Important factors to consider –Startup time –Responsiveness to user Explore development tips for app optimization

Development Tips for Optimized Apps Application startup –Create duplicate splash screens with limited display time –Break into smaller assemblies that load only if needed Images –Use JPG format for opaque –Use PNG format for transparent –Limit maximum image size

Development Tips for Optimized Apps (cont.) Content and resource files –Resource files reduce performance –Set read-only files to Content Progress bar –Use PerformanceProgressBar control instead of ProgressBar Storage bar –Clear temporary data –Give users option to delete user-created data

Selecting to Profile Execution Performance Data in the Application

Profiling Results

More Information about Profiled Performance Data

Asynchronous Programming/Threading Enables multiple tasks to be processed at same time Shares threads Creates discontinuous execution (activities are split) Greatly improves application performance

Object-Oriented Programming (OOP) Everything grouped as objects Increases code re-use and decreases code maintenance –Encapsulation Groups properties and methods together –Polymorphism Ability to substitute one class for another –Inheritance Ability to create new classes based on existing

Model View ViewModel (MVVM) A design pattern which separates the UI from a database Is an example of separation of concerns Allows testing of application’s back-end separate from the UI Enables efficient re-use of code Allows for separate development of back- end and UI

The MVVM Model with Integrated Services ModelViewModelView Services

Model View ViewModel (MVVM) (continued) Model –Describes application domain View –The application UI ViewModel –Middleman between Model and View –Accomplishes data capture and transfer through services, or service agents.

Recap Designing for mobile devices Describing and defining mobile design concepts Describing and defining globalization and localization Optimizing mobile applications Understanding asynchronous programming/threading Understanding object-oriented programming (OOP) Understanding Model View ViewModel (MVVM)