Packt Publishing Community, Experience, Distilled

Deploying .NET-based Applications on to Microsoft Windows CE Enabled Smart Devices

HomeBooksSupportFreeAuthorsAward
WELCOME ARTICLES IMPACKT NEWSLETTERS YOUR ACCOUNT ABOUT US

 
SEARCH

Search our Site


BOOK
ODP.NET Developer’s Guide: Oracle Database 10g Development with Visual Studio 2005 and the Oracle Data Provider for .NET
ODP.NET Developer’s Guide: Oracle Database 10g Development with Visual Studio 2005 and the Oracle Data Provider for .NET
See More

Migrating MS Access 2003 Data using the Oracle SQL Developer 1.2
In this article, Jayaram Krishnaswamy shows how to migrate an MS Access database to an Oracle 10G XE Server, describing all the steps involved in the migration process.
See More
 
Deploying .NET-based Applications on to Microsoft Windows CE Enabled Smart Devices
Microsoft Windows Mobile Platform is now fully supported with .NET technology. We can develop and deploy .NET-based applications directly on to smart devices enabled with Microsoft Windows Mobile operating system.This article by Jagadish Chatarji Pulakhandam and Sunitha Paruchuri shows an example of deploying such an application.

Introducing Microsoft Windows Mobile

There exist several types of smart devices in the market including Smart Phones, Pocket PCs, Pocket PC Phones, Tablet PCs, etc. Every smart device is installed with a mobile‑based operating system with respect to the features of the device. One of such operating systems is Microsoft Windows CE.

Microsoft Windows CE is a small, embedded operating system (runs from ROM) that has a look and feel similar to Microsoft Windows 95/98. It includes scaled down versions of Microsoft Excel, Microsoft Word, Microsoft Internet Explorer, etc.

Microsoft Windows Mobile (Windows Mobile in short) is a complete software platform built on Windows CE. Unlike Windows CE, the Windows Mobile for Smart Phone or Pocket PC operating systems is specifically designed for devices that require a specialized hardware configuration. The software includes standardized interfaces and applications that ensure compatibility across hardware designs. The Pocket PC is the best example device that gets equipped with Microsoft Windows Mobile operating system.

The Pocket PC runs Windows CE as its core operating system. Pocket PCs come with mobile versions of Microsoft Office applications in addition to Microsoft Outlook Mobile. Though there are different Pocket PCs, many come with Wi-Fi to enable you to connect to the Internet when you are near to a wireless hotspot. You can compose email messages and send them wirelessly or by synchronizing with your desktop computer.

A Pocket PC Phone is a bit different from an ordinary Pocket PC. You can do everything with a Pocket PC Phone that you can do with a Pocket PC, but with the addition of cellular phone capabilities. If you have a Pocket PC Phone, you can access the Internet through the GPRS service.

A Smart Phone has phone capabilities and comes with a smaller set of applications. Though you can add third-party software titles to your Smart Phone, the smaller keypad and screen are designed to give you quick one-handed access to important data. A Smart Phone is a good choice for business users who need to check email, keep track of their calendars, and take voice notes.

Microsoft.NET enables us to develop and deploy .NET applications on Microsoft Windows Mobile-enabled smart devices like Smart Phones, Pocket PCs, Tablet PCs, etc. To develop for either Smart Phones or Pocket PCs, we need not really buy those devices. We simply need to have smart device client extensions installed as a part of Visual Studio 2005 (which automatically installs .NET Compact Edition). When the extensions are installed, we are provided with few device emulators for developing and testing .NET-based mobile applications. However, for testing and production, it is recommended to have physical smart devices.

The next section focuses on developing a simple Pocket PC application, which consumes the web service developed previously.


This article has been extracted from: ODP.NET Developer’s Guide: Oracle Database 10g Development with Visual Studio 2005 and the Oracle Data Provider for .NET

A practical guide for developers working with the Oracle Data Provider for .NET and the Oracle Developer Tools for Visual Studio 2005.

For more information, please visit:
www.PacktPub.com/ODP-dot-net-oracle-data-provider/book

Consuming a Web Service from Pocket PC

Now, let us make use a web service for the Pocket PC. You need not have a physical Pocket PC in your hands to test it.

We can simply use existing emulators available as part of Visual Studio 2005. The following are the steps:

  1. Open Visual Studio 2005 Environment   
  2. Go to File | New | Project.   
  3. Select and provide information as shown in the following figure:


  4.     
  5. Add a Web Reference for the web service you created.   
  6. Drag and drop a DataGrid on to the Pocket PC emulator as shown below:


  7.     
  8. Modify the existing code as follows:
    Public Class Form1
    Private Sub Form1_Load(ByVal sender As
    System.Object, ByVal e As System.EventArgs) Handles
    MyBase.Load
    Me.DataGrid1.DataSource =
    (New EmpService.Service).getList.Tables(0)
    End Sub
    End Class    
  9. Press F5, and select any Emulator for deployment. The output should look like the following:

Conclusion

We have seen the deployment of .NET-based application on to smart devices enabled with Microsoft Windows Mobile operating system.



ODP.NETYou can continue to learn more about application development using ODP.NET in the book ODP.NET Developer’s Guide: Oracle Database 10g Development with Visual Studio 2005 and the Oracle Data Provider for .NET.

This is a practical guide for developers working with the Oracle Data Provider for .NET (ODP.NET) using VB.NET. From introducing ODP.NET and programming with ODP.NET to application development using ODP.NET and on to discussing Oracle Developer Tools for Visual Studio 2005, this book covers the important aspects of ODP.NET.

For more information, please visit: www.PacktPub.com/ODP-dot-net-oracle-data-provider/book






About The Authors

Jagadish Chatarji Pulakhandam currently works as a .NET Architect and is responsible for analyzing/designing enterprise-level .NET applications. He has worked with Oracle since database version 7.1 and has been in the IT field for about 12 years. Apart from Oracle and .NET, he has a good knowledge of developing corporate software and web applications, designing and implementing databases, designing and implementing data warehouses, and working with enterprise reporting software. During his free time, he contributes technical articles to OTN (Oracle Technology Network) and to the world of developer communities.

Sunitha Paruchuri has been programming with Microsoft tools and Oracle since 1997. She has developed numerous desktop, web, mobile and distributed applications using Microsoft.NET and has good experience with other Microsoft products like Microsoft SQL Server, Microsoft Sharepoint Portal Server, etc.


This article has been extracted from: ODP.NET Developer’s Guide: Oracle Database 10g Development with Visual Studio 2005 and the Oracle Data Provider for .NET

A practical guide for developers working with the Oracle Data Provider for .NET and the Oracle Developer Tools for Visual Studio 2005.

For more information, please visit:
www.PacktPub.com/ODP-dot-net-oracle-data-provider/book








 
Using An Object Oriented Approach for Implementing PHP Classes to Interact with Oracle

This article by Yuli Vasiliev examines the object-oriented approach for developing PHP/Oracle applications, as an efficient means to reduce the development time and complexity, and increase the maintainability and flexibility of your applications.

In the following sections, you will learn how to create a simple PHP class to interact with Oracle and then how that class can be modified and reused in different scripts.


See More

Article Network


Packt Article Network

Visit Packt's Article Network, for all the latest quality, relevant and free content.
See More



BOOK
PHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax
PHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax
See More
 




© Packt Publishing Ltd 2008

RSS