Freitag, Juli 30th, 2010 | by Richard Deininger | Posted in Programmierung Allgemein | No Comments »
Every CF developer knows and uses the “Copy if newer” option from time to time, when deploying on Compact Framework. This way the deployment is a little bit faster. Since I tried to do some C# OpenGL ES stuff on my HTC Touch Diamon as a private project, I came across a real annoying bug. Visual Studio 2008 shows an error during deployment of the:
libGLES_CM.dll (I placed it as a “Content” file inside the project)
The funny thing is the error varies from one deployment to another, top error messages are:
“An operation was attempted on something that is not a socket.”
“Connection has been closed gracefully”
“Connection forcibly closed by remote host”
No search brought a solution to this bug, till after some “testing” (I used my DPD = drinking/programming/drinking method again
).
If you switch from “Copy if newer” to “Copy always” the errors are gone.
Mittwoch, Juni 30th, 2010 | by Richard Deininger | Posted in .NET Framework, C#, Compact Framework, Windows Mobile | 3 Comments »
Since I do some Compact Framework programming on the side. I ran into the problem on how to do full screen applications on WM. Due to our background as “third level developers” we got a pretty good framework for C# Compact Framework programming and there I found the good old HHTaskBar “Hack”.
public static class TaskBar
{
private static IntPtr taskbar;
[DllImport("coredll.dll", EntryPoint = "FindWindowW", SetLastError = true)]
private static extern IntPtr FindWindowCE(string lpClassName, string lpWindowName);
[DllImport("coredll.dll")]
private static extern IntPtr ShowWindow(IntPtr hWnd, int visible);
[DllImport("coredll.dll")]
private static extern bool EnableWindow(IntPtr hwnd, bool enabled);
/// <summary>
/// hides windows taskbar
/// </summary>
public static void HideTaskbar()
{
taskbar = FindWindowCE("HHTaskBar", null);
ShowWindow(taskbar, 0);
EnableWindow(taskbar, false);
}
/// <summary>
/// shows windows taskbar
/// </summary>
public static void ShowTaskbar()
{
ShowWindow(taskbar, 1);
EnableWindow(taskbar, true);
}
}
This is fine,… but if the app crashes or you forget to implement the ”ShowTasbar” function your TaskBar is gone (till the next cold reset). So I searched and found the following “lightweight” way to “hide” the TaskBar.
public static void FullSize(Form frm)
{
frm.WindowState = FormWindowState.Maximized;
frm.Size = Screen.PrimaryScreen.WorkingArea.Size;
frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
}
Only tested for WM 5.0, 6.0 and 6.5!
Mittwoch, Juni 23rd, 2010 | by Christian Zauner | Posted in Programmierung Allgemein, Windows Mobile | 2 Comments »
Kaum gepostet ist “Mäxchen” auch schon getestet! Saijo George hat in seinem Bestwindowsmobileapps – Blog “Mexican” einen Review über unser neuestes Machwerk geschrieben.
Und um uns Arbeit zu ersparen
auch ein kleines Video gemacht.
Den gesamten Review gibt es unter Mexico 1.0 – Mexican dice game on windows phone | Best Windows Mobile Games / Windows Phone Apps Review
Dienstag, März 30th, 2010 | by Daniel Siegl | Posted in Veranstaltungen | No Comments »
Unsere Partnerfirma mobil-data veranstaltet nun schon zum Sechsten mal den mobile working day in Wien.
Ich finde das Program der Veranstaltung abwechslungsreich.

Donnerstag, Januar 14th, 2010 | by Daniel Siegl | Posted in .NET Framework, Compact Framework, Windows Mobile, Windows Mobile Marketplace | 5 Comments »
Yesterday night I was pretty excited to see that Spin the Bottle was downloaded 10001 time since the launch of Marketplace in October 2009.

It all started with a joke on Teched EMEA 2008 in Barcelona. By the end of the evening, Rizo got so enthusiastic about it that he stayed awake and delivered the first release already in the morning. Consequently we were able to show Spin the Bottle to the World in the very last panel discussion at the event.
When Marketplace got in place last October we decided to put it on to gain experience with the application store and certification process, so we would have experience for consulting our customers.
We know the graphics of our app could be nicer – yet we never imagined it would be so successful. The development was done more or less in spare time, on the positive side the “lean” graphics make it work also on OMAP 200 based devices like the HTC Wizard.
Windows Marketplace was a little rough around the edges when it came out! Nevertheless I have to admit it got quite mature rather fast.
During the certification process the feedback from the marketplace authority about issues in our software when failing the test where precise and always to the point. This is a clear indication that enough manpower is involved in the testing and as a result the quality of the customer experience is kept high. As a consumer I like the way the application store works – nevertheless the IPhone’s software distribution has a still a little edge because it informs proactively about software updates. Because it can leverage a Push mechanism.
From my inside-the-industry position the only thing that’s strange is that companies who don’t have their HQ in one of the Windows Mobile Marketplace markets are banned from publishing software!
Dienstag, Oktober 20th, 2009 | by Daniel Siegl | Posted in Compact Framework, Windows Mobile | No Comments »
WiiMöB – Finally, a decent gamepad for PocketPC just found on Codeplex. Yet the Project is not very advanced at the moment. Still I like the Idea of using WII Controlers together with Windows Mobile Devices.
Donnerstag, Juni 4th, 2009 | by Daniel Siegl | Posted in Windows Mobile | No Comments »
Neue Firmware auf Windows Mobile Telefonen einzuspielen, bringt meist viele Verbesserungen und Fehlerbereinigungen. Leider sind viele der Wege die zum Ziel führen für unerfahrene Benutzer schwierig. Für das X1 gibt es bei Sony Ericsson aber einen anderen und wirklich sehr leichten weg! Damit sollte es für jeden möglich sein ein X1 auf die R3 Firmware zu bringen!
Sony Ericsson – Support – Software – X1 – Update Service
Nicht aufs Daten sichern vergessen! – (es funktioniert auch mit Vista x64)