MELJUN CORTES Visual basic 2005 Mobile Programming
-
Upload
meljun-cortes -
Category
Technology
-
view
41 -
download
0
description
Transcript of MELJUN CORTES Visual basic 2005 Mobile Programming
Visual Basic 2005Visual Basic 2005X. MOBILE PROGRAMMING
MELJUN CORTESMELJUN CORTES
Mobile ProgrammingMobile ProgrammingObjectives
In this session you will learn:•The .NET Framework Architecture.•What is a .NET Compact Framework program.•How to build the User Interface for Mobile Applications.•How to manage device data.•To develop a simple mobile application.
Visual Basic 2005
OverviewOverview
The .NET Compact Framework is a programming interface and runtime library created at the nexus of two Microsoft technologies:◦Windows CE, an operating system for mobile
and embedded smart devices◦.NET, Microsoft's reinvention of its
programming interfaces and developer tools
Visual Basic 2005
Mobile Programming
OverviewOverview
The Microsoft .NET Compact Framework (.NET CF) is a version of the .NET Framework that is designed to run on Windows CE based mobile/embedded devices such as PDAs, mobile phones, factory controllers, set-top boxes, etc
Visual Basic 2005
Mobile Programming
OverviewOverview
The .NET Compact Framework uses some of the same class libraries as the full .NET Framework and also a few libraries designed specifically for mobile devices such as Windows CE InputPanel
To be able to run applications powered by the .NET Compact Framework, the platform must support the Microsoft .NET Compact Framework runtime
Visual Basic 2005
Mobile Programming
Design GoalsDesign Goals
SmallModularPortableCompatibleConnectedReal Time
Visual Basic 2005
Mobile Programming
Design GoalsDesign Goals
The .NET Compact Framework team adopted the following design goals for the .NET Compact Framework:◦Build on the benefits of the .NET Framework◦Maintain consistency with the desktop version◦Ensure that the framework runs well on mobile
and embedded devices◦Expose the richness of target platforms◦Preserve the look and feel of platforms◦Provide portability to other mobile operating
systems
Visual Basic 2005
Mobile Programming
Essence of a .NET Compact Framework Essence of a .NET Compact Framework ProgramProgram
Is built to use the .NET Compact Framework libraries
Has a GUIIs defined entirely in accessible source
codeHas one or more classes derived from the System.Windows.Forms
Visual Basic 2005
Mobile Programming
Creating a Smart Device ApplicationCreating a Smart Device Application
To create a new .NET Compact Framework application, start Visual Studio .NET 2005 and select the File, New Project… menu item
Smart Device project types
Visual Basic 2005
Mobile Programming
Creating a Smart Device ApplicationCreating a Smart Device Application
Form design of a smart device
application
Visual Basic 2005
Mobile Programming
ADO .NET ProgrammingADO .NET Programming
ADO.NET also includes a set of .NET Compact Framework classes used for database programming in mobile applications
It provides a convenient, flexible model for operating on memory-resident databases
Visual Basic 2005
Mobile Programming
ADO .NET ProgrammingADO .NET Programming
Because of the capabilities of the ADO.NET classes, you can use either a two-layer approach or a three-layer approach to data management
A two-layer (connected)
approach
Visual Basic 2005
Mobile Programming
ADO .NET ProgrammingADO .NET Programming
A three-layer (disconnected)
approach
Visual Basic 2005
Mobile Programming