Friday, August 28, 2015 Beginning Mobile.NET Umer Faruq (3D Business Solutions) Mohammad Faridi (faridianslip)

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

WAP Next Generation
Mobile Technologies Computer Networks Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
Ch3: Introduction to HTML5 part 2 Dr. Abdullah Almutairi ISC 340 Fall 2014.
CHAPTER 30 THE HTML 5 FORMS PROCESSING. LEARNING OBJECTIVES What the three form elements are How to use the HTML 5 tag to specify a list of words’ form.
Web App Development with ASP.NET. Introduction In this chapter, we introduce web-app development with Microsoft’s ASP.NET technology. Web-based apps create.
MultiPlatform Applications Module. Agneda for today Areas to be covered Assessment for the module Agenda for the module timetable Procatical sessions.
WML by Mary Lee, Doug Kondor, Thu Nguyen. C499 PresentationML 2 Agenda MARY LEE Introduction History Security Issue THU NGUYEN Design Syntax DOUG KONDOR.
Wireless Application Protocol and i-Mode By Sridevi Madduri Swetha Kucherlapati Sharrmila Jeyachandran.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 3-1 of…
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
WAP: Wireless Application Protocol Mike Mc Ardle ACSG April, 2005.
Web Portals for Mobile Devices Arcadia’s Experience.
Wireless Application Protocol (WAP) Reference: Chapter 12, section 2, Wireless Communications and Networks, by William Stallings, Prentice Hall.
Punit Shah Technical Lead | Microsoft
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
An Introduction to WAP/WML. What is WAP? WAP stands for Wireless Application Protocol. WAP is for handheld devices such as mobile phones. WAP is designed.
9-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Submitted by:- Amanat Dabla ,C1 IT,final yr. Neeru ,C1 IT,final yr.
1 Remote Management of Wireless Gateway Student Name: Dinesh D N (BITS ID: 2004HZ12158) MphasiS Technologies Ltd, Bangalore March 2006.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
By Amisha Pardasani. Contents Introduction to Wireless Application Protocol Introduction to Wireless Markup Language WML Formatting Links and Images Input.
Lectured By: Vivek Dimri Assistant Professor, CSE Dept. SET, Sharda University, Gr. Noida.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
WML Wireless Markup Language Presented by: Richa Saxena Roll no
CIS 375—Web App Dev II WAP. 2 Introduction to WAP WAP ________________________ is an application communication protocol that uses a ______ Browser in.
ASP.NET 2.0 Chapter 5 Advanced Web Controls. ASP.NET 2.0, Third Edition2 Objectives.
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
WML Programming. What is WML WML Programming Wireless mark up language based on XML. Purpose:  to specify user interface behavior and  display contents.
ASP.Net, Web Forms and Web Controls 1 Outline Web Controls Text and Graphics Controls AdRotator Control Validation Controls.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Lectured By: Vivek Dimri Assistant Professor, CSE Dept. SET, Sharda University, Gr. Noida.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
TECHNICAL SEMINAR Presented by :- Satya Prakash Pattnaik TECHNICAL SEMINAR By Satya Prakash Pattnaik EC Under the guidance of Mr.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
FYP: LYU0001 Wireless-based Mobile E-Commerce on the Web Supervisor: Prof. Michael R. Lyu By: Tony, Wat Hong Fai Harris, Yan Wai Keung.
HTML Forms.
Are you getting the benefits from ASP.NET and AJAX? Introduction to the CTC ASP.NET Webforms Generator.
Wireless Application Protocol. WAP- Wireless Application Protocol Gateway WAP WEB Server Content Browser HTTP IPWAP Deck WML.
STATE MANAGEMENT.  Web Applications are based on stateless HTTP protocol which does not retain any information about user requests  The concept of state.
McLean HIGHER COMPUTER NETWORKING Lesson 6 Types of Browsers & WAP Explanation of browser functions Wireless access to the Internet Description of.
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
Presented By: Dixit Wadhwani B.TECH 3 rd YEAR, CSE 07CS Sir Padampat Singnania University Technical Seminar on Wireless Markup Language Guided By:
TRAINING SESSIONS.NET Controls.  Standard Controls  Label  Textbox  Checkbox  Button, Image Button, Image control  Radio Button  Literal  Hyperlink.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
MBL 305 ASP.NET Mobile Controls: Best Practices Gökşin Bakir CSA Yage Ltd. Microsoft Regional Director.
WML & WML Script Presented by Kelvin Liu 01/06/2000.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
Presentation Title 1 1/27/2016 Lucent Technologies - Proprietary Voice Interface On Wireless Applications Protocol A PDA Implementation Sherif Abdou Qiru.
Handheld device markup language
Text INTRODUCTION TO ASP.NET. InterComm Campaign Guidelines CONFIDENTIAL Simply Server side language Simplified page development model Modular, well-factored,
Wireless Application Protocol (WAP) William Thau CSC 8560 Dr. L. Cassel.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Wednesday NI Vision Sessions
Chapter 17 The Need for HTML 5.
Developing Mobile Web Applications With ASP.NET Mobile Controls
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
WEB PROGRAMMING JavaScript.
M-Commerce Wireless Markup Language (WML) By Prof T.R. Vaidyanathan.
PART 2.
Web Development Using ASP .NET
Programming with Microsoft Visual Basic 2008 Fourth Edition
Mobile Internet and WAP
Presentation transcript:

