Lecture 1: IDE + Application Structure + GUI Elements CSS290: APPS ON MOBILE DEVICES.

Slides:



Advertisements
Similar presentations
Creating Windows Store Apps. 1. Overview of Windows Store applications 2. Worked example 3. Adding controls and event handlers Contents 2.
Advertisements

11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
LAMAD Windows Phone Part 1 The Platform and SDK.
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
Lecture 2: Events + Service Routines + Instance vs local Variable CSS290: APPS ON MOBILE DEVICES.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Microsoft Visual Basic 2012 CHAPTER TWELVE (ENRICHMENT CHAPTER) Windows Store Apps.
CHAPTER 1 XNA Game Studio 4.0. Your First Project A computer game is not just a program—it is also lots of other bits and pieces that make playing the.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
11 Games and Content Session 4.1. Session Overview  Show how games are made up of program code and content  Find out about the content management system.
Introduction to VB.NET Tonga Institute of Higher Education.
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.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
Using Eclipse. What is Eclipse? The Eclipse Platform is an open source IDE (Integrated Development Environment), created by IBM for developing Java programs.
Introduction to Mobile Programming. Slide 2 Overview Fundamentally, it all works the same way You get the SDK for the device (Droid, Windows, Apple) You.
IT 211 Project Integration and Deployment Lab #11.
IE 411/511: Visual Programming for Industrial Applications
VISUAL C++ PROGRAMMING: CONCEPTS AND PROJECTS Chapter 1B Introduction (Tutorial)
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
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.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
BIL528 – Bilgisayar Programlama II Introduction 1.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
Advanced topics in touchdevelop touchdevelop vs. apps with Visual Studio comparison Disclaimer: This document is provided “as-is”. Information and views.
Chapter 2 – Introduction to the Visual Studio .NET IDE
TODAY: CONCEPTS Development for portable devices Definition of resources Deployment of resources Begin GUI Elements Properties and organization Events.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Installation of Visual Studio Android emulator and Android Studio
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Testing, Debugging, and Deploying a Mobile App Lesson 8.
Understanding Mobile Devices, Interactions, and Tools Lesson 1.
1 Using an Integrated Development Environment. Integrated Development Environments An Integrated Development Environment, or IDE, permits you to edit,
Introduction ITEC 420.
Dive Into® Visual Basic 2010 Express
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
Visual programming Chapter 1: Introduction
Introduction to the Visual C# 2005 Express Edition IDE
MonoGame and Windows 8.
Introduction to Silverlight
Chapter 2 – Introduction to the Visual Studio .NET IDE
CIS16 Application Development Programming with Visual Basic
Tooling and Diagnostics
Using Eclipse.
Shelly Cashman: Microsoft Windows 10
Presentation transcript:

Lecture 1: IDE + Application Structure + GUI Elements CSS290: APPS ON MOBILE DEVICES

TODAY: CONCEPTS Readings: Refer to the Syllabus: Chapter 1 (ignore discussions on XNA) and 2. “Typical” software development environment Relationship between IDE and file system Visual Studio vs. Explorer MAC: Eclipse vs. Finder Development for portable devices Definition of resources Deployment of resources Begin GUI Elements Properties and organization Tool: Expression Blend

TOOLS USED Visual Studio 2010 Windows Phone Developer SDK SDK: Software Development Kit Windows Presentation Foundation (WPF) The xaml files …. And Expression Blend Silverlight Windows Phone 7: because it is fun

CREATE YOUR FIRST PROJECT

WORKING WITH THE IDE Solution, Project, Deploy vs. Debug, Run without Debug Debug vs. Release View  Solution Explorer Show/Hide button Refresh button Toolbox Properties Window Context Sensitive Window

COMPILE/BUILD AND RUN Compile (build), and Run Two separate procedure Run on Emulator: The executable The.xap file: where is this file? How to “run” this program? Double click on.exe, what happens? How to “load” the.xap onto the phone? Go check out a Windows Phone

DEPLOYMENT Where is your app on the phone? What is the name of your app? How to change this? What is your icon? How to change that? Explorer: view file extension how? How to “pin” your all to the main page? How to un-pin? How to delete your app from the phone? Notice the UI design: pressed for a while and see what happens?!

WORKING WITH THE DEVICE Unlock for development! Refer to web-site under WP7 sites, wait a little this process is going to be MUCH easier in a few weeks Zune must be running Communication channel Load and run on the phone From the.xap file From the IDE Limited number of Apps you can load!

IMAGES IN THE PROJECT Background: 173x173, Icon: 62x62 WMAppManifest.xml: Look for Background.png Or, project properties: GUI view vs. xaml view How to include your own images Must “Include into project” Properties of the newly added image: Build Action: Content Copy to Output: Copy if newer Remove all unused images!! Hint: If you don’t see changes on the phone un-install + Re-deploy

PROJECT PROPERTIES Double click on Properties (Under Project) + Application Tab: XAP file name Deployment Title + Icon: in the app area Pin to main: Tile + Background image Hint: If you can’t see your images in the properties windows Close/open the property window to see them in the drop-down menu.XAP files: Simple zip file: change file extension See all the images?! Remove unused images!!

FILES IN THE PROJECT Which are the useful/useless files? Build in Release: Save the.xap file (your APP) from the Bin/Release folder. Useless files: Bin, obj folders can be deleted! Any files ending with:.cache,.user  can remove these files

PROJECTS FOR THIS CLASS For exercises and MPs DO NOT copy projects Always create from scratch Project and App naming convention: help me grade GUID: actual project name [AssemblyInfo.cs]

EXERCISE 1: (TO DO AND HAND-IN IN CLASS) Familiarization with the IDE When done, start experimenting changing the application image and icon

WINDOWS PRESENTATION FOUNDATION (WPF) Fancy name for simple idea Source files:.xaml and.xaml.cs Two sets: App and MainPage App: don’t worry about this … but … this is the “Entry point:” the Main() Calls: MainPage()! Double click on MainPage.xaml.cs: C# source code … whooo … MainPage.xaml

SELF TEST QUESTIONS Why should we remove bin/obj folders before submission? Why do you need to explicitly add new icon image to a project in order for it to show up? Why should we remove all unused images from a project? How do you remove/add images to a project? What is the executable file for you’re your phone app? What is the content of the.xap file? Where can you find this file in your project structure?