Blog Home  Home Feed your aggregator (RSS 2.0)  
Peter Nowaks Mobile Blog - Monday, August 11, 2008
Mobility on the Run
 
 Monday, August 11, 2008

Patrick wies mich gerade darauf hin, dass mein letzter Post zu diesem Thema auf eine ältere Version des SDKs verwies. Die neue Version, welche hier erhältlich ist, neben der Unterstützung des Nav sensors ebenfalls das HTC Light Sensor SDK enthält. Letzteres ermöglicht die Abfrage des Umgebungslichts in Lumen.

Danke Patrick, selbst, wenn du beim Thema "Managed Code" innere Qualen erleiden musst. ;-)

 

- English Version -

 

Patrick told me actually, that my last post on this topic relied on an old version of the SDK. The new Version, which is available here, has beside of the support for the Nav sensors as well the HTC Light Sensor SDK included, which enables requesting the ambient light in lumens.

Thanks Patrick, even if the topic "Managed Code" causes inner pain for you. ;-)

Monday, August 11, 2008 8:02:30 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]   .NET Compact Framework | Geräte | Windows Mobile  |  Trackback
 Friday, August 08, 2008

Vom 17.10. bis zum 19.10.2008 finden in Leipzig die .NET Open Space 2008 statt, wie Torsten hier ankündigt.

Dabei handelt es sich um keine klassische Entwicklerkonferenz, sondern das Konzept sieht anders aus. Auf designiere Sprecher und eine feste Agenda wird verzichtet. Man vereinbart vor Ort, worüber man sprechen mag und diskutiert über das Thema dann in einem so genannten Open Space. Alle sind demzufolge gleich und agieren einfach als Teilnehmer und bringen Informationen ein, wenn möglich - Ein sehr interessantes Konzept, wie ich finde.

Die Veranstaltung selbst ist kostenlos, jedoch sind die Plätze selbst limitiert.

Ich selbst werde wahrscheinlich leider aus zeitlichen Gründen nicht dabei sein können. Allen Teilnehmer wünsche ich auf jeden Fall viel Spaß.

 

Anmeldung und weitere Informationen zur Veranstaltung gibt es hier.

 

- English Version -

 

From Oct. 17th to Oct 19th the .NET Open Space 2008 takes place in Leipzig, as Torsten announces here.

But this isn't a typical developers conference, but the concept behind is different. There are no designated speakers and a predefinied agenda doesn't exist. It is agreed at the conference where and what to talk and probably discuss about  which then takes place in a so called Open Space. All persons are therefore equal and act out as participants, which contribute their information if possible - I think a very interesting concept.

The conference itself is free, but the available places are limited.

I by myself think that I can't participate out of timing issues. I wish all participants definitly a lot of fun.

 

Registration and futher information on the conference are available here.

Friday, August 08, 2008 10:32:43 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]   Veranstaltung  |  Trackback

Eines der verwirrensten Konstrukte sind Netzwerke und Verbindungen als solche unter Windows Mobile.

Simon Hart beschriebt hier in seinem ersten Teil, wie man diesem Thema mittels Configuration Service Providern Herr wird.

 

- English Version -

 

One of the most confusing points are networks and connections as themselves under Windows Mobile.

Simon Hart describes here in his first part, how to deal with this topic using Configuration Service Provider.

Friday, August 08, 2008 10:03:15 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]   .NET Compact Framework | Windows Mobile  |  Trackback

Zugegeben - das HTC Diamond / MDA Compact IV ist schon ein nettes Gerät. Die neue eigens entwickelte Bedienoberfläche sieht schon klasse aus. Doch interessanter als diese finde ich persönlich den implementierten Bewegungssensor.

Dieser wird u.a. vom Fotoalbum, dem Opera Browser verwendet und dient zum automatischen Drehen des Displays. Das Spiel Teeter selbst wurde eigens hierfür entwickelt, womit durch Gewichtsverlagerung eine virtuelle Kugel durch ein Labyrinth bewegt werden muss.