Friday, August 28, 2015 Beginning Mobile.NET Umer Faruq (3D Business Solutions) Mohammad Faridi (faridianslip)

Agenda  Introduction to Mobile  Design/Performance Considerations of a Mobile Application  Mobile Internet Toolkit (MIT)  Mobile Controls  MobileCapabilities 

Friday, August 28, 2015 Introduction to Mobile

 Evolution of Mobile Technology  Current Mobile Development is geared towards: – PIMs (Personal Information Manager) – PDAs (Personal Digital Assistant) – Cell Phones (Mobile Web Browsing)  2G technology – Time Division Multiple Access (TDMA) – Code Division Multiple Access (CDMA) Running at 9.6kbps – Global System for Mobile (GSM)

Introduction to Mobile  Evolution of Wireless Technology  Next Generation Mobile Development will be geared towards: – Enterprise Applications – Rich Feature Sets  2.5G technology – General Packet Radio Service (GPRS) Up to 100 kbps – Enhanced Data rates for GSM Evolution (EDGE) Up to 384 kbps

Introduction to Mobile  Wireless Application Protocol (WAP)  Wireless specifications were needed because TCP/IP was not sufficient for phones  WAP Forum was formed in 1997 by Ericsson, Nokia, Motorola and Phone.com  WAP Forum has contributed to WSP and WML as de facto standards  WAP protocol includes: – WSP (Wireless Session Protocol) - mimics what HTTP does for the web – WML (Wireless Markup Language) – mimics what HTML does for the web

Introduction to Mobile  Wireless Markup Language (WML)  WML is based on XML which means it is case sensitive and all tags must be closed  The following standards have to be met for a qualified WML file – WML files must start with the following document type declaration:

Friday, August 28, 2015 Design/Performance Considerations

Design Considerations  Limitations that affect the design:  Limited CPU Cycles  Half/Full Duplex (One/Two Way Communication)  Latency caused by SAR (Specific Absorption Rate)  Network Connectivity (Full/One Way Coverage)

Design Considerations  Things to remember during development:  Real estate (display size)  Display Quality  Available Bandwidth  Supported Protocols (WML, HTML)

Design Considerations  Two approaches to Mobile Development  Client Side – applications are device specific – have the richest UI – harder to deploy  Server Side – applications run in browsers – require internet service – easy to deploy and have less UI choices

Design Considerations  How to Layout a Wireless application:  Use the Deck of Cards concept  Transfer multiple screens at one time  User Input should be based on a Step-by-Step approach Card

Design Considerations  Best Practices:  Implement Error Recovery Mechanisms  Benchmark Time-To-Live variable  Use SSL encryption  Optimize your application for individual devices  Minimize round-trips/communication  Cookieless State Management  Disable ViewState

Performance Considerations  Factors that affect the application:  Requests per second  Time To First Byte (TTFB) and Time To Last Byte (TTLB)  Processor Use  Scalability in terms of number of clients and processors  Size response bytes

Friday, August 28, 2015 Mobile Internet Toolkit and Mobile Controls

Mobile Internet Toolkit  MIT:  writes out Standard Code (WML, HTML, cHTML)  includes Visual Development Tools  includes Debugger  provides Drag and Drop development

