An introduction to Windows Mobile development
-
Upload
dale-lane -
Category
Entertainment & Humor
-
view
13.398 -
download
1
description
Transcript of An introduction to Windows Mobile development
![Page 1: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/1.jpg)
Writing a mobile applicationWriting a mobile application
An introduction to developing for Windows Mobile
![Page 3: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/3.jpg)
Windows Mobile devicesWindows Mobile devices
![Page 4: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/4.jpg)
Screen typesScreen types
Touchscreen
![Page 5: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/5.jpg)
Screen typesScreen types
No touchscreen
![Page 6: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/6.jpg)
Screen typesScreen types
TouchscreenNo
touchscreenWindows Mobile 5 “Pocket
PC”“Smartpho
ne”
Windows Mobile 6 “Professio
nal”“Standard”
![Page 7: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/7.jpg)
Windows Mobile Developer Windows Mobile Developer Resource KitResource Kit
http://www.microsoft.com/windowsmobile/developers/
![Page 8: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/8.jpg)
Visual Studio 2005Visual Studio 2005
![Page 9: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/9.jpg)
EmulatorsEmulators
![Page 10: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/10.jpg)
Managed vs NativeManaged vs Native
NativeNative
ManagedManaged
![Page 11: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/11.jpg)
Managed vs NativeManaged vs Native
NativeNative C++
Good for:
low-level access
broader access
performance
![Page 12: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/12.jpg)
Managed vs NativeManaged vs Native
ManagedManaged C# / Visual Basic
Good for:
quick development
.NET (CF)
libraries for UI dev
libraries for mobile-specific stuff
![Page 13: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/13.jpg)
Managed vs NativeManaged vs Native
NativeNative
ManagedManaged
![Page 14: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/14.jpg)
My first native appMy first native app
![Page 15: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/15.jpg)
![Page 16: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/16.jpg)
My first native appMy first native app
![Page 17: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/17.jpg)
My first native appMy first native app
![Page 18: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/18.jpg)
My first native appMy first native app
![Page 19: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/19.jpg)
My first native appMy first native app
![Page 20: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/20.jpg)
![Page 21: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/21.jpg)
![Page 22: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/22.jpg)
![Page 23: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/23.jpg)
My first native appMy first native app
![Page 24: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/24.jpg)
![Page 25: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/25.jpg)
My first native appMy first native app
m_hwndHTML = CreateWindow(WC_HTML, NULL, WS_CHILD | WS_VISIBLE | HS_NOSCROLL, 0, 0, 100, 100, m_hwndContainer, NULL, HINST_RESDLL, NULL);
![Page 26: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/26.jpg)
My first native appMy first native app
m_hwndHTML = CreateWindow(WC_HTML, NULL, WS_CHILD | WS_VISIBLE | HS_NOSCROLL, 0, 0, 100, 100, m_hwndContainer, NULL, HINST_RESDLL, NULL);
SendMessage(m_hwndHTML, DTM_ZOOMLEVEL, 0, 1);
![Page 27: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/27.jpg)
My first managed appMy first managed app
![Page 28: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/28.jpg)
![Page 29: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/29.jpg)
My first managed appMy first managed app
![Page 30: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/30.jpg)
My first managed appMy first managed app
![Page 31: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/31.jpg)
![Page 32: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/32.jpg)
![Page 33: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/33.jpg)
![Page 34: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/34.jpg)
![Page 35: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/35.jpg)
![Page 36: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/36.jpg)
![Page 37: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/37.jpg)
My first managed appMy first managed app
![Page 38: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/38.jpg)
My first managed appMy first managed app
![Page 39: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/39.jpg)
Don’t stand aloneDon’t stand alone
• Native code– Extending applications:
• Pocket Outlook• Pocket Internet Explorer• Windows Media Mobile
– Plug-ins:• Today screen• Control Panel
![Page 40: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/40.jpg)
Don’t stand aloneDon’t stand alone
![Page 41: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/41.jpg)
Don’t stand aloneDon’t stand alone
![Page 42: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/42.jpg)
Don’t stand aloneDon’t stand alone
![Page 43: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/43.jpg)
Don’t stand aloneDon’t stand alone
![Page 44: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/44.jpg)
Don’t stand aloneDon’t stand alone
http://dalelane.co.uk/page.php?id=39
![Page 45: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/45.jpg)
Don’t stand aloneDon’t stand alone
• Managed code– Pocket Outlook Object Model (POOM)– Phone calls– SMS– System resources – State and Notification (SNAPI)
![Page 46: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/46.jpg)
Don’t stand aloneDon’t stand alone
![Page 47: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/47.jpg)
Don’t stand aloneDon’t stand alone
![Page 48: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/48.jpg)
![Page 49: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/49.jpg)
![Page 50: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/50.jpg)
![Page 51: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/51.jpg)
Don’t stand aloneDon’t stand alone
![Page 52: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/52.jpg)
![Page 53: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/53.jpg)
Don’t stand aloneDon’t stand alone
![Page 54: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/54.jpg)
OpenNetCFOpenNetCF
http://www.opennetcf.com/library/sdf/
![Page 55: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/55.jpg)
OpenNetCFOpenNetCF
// get wifi adapters
AdapterCollection adapters = Networking.GetAdapters();
string accessPointsFound = “”;
// look through each adapter in turn for the Wifi one
// (e.g. don't use ActiveSync, bluetooth etc.)
foreach (Adapter adapter in adapters)
{
if (adapter.IsWireless)
{
// look for access points known to the adapter
AccessPointCollection accessPoints = adapter.NearbyAccessPoints;
// look through each known access point in turn
foreach (AccessPoint ap in accessPoints)
{
accessPointsFound = accessPointsFound + “, “ + ap.Name;
}
}
}
![Page 56: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/56.jpg)
Creating an installerCreating an installer
![Page 57: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/57.jpg)
![Page 58: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/58.jpg)
Creating an installerCreating an installer
![Page 59: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/59.jpg)
![Page 60: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/60.jpg)
Creating an installerCreating an installer
![Page 61: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/61.jpg)
![Page 62: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/62.jpg)
![Page 63: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/63.jpg)
Creating an installerCreating an installer
![Page 64: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/64.jpg)
![Page 65: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/65.jpg)
![Page 66: An introduction to Windows Mobile development](https://reader036.fdocuments.in/reader036/viewer/2022070301/546c7c4faf7959ba0e8b6a8b/html5/thumbnails/66.jpg)
An introduction to Windows An introduction to Windows Mobile developmentMobile development
Dale Lane
[email protected] Hursley Park