(Teeter, Quelle: http://www.worldofppc.com/HWTests/diamond.htm)

Mittlerweile gibt es auch einige Spassanwendungen, wie das "Diamond Beer" (http://wmpoweruser.com/?p=581) oder das virtuelle Lichtschwert "HTC Light Saber" (http://www.freewarepocketpc.net/ppc-download-htc-light-saber-v1-0.html), oder sogar die virtuelle Wasserwaage "Kai's Wasserwage.Net"(http://pocketland.de/42544/Kai_s_Wasserwaage_fuer_HTC_Touch_Diamond.html), welche dieses Sensor ebenfalls verwenden.

(Diamond Beer, Quelle: http://wmpoweruser.com/wp-content/uploads/2008/08/diamondbeer.jpg)

(HTC Light Saber, Quelle: http://www.freewarepocketpc.net/img2/pocket-pc-light-saber.jpg)

(Kai's Wasserwaage.Net, Quelle: http://pocketland.de/images/screenshots/screenshot.42544.gif)

Viele weitere Applikationen finden sich beispielsweise hier.

Das interessante daran ist jedoch, dass viele dieser Anwendungen ein installiertes .NET Compact Framework benötigen. Somit muss sich wohl der Sensor auch von verwaltetem Code ausführen lassen...

Koushik Dutta gibt in seinem Post Informationen, wie der Sensor Daten bereitstellt und bietet einen Managed Wrapper zusätzlich als Download an.

Das nenne ich doch mal innovativ!

 

- English Version -

 

Indeed - the HTC Diamond / MDA Compact IV is a cool device. The especially developed UI is awesome.

But more interesting than that is the builtin Accelerometer.

This one is used by the included photo application, the Opera Browser and helps to rotate the screen automatically. The included game Teeter was developed especially for this, where you you can navigate a virtual ball through a labyrinth via acceleration.

(Teeter, Source: http://www.worldofppc.com/HWTests/diamond.htm)

Meanwhile there are a few fun applications available which make use of the accelerometer, like "Diamond Beer" (http://wmpoweruser.com/?p=581) or the virtual Light Saber "HTC Light Saber" (http://www.freewarepocketpc.net/ppc-download-htc-light-saber-v1-0.html), or even a virtual level "Kai's Wasserwage.Net"(http://pocketland.de/42544/Kai_s_Wasserwaage_fuer_HTC_Touch_Diamond.html).

(Diamond Beer, Source: http://wmpoweruser.com/wp-content/uploads/2008/08/diamondbeer.jpg)

(HTC Light Saber, Source: http://www.freewarepocketpc.net/img2/pocket-pc-light-saber.jpg)

(Kai's Wasserwaage.Net, Source: http://pocketland.de/images/screenshots/screenshot.42544.gif)

A few more interesting applications can be found here for example.

Even more interesting than that is the fact, that a lot of these applications need a preinstalled .NET Compact Framework. This means, that there has to be a possibility to use the sensor from managed code...

Koushik Dutta gives in his post information, how the sensor delvers data and offers additionally a managed Wrapper as a download.

This is, what I call innovation!

Friday, August 08, 2008 6:18:05 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [1]   .NET Compact Framework | .NET Compact Framework 3.5 | Geräte  |  Trackback
 Thursday, August 07, 2008

Wie Constanze berichtet, wird es ab August eine neue englische Webcastserie zur Entwicklung von Windows Mobile Anwendungen geben:

New Windows Mobile Application Development chat series coming up in August

Mark your calendars. Starting on August 12th, 2008 we are launching a new chat series that focuses exclusively on Windows Mobile Application Development. This chat will cover the tools and technologies used to develop applications using the Windows Mobile operating system. MVPs and members of the Windows Mobile product team will be joining this chat to answer your questions. For the August chat, we will also go through the top 10 FAQ on Windows Mobile.

The chat will take place on August 12, at 9 AM PST. To register for it, please click on this link: http://www.microsoft.com/communities/chats/vcs/08_0812_msdn_MOBILE.ics.

Stay tuned on any upcoming chats! 

 

- English Version -

 

Constanze reports, that in august a new webcast series is starting on Windows Mobile Application Development:

New Windows Mobile Application Development chat series coming up in August

Mark your calendars. Starting on August 12th, 2008 we are launching a new chat series that focuses exclusively on Windows Mobile Application Development. This chat will cover the tools and technologies used to develop applications using the Windows Mobile operating system. MVPs and members of the Windows Mobile product team will be joining this chat to answer your questions. For the August chat, we will also go through the top 10 FAQ on Windows Mobile.

The chat will take place on August 12, at 9 AM PST. To register for it, please click on this link: http://www.microsoft.com/communities/chats/vcs/08_0812_msdn_MOBILE.ics.

Stay tuned on any upcoming chats!

Thursday, August 07, 2008 6:04:04 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]   .NET Compact Framework | .NET Compact Framework 3.5 | Windows Mobile  |  Trackback
 Monday, August 04, 2008

Letzten Freitag wurde von OpenNETCF CAB Installer SDK veröffentlicht. Der Name selbst ist dabei leider nicht selbstbeschreibend. So handelt es sich bei dem SDK quasi um eine eigene Implementation von wceload in verwaltetem Code. wceload ist verantwortlich für die Installation von CAB-Dateien auf dem mobilen Endgerät. Das OpenNETCF Projekt versteht das CAB-Dateiformat und ermöglicht das anpassen des Installers nach seinen eigenen Wünschen.

Interessant wird das jedoch erst, wenn man einen eigenen Installer auf dieser Basis implementiert, der anstatt nativer Setup.DLLs eigene managed Setup.DLLs verarbeitet. Das ist möglich. Mal sehen, ob ich demnächst die Zeit dazu finde etwas derartiges zu Realisieren.

Leider ist das Produkt selbst nicht kostenfrei, aber dafür alles andere als teuer. Ich habe es mir auf jeden Fall schon mal gekauft.

 

Weitere Informationen zum OpenNETCF CAB Installer SDK finden Sie hier.

 

- English Version -

 

Last friday the OpenNETCF CAB Installer SDK has been published. The name is unfortunatelly not self describing. This SDK is a "cloned" version of wceload in managed code. wceload is responsible for installing CAB files on a mobile device. The OpenNETCF Project understands the CAB fileformat and enables you to change the installers behaviour to your needs.

It get's really intersting, if you think of creating an installer, which processes own created managed Setup.DLLs  instead of native Setup.DLLs. This is now possible. Let's see if I find the time to create a sample for this.

The product itself isn't free, but therefore anything else than expensive. This is why I bought a copy.

 

More info on the OpenNETCF CAB Installer SDK can be found here.

Monday, August 04, 2008 10:36:41 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]   .NET Compact Framework | OpenNETCF | Windows Mobile  |  Trackback
 Thursday, July 31, 2008

Constanze Kratel, Community Program Manager bei Microsoft in Redmond interviewt Device Application Development MVPs. Den Anfang macht Sie mit Maarten Struys, MVP aus den Niederlanden. Dabei erzählt Maarten nicht nur über sich selbst, sondern teilt seine Gedanken über Mobility mit.

Definitiv sehenswert, alleine schon um die Personen auch mal zu sehen, die man sonst nur im Webcast hört.

 

- English Version -

 

Constanze Kratel, Community Program Manager at Microsoft in Redmond interviews Device Application Development MVPs. She starts with Maarten Struys, MVP from the netherlands. Maarten doesn't just talk about himself, but shares his thoughts.

A must see, already because you get to see people you normally just hear on a webcast.

Thursday, July 31, 2008 7:29:29 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [1]   Off Topic  |  Trackback
 Friday, July 25, 2008

Jason Langridge weißt daraufhin, dass eine Broschüre veröffentlicht wurde, welche herausstellt, wieso Windows Mobile eine grossartige Plattform für den Einsatz in Organisationen ist.

Die Broschüre im PDF Format kann hier heruntergeladen werden.

 

- English Version -

 

Jason Langridge points out, that an executive guide on Windows Mobile for Technical Decision Makers has been released. It outlines, why Windows Mobile is a great platform for Organisations to deploy.

The Executive Guide is available in PDF format here.

Friday, July 25, 2008 6:17:59 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]   Windows Mobile  |  Trackback

Alex Feinman wies mich gestern darauf hin, dass es anscheinend beim Erstellen von CAB Dateien mit lokalisierten Ressourcen unter Visual Studio 2008 zu einem Fehler kommt. Dies konnte ich selbst nachstellen.

Eine Variante zur Reproduktion:

1. Erstellen einer Geräteanwendung als C# oder VB.NET project
2. Hinzufügen einer neuen Ressource "Resource.en-US.resx"
3. Hinzufügen einer neuen Ressource "Resource.zh-TW.resx"
4. Hinzufügen einiger Strings zu den Ressource-Dateien
5. Erstellen des Projektes. Beachten Sie dabei, dass die entspr. erstellten Ressource-Dateien in den Unterordnern en-US and zh-TW abgelegt werden-
6. Hinzufügen eines CAB-Projektes für intelligente Geräte zur Projektmappe.
7. Hinzufügen der Projektausgabe/Primäre Ausgabe
8. Hinzufügen der Projektausgabe/Lokalisierte Ressourcen
9. Erstellen der CAB Datei. Installieren auf einem mobilen Gerät, wonach die installierten Resource-DLLs vom Zielverzeichnis des Gerätes auf die Desktop Machine kopiert werden.
10. Analysieren der DLLs mit ILDASM auf die MANIFEST/.locale. Alternativ: Reflector

Ergebnis:

Beide Ressource-DLLs sind identisch. Im konkreten Fall sind beide Dateien die der Sprache zh-TW.

Durch weitere Recherche stellte sich heraus, dass es sich hierbei um einen bereits bekannten Bug im CAB Wizard handelt. Somit geschieht dieser Fehler bei der manuellen Erstellung einer CAB Datei, als auch im Visual Studio.

 

Ilya Tumanov beschreibt hier hierzu einen Workaround:

...

Here's a workaround:

1. In main project which produces resource files run a post build procedure
which would create copies of these files with unique name.

For example, "fr\CONVENO Sales.resources.dll" would be copied to
fr\fr_CONVENO Sales.resources.dll

2. In your CAB project add files with unique names instead of originals.

3. Select these files one by one, choose "Rename" in context menu and type
original name.

Here's sample INF. Note files are unique now, but original names would be
restored on device.

Also note I've added files to "Application folder" so %InstallDir% macro is
actually used.

This macro can be redirected to storage card upon installation.

[Version]
Signature="$Windows NT$"
Provider="Microsoft"
CESignature="$Windows CE$"

[CEStrings]
AppName="PPC_CAB_1"
InstallDir=%CE1%\%AppName%

[Strings]
Manufacturer="Microsoft"

[CEDevice]
VersionMin=4.0
VersionMax=5.99
BuildMax=0xE0000000

[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1,Files.Common2,Files.Common3

[SourceDisksNames]
1=,"Common1",,"C:\Projects\LVTest\LVTest\bin\Debug\Fr\"
2=,"Common2",,"C:\Projects\LVTest\LVTest\bin\Debug\"
3=,"Common3",,"C:\Projects\LVTest\LVTest\bin\Debug\Gr\"

[SourceDisksFiles]
"fr_test.txt"=1
"LVTest.exe"=2
"gr_test.txt"=3

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%\Fr"
Files.Common2=0,"%InstallDir%"
Files.Common3=0,"%InstallDir%\Gr"

[Files.Common1]
"test.txt","fr_test.txt",,0

[Files.Common2]
"LVTest.exe","LVTest.exe",,0

[Files.Common3]
"test.txt","gr_test.txt",,0

[Shortcuts]

[RegKeys]

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

...

 

Andere Alternative: WinCE CAB Manager von ocpSoftware.

 

Angeblich ist dieser Bug schon länger bekannt, doch ein Fix ist seitens MS nicht in Sicht.

 

Danke Alex und Ilya, für die Information.

 

- English Version -

 

Alex Feinman informend me, that on creating CAB files including localized ressources under Visual Studio 2008 it can come to an error. I've been able to reproduce this behaviour.

One way of Reproduction:

1. Create a Form-based SmartDevice C# or VB.NET project
2. Add a new resource called Resource.en-US.resx
3. Add a new resource called Resource.zh-TW.resx
4. Add some strings to the resource files
5. Build the project. Observe that the resource DLLs are correctly
generated and placed into subdirectories en-US and zh-TW
6. Add a SmartCab deployment project to the solution.
7. Add Project Output/Primary Output
8. Add project Output/Localized Resource Assemblies
9. Build the cab file. Install it on the device and copy the resource
DLLs from the device install directory to the desktop machine.
10. Examine the DLLs with ILDASM tool checking MANIFEST/.locale. Or use Reflector.

Result:

Both resource DLLs are identical. In this case both are from the language zh-TW.

Trough further investigation it turned out, that this is a well known bug within the CAB Wizard. Therefore this bug affect manual building CAB files as well as building them from inside Visual Studio.

 

Ilya Tumanov describes here a Workaround:

...

Here's a workaround:

1. In main project which produces resource files run a post build procedure
which would create copies of these files with unique name.

For example, "fr\CONVENO Sales.resources.dll" would be copied to
fr\fr_CONVENO Sales.resources.dll

2. In your CAB project add files with unique names instead of originals.

3. Select these files one by one, choose "Rename" in context menu and type
original name.

Here's sample INF. Note files are unique now, but original names would be
restored on device.

Also note I've added files to "Application folder" so %InstallDir% macro is
actually used.

This macro can be redirected to storage card upon installation.

[Version]
Signature="$Windows NT$"
Provider="Microsoft"
CESignature="$Windows CE$"

[CEStrings]
AppName="PPC_CAB_1"
InstallDir=%CE1%\%AppName%

[Strings]
Manufacturer="Microsoft"

[CEDevice]
VersionMin=4.0
VersionMax=5.99
BuildMax=0xE0000000

[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1,Files.Common2,Files.Common3

[SourceDisksNames]
1=,"Common1",,"C:\Projects\LVTest\LVTest\bin\Debug\Fr\"
2=,"Common2",,"C:\Projects\LVTest\LVTest\bin\Debug\"
3=,"Common3",,"C:\Projects\LVTest\LVTest\bin\Debug\Gr\"

[SourceDisksFiles]
"fr_test.txt"=1
"LVTest.exe"=2
"gr_test.txt"=3

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%\Fr"
Files.Common2=0,"%InstallDir%"
Files.Common3=0,"%InstallDir%\Gr"

[Files.Common1]
"test.txt","fr_test.txt",,0

[Files.Common2]
"LVTest.exe","LVTest.exe",,0

[Files.Common3]
"test.txt","gr_test.txt",,0

[Shortcuts]

[RegKeys]

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

...

 

Alternative: WinCE CAB Manager von ocpSoftware.

 

This bug is said to be known for a longer period of time but no fix from MS it to be seen on this.

 

Thanks Alex and Ilya for this information.

Friday, July 25, 2008 6:05:52 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]   mobile Tools | Visual Studio  |  Trackback
 Thursday, July 24, 2008

Der RSS Feed dieser Seite kann nun auch über http://feeds.feedburner.com/PeterNowak. Bitte verwenden Sie diese URL ab jetzt nach Möglichkeit bitte primär.

- English Version -

The RSS Feed of this site has been changed to http://feeds.feedburner.com/PeterNowak. Please use this URL primarily, if possible.

Thursday, July 24, 2008 9:29:23 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]   Off Topic  |  Trackback
Copyright © 2008 Peter Nowak. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.