Mobile Internet Toolkit  MIT:  utilizes ASP.NET Pages that render on Cell Phones, Pocket PCs and Palm Browser  provides Server Side Mobile Controls  provides rich device identification mechanisms  write-once/view anywhere – Mobile pages can be consumed by web browsers as well

Mobile Internet Toolkit  Is different than regular web.config  – Markup Languages – Device Browsers – Specific Devices – Device Capabilities

Mobile Controls: Text View  Three ways to display text:  Display text Directly within a form  Use a label control – Pro – Programmatic access to the text – Con – Cannot contain HTML tags  Use a TextView Control – Pro – Programmatic access to the text – Pro – Can contain HTML tags – Cons – NONE ??

Mobile Controls: List  A Mobile List Control acts like a regular Listbox.  HTML device renders HTML Table  WML device renders List Item with a tag in b/w them  List control supports a property called Decoration:  None  Bulleted  Numbered

Mobile Controls: List  Allows binding to a DataSource such as DataSet, ArrayList, etc  Pagination is enabled by setting the Pagination property of the form  Creates next and previous links automatically  Change the ItemsAsLinks property to display each list choice as a link

Mobile Controls: PagerStyle Class  PagerStyle Class:  Controls the way the form is displayed on the browser  StyleReference property changes the presentation of the text; Values include Error, SubCommand, Title  NextPageText and PreviousPageText Properties allow changing the next and previous label text

Mobile Controls: Textbox  Very similar to the ASP.NET textbox  Does not support multi-line  Properties  Numeric (unique to WML devices) – allows user to input numeric values directly from the keypad  Password – hides critical data by showing asterisks

Mobile Controls: Validation  Validation is supported by Mobile Controls:  Compare – compares two values or does a data type check  Custom – permits user to write a custom validation function  Range – checks if the value entered falls within a specified range  Regular Expression – matches a value against a regular expression  Required Field – verifies if a value has been entered or not

Mobile Controls: Validation  Differences between Mobile and Standard Validation Controls:  Mobile Validation Summary – is placed in a separate form – has a property, formToValidate, which is set to the form that needs to be validated  No JavaScript Support – None of the controls use JavaScript to display error messages

Mobile Controls: Images  Complicated Proposition  Several different incompatible formats  Mobile devices only support bmp or wbmp  For compatibility, need to support gif and jpg  Image Control  Can detect different devices  Automatically displays the proper image file format  If image format is not supported, it displays the value assigned to AlternateText property

Mobile Control: Adrotator  Works like the ASP.NET Adrotator  Shows alternate text on WML Devices  Shows images on HTML Devices  To define the ad, use an External XML file – ImageURL – NavigateURL – AlternateText – Keyword – Impressions

Mobile Control: PhoneCall  Places phone calls on phone devices  If the device does not support calling, a label or phone number is shown  You can tie the call control to a specified phone number by setting the PhoneNumber property

Mobile Controls: Calendar  In a WML device, Calendar control renders:  a series of selections to choose a date  user can enter the date themselves  In a HTML device, Calendar control renders a regular calendar

Friday, August 28, 2015 Mobile Capabilities

 When MIT is installed, machine.config file is changed  Browser cap section is expanded  MobileControls section is added  These changes in machine.config allows you to reference System.Web.Mobile.MobileCapabilities class which gives you access to a multitude of information specific to the device

Mobile Capabilities  What does MobileCapabilities class buy you:  Browser – returns the type of browser used by the device (IE, Phone.com)  Type – returns the general type of the device (IE5, PocketIE)  PreferredRenderingType – returns the MIME type of the rendering language of the device (HTML3.2 or WML 1.1)  ScreenCharactersWidth & Height – returns the number of characters the screen can show

Mobile Capabilities  What does MobileCapabilities class buy you:  CanInitiateVoiceCall  IsColor  ActiveX  AOL  CanSendMail

Mobile Capabilities  What does MobileCapabilities class buy you:  Cookies  Frames  IsMobileDevice  JavaScript  JavaApplets

Friday, August 28, 2015 Device Specific

 DeviceSpecific tag allows you to control how things are rendered on different devices  DeviceSpecific tag can be applied at:  individual page(s)  individual form(s)  individual Control(s)  DeviceSpecific is a thought out process

Friday, August 28, 2015 Questions?