Showing posts with label Application Development. Show all posts
Showing posts with label Application Development. Show all posts

Wednesday, 2 March 2011

EB @ Embedded World 2011

As I mentioned in yesterday's talk at the Exhibitor's Forum (Embedded World 2011) you can now get the slides of the talk about Silverlight for Windows Embedded (SWE). Thank you very much again for being interested. Your valueable feedback given and discussions held after the presentation have shown that Silverlight is really on focus of the community.

Feel free to drop me a few lines via email if I can be helpful to you clarifying things. You are welcome!

You still have the chance to find us at our Microsoft partner booth in hall 11 until tomorrow evening. Subjects that can be discussed and presented there include

TerreStar Windows Mobile 6.5
  • Satellite Phone and
  • Cellular Smartphone
EB Guide Studio
  • Graphics Target Framework
  • Speech Target Framework
  • HMI development
  • EB GUIDE XAML plugin
as well as our offerings on Windows Embedded Services and Consulting and Training Services.

-- Oliver Merkel
Read more! Post this to a friend!

Thursday, 14 October 2010

Windows Phone 7 development: XnaMediaHelper_1.dll error

Hi folks,

When building an XNA Game Studio solution for Windows Phone 7 that includes any sort or media like audio or video files, you might have encountered the same problem I ran into:

error : Building content threw DllNotFoundException: Unable to load DLL 'XnaMediaHelper_1.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Well XnaMediaHelper_1.dll is the default library to compile XNA media content. The problem is, that XnaMediaHelper_1.dll is referenced by the media importers which are added by default to the content folder. Hence, XnaMediaHelper_1.dll can not be referenced directly by your XNA project.

To solve this error you need to install the “Desktop Experience” feature which includes the required codecs from your Windows 7 installation disk. If you are running a Windows 7 N or Windows 7 KN version download and install the Media Feature Pack for Windows 7 N and Windows 7 KN (KB968211) to solve this problem.

Have fun!
Read more! Post this to a friend!

Wednesday, 13 October 2010

Details on my TechED Europe 2010 talks

Hi folks,

I am very excited to inform you on the dates of my talks at TechED Europe 2010 on November 8th to 12th in Berlin, Germany:

Wednesday, November 10th 1:20 pm to 2:05 pm:
Windows Embedded Automotive 7 – Creating Next Generation User Experiences (UXs)

And

Thursday, November 11th 6:00pm to 7 pm:
Advanced Application debugging techniques with Windows Embedded Compact 7

Unfortunately the rooms have not been assigned, yet. I will post an update as soon as I have further information. So stay tuned!


See you in Berlin!

Have fun!
Read more! Post this to a friend!

Friday, 24 September 2010

Windows Phone 7 Developer Tools for Visual Basic.NET CTP

Hi folks,

as stated in my earlier Blog post “Windows Phone 7 Developer Tools final version released”, Microsoft just released the Visual Basics CTP (Community Technology Preview = Beta version) for Windows Phone Developer Tools which you can download here.


To use the Visual Basics CTP for Windows Phone Developer Tools you need the Windows Phone Development Tools RTW (web installer or .iso image) as well as Visual Studio 2010 Professional or higher (90 day trial version). Furthermore you can only develop Silverlight apps using Visual Basics; XNA does not support Visual Basics as of now.

You can find the official release announcement on the Windows-Phone Blog. Additionally you can find some VB samples/tutorials for Windows Phone 7 on Jason Zanders Blog.

Have fun!
Read more! Post this to a friend!

Wednesday, 22 September 2010

Windows Phone 7 Developer Tools final version released

Hi folks,

Microsoft released the final version of the development tools for Windows Phone 7 last week. The tools are free and consist of the products:
  • Visual Studio 2010 Express for Windows Phone
  • Expression Blend for Windows Phone
  • XNA Game Studio for Windows Phone 7
  • Silverlight 4 Tools for Visual Studio
  • Windows Phone Emulator

You can download the web installer here; the .iso image can be found here. The tools will only intall on Windows Vista and Windows 7. Microsoft will open the Windows Phone Marketplace at the beginning of October.


The current release of the Windows Phone 7 development tools is only available in English but Microsoft promises the release of the French, Italian, German and Spanish language versions in the near future.

As of now the application business logic has to be written in C# for both Silverlight and XNA. Visual Basic.NET support was announced to be released later this year.

The improvements over the beta version include new templates for pivot and panorama, improved debugging functionalities as well as French, Italian, Spanish, German and English support for the Windows Phone Emulator.

You can find the official release announcement on the Windows-Phone Blog. Further information and tutorials can be found on Scott Guthries Blog.

In addition you can download the Silverlight for Windows Phone Toolkit, which provides you with additional controls, from CodePlex.

Have fun!
Read more! Post this to a friend!

Tuesday, 31 August 2010

TechED Europe 2010 talks accepted!

Hi folks,

thanks for voting for our submissions for TechED Europe 2010 from November 8th to 12th in Berlin, Germany. Your wishes will be granted: I will hold both these talks at this years TechEd Europe:

Advanced Application debugging techniques with Windows Embedded Compact 7

as well as

Windows Embedded Automotive 7 – Creating Next Generation User Experiences (UXs)



I will post an update as soon as I have further information about when and where these talks will take place. So stay tuned!

See you in Berlin!

Have fun!
Read more! Post this to a friend!

Thursday, 5 August 2010

Missing extern "C"

I'm sure most of us hit the problem of that annoying linker error "unresolved external symbol "aoein0hepqo2washpeofh a@foo" (ok, I just hammered the keyboard - it's no real live symbol name!).
After triple-checking the library link list it turns out that (again) the mixing of C and C++ modules and libraries is the root of the problem.

But what to do if you have a C++ module that references an API function declared in a header file that is not prepared to be included by C++ code?

If you are not allowed to patch the file (may be its 3rd party stuff) there is a quite simple solution:

extern "C"
{
#include
}

Cheers,
Jürgen
Read more! Post this to a friend!

Tuesday, 4 May 2010

Is the .NET Compact Framework still alive? And what about Windows Embedded CE?

Hi Folks,

lately I’ve been hearing questions along that line more often. Probably mainly due to the fact that VS2010 does not support “Smart Device” application development (at least as of now, let’s hope that this will change) and also due to the announcement of the Windows Phone 7 Series Programming Model at the MIX 2010 conference. Just to recite the major aspects of that programming model: “The application model supported on Windows Phone 7 series will be managed only and will leverage Silverlight, XNA and the .NET Framework”.

From Abhinaba’s Blog you will see that there is a lot of work being done on the .NET Compact Framework, not only for Windows Phone 7 Series but also for Windows Embedded CE. By the way, Abhinaba also goes into details of the Windows Phone 7 Series Programming model as well as comparing it to the .NET Compact Framework 3.5. Thanks Abhinaba!

So to answer my question from the title: YES the .NET Compact Framework is still alive, so don’t worry!

Let’s have a look at Windows Embedded CE now. Again, due to the same reasons some people are worried that Windows Embedded CE will be discontinued, but don’t worry, the release for Windows Embedded Compact 7 is planned for later this year. But don’t take my word for it, just read Olivier Bloch’s post “Windows CE is NOT dead!”.

Have fun!
Read more! Post this to a friend!

Wednesday, 14 April 2010

Visual Studio 2010 and Windows Embedded CE development


UPDATE (May 2012):

Good news: Windows Embedded Compact v. Next will come with both native and managed application development support in Visual Studio 11! Furthermore there will be an updated version of the .NET Compact Framework.

It is likely (though not explicitly stated) that these new features will also be available in Visual Studio 2010.

You can find further information in my complete post here.

Have fun!



UPDATE (November 2011):
Windows Embedded Compact v. Next will come with Visual Studio 2010 and Visual Studio v. Next support for native Smart Device application development. Unfortunately the future of managed application development as well as the future of the .NET Compact Framework was not mentioned. Windows Embedded Compact v. Next will RTM in the second half of 2012. Find the complete Windows Embedded roadmap post here.


You are most propably aware that since the middle of April Microsoft has announced the general availability of Developer Studio 2010. The question for us Windows Embedded Developers is, however, whether or not we can use DevStudio 2010 to develop Windows CE code.

Well the answer is fairly simple - at least for the current version of Windows CE - as DevStudio 2010 does not contain "Smart Device" application development support - but you all knew that, didn't you?

But what about the upcoming version "Windows Embedded Compact 7"? As you can guess, it is quite hard to get any information around this version, planned to be released middle of 2010.

However, due to my experience with Windows Embedded Product releases and support of Windows CE development through DevStudio over the last ten years my guess ist that even with "Windows Embedded Compact 7", Windows CE code development will still be done with DevStudio 2008.

So long and thanks for all the fish!
Read more! Post this to a friend!

Tuesday, 16 March 2010

Windows Phone 7 Series Development Tools Beta

On the Mix 10 conference, Microsoft announced the beta version of the development tools for Windows Phone 7 Series, the new OS from Microsoft succeeding Windows Mobile.


Applications for Windows Phone 7 Series can be developed using an enhanced version of Silverlight 3 or XNA, a tool chain to develop Xbox games. The also announced Silverlight 4 RC does not support development for Windows Phone 7 Series as of yet.

You can download the free Windows Phone 7 Series development tools beta version:
  • Expression Blend for Windows Phone for Silverlight development
  • Microsoft Visual Studio 2010 Express for Windows Phone (preview version)
  • Windows Phone Emulator
  • XNA Game Studio 4.0 CTP
Windows Mobile 6.x applications are not compatible with Windows Phone 7 Series. As of now there is no official statement from Microsoft if and how these applications can be ported.

Have fun!
Read more! Post this to a friend!

Thursday, 4 June 2009

Windows Mobile 6.5 Developer Tool Kit is ready for download

Hi guys,

the Windows Mobile 6.5 Developer Tool Kit adds documentation, sample code, header and library files, emulator images and tools to Visual Studio that let you build applications for Windows Mobile 6.5.
Using of the Windows Mobile 6.5 Developer Tool Kit requires installation of the Windows Mobile 6 SDK. You can download the kit here.

A very good introduction to usage the Windows Mobile 6.5 Developer Tool Kit wrote Jorge Peraza at the Windows Mobile blog. Check this post and get started!

Have fun!
Read more! Post this to a friend!

Tuesday, 12 May 2009

Living in the box ....

or developing applications with only 32MB virtual memory on Windows CE systems (before WinCE 6.0).
There are several sources about Windows CE Memory Management, my favorites are:
- Advanced Memory Management by Douglas Boling
- Virtual Memory Layout: Windows CE 5.0 vs. Windows Embedded CE 6.0 on MSDN
- What is virtual memory? by Sue Loh

okay,
but how to detect, if your app is running out of "in proc" 32MB virtual memory?
Very usefull is a tool provided with the Platform Builder on the Windows CE Shell called "mi" (memory information).
You can input mi [kernel | full] to display memory information. The full parameter displays a set of tables showing the virtual memory usage for all the processes in the system.
You will receive a detailed info about virtual memory usage in the following form:

Memory usage for Process 819b5de8: 'device.exe' pid 3
Slot base 08000000 Section ptr 83fca000
08000000(1): -----r----------
08010000(0): -CCCCCCCCCCCc
08020000(0): ------------S--S
08030000(0): WWWWWWWWWWWWWWWW
08040000(0): WWWWWWWWWWWWWWWW
08050000(0): WWWWWW---------
08060000(0): ---------------S
08070000(0): ---------------S
08080000(0): ---------------S
08090000(0): ---------------S
In the memory information "--" represents the memory space is reserved but not in use. Which indicates that a virtual page is currently allocated but not mapped to any physical memory. "C" represents code pages in ROM, "S" indicates a virtual page that holds a stack, "W" indicates a virtual page that holds read-write data and "R" represents r/o data pages in ROM.
Detailed info about the "mi full" output is provided in the Platform Builde help.

The investigation of the commandline output may be hard, but you can get these information also as an image, which is easier to interpret as the commandline output.
Just take a look at the "VirtualMemory.exe" from CodeProject.

Red means, that memory block is completely empty. Blue means that the memory space has been reserved. Green means the memory space has been committed. A mixture of colors means some combination of all three.
This app allows you a very quick and detailed analysis of the usage of the virtual memory on your Windows CE system.

Then avoid memory leaks and have fun!
Read more! Post this to a friend!

Wednesday, 6 May 2009

Windows Marketplace for Mobile

Hi folks,

Microsoft has just started their Windows Marketplace for Mobile. Thereby Microsoft enables Windows Mobile application developers to easily manage and distribute their applications. If you want to post your application you need a valid tax number and a Windows-Live ID. Furthermore you need to pay $99 US for up to 5 applications and an additional $99 US for each additional application and acknowledge the “Application Provider Agreement”. Now you can distribute your application. In return you get 70% of the profit from your applications.

The Marketplace itself will be launched in the second half of 2009 as a competitor to similar offers form Apple and Google.

Further information can be found at the Marketplace’s FAQ page.

Have fun!
Read more! Post this to a friend!

Friday, 1 May 2009

Windows CE and SDK names

Hi folks,

imagine the following scenario: You, as an application developer for Windows CE, get yet another Custom Platform SDK from your BSP vendor. So far so good but upon installation of this particular Custom Platform SDK you see that its installation name is something totally generic like “WinCE SDK (ARMV4I)”. This wouldn’t really pose a problem if it was the only Custom Platform SDK installed on your machine. But as you can easily see it will be a huge problem if you have 5, 10 or even more Custom Platform SDKs installed. Now it is nearly impossible to remember which SDK belongs to which platform.

So is there a way to rename a Custom Platform SDK upon installation without asking the BSP vendor for a new one with an appropriate name? We tried different things to figure out a solution for this problem:
  • Looking for the name of the Custom Platform SDK in the registry – unsuccessful

  • Patching the SDK .msi installer file with Orcaunsuccessful

  • Studying the SDK installation process with Sysinternals Process MonitorBINGO

Names and other information about installed Windows CE Custom Platform SDKs can be found in the file:
C:\Program Files\Microsoft Visual Studio 8\VC\vcpackages\WCE.VCPlatform.config
All you need to do after changing the name in the above file is to restart Visual Studio and your Custom Platform SDK will appear with your new name.

As you can see it is important for BSP developers to always export Custom Platform SDK with descriptive names!

Have fun!
Read more! Post this to a friend!

Thursday, 30 April 2009

Check out the new documents about ...

Windows Mobile application mobile development at MSDN.

The first one is very useful particularly for newbies to make first steps with Windows Mobile Application Development and to get an overview of the Windows Mobile platform, tools and SDKs:
Getting Started with Building Windows Mobile Solutions with Visual Studio and Windows Mobile 6 SDK.

The second one shows you how to use the alpha blending and gradient drawing APIs to create a compelling and attractive user experience on Windows Mobile platforms:
http://msdn.microsoft.com/en-us/library/dd630622.aspx

Have fun!
Read more! Post this to a friend!

Wednesday, 18 February 2009

Getting Started: creating your first Windows Mobile 6 app

Hallo guys,

for all of you which are new to Windows Mobile application developement, take a look at the MSDN Code Galery and get started with this overview of Windows Mobile 6 application development.
At the following link you will find a video that shows you how to create your first Windows Mobile 6 (Professional) application using Visual Studio 2008. It's very good point to start WM6 application, then this video and the sample code (shown in the video) are available for download.

Check this out!
Read more! Post this to a friend!

Tuesday, 10 February 2009

REMINDER: Windows Mobile App Dev: Microsoft Technical Chat TODAY!

Hi Folks,

Don’t miss today’s FREE MS Technical Chat!

Title: Windows Mobile App Dev Chat
Date: Tuesday, February 10th, 2009 9:00 - 10:00 A.M. Pacific time (additional time zones)

Description:
Do you have questions regarding Windows Mobile application development that you need answers to? Spend an hour with Microsoft employees and MVPs who are experts in Windows Mobile application development. Please join us for a live chat and bring on the questions! This chat will cover the tools and technologies used to develop applications using the Windows Mobile operating system.

To join this chat, please log on via the main MSDN chat page at:
http://www.microsoft.com/communities/chats/default.mspx

There is also an archive of previous chats available at:
http://msdn.microsoft.com/en-us/chats/aa497439.aspx

Have fun!
Read more! Post this to a friend!

Tuesday, 27 January 2009

Disabling Security when connecting to a device.

You will most probably know all the steps required when connecting to a device from within Visual Studio 2005/2008 but did you know that you can get rid of the annoying call of cMaccept.exe? Remember this is the .exe you have to call each time you lose the connection to the device. I was - again - astonished to see that this is not as clear as it should be, as it is very well documented in msdn.

All you have to do is disable the devices security by setting the following registry key:
HLKM\System\CoreConOverrideSecurity = 1

Once you have done that you can skip calling cMaccept when connecting to the device.

Note: It goes without saying that this registry key should only be set manually when you are developing applications for a device. I would not recommend shipping a device with this registry key set.

So long and thanks for all the fish!
Read more! Post this to a friend!

Monday, 8 December 2008

Application Development under Windows Embedded CE 6.0

Hi out there,

in case you are looking for a good and extensive description of the changes in application development under Windows CE 5.0 to application development under Windows Embedded CE 6.0 have a look at this article on the Windows CE Base Team Blog written by Upender R. Sandadi.

Have fun!
Read more! Post this to a friend!

Thursday, 20 November 2008

Agile Developement with Visual Studio (Part II)

Hello,

for all agile guys out there who did not manage to get time off and come to Barcelona - here the link to slides about Agile software developement with VS by Stephanie Saad from the Tech Ed.

If you're using Version ONE in your projects for planing purposes, maybe you should think about usage of the TFS (Team Foundation Server). In this case Version ONE offers an integration with Microsoft Team Foundation Server 2008, which gives you some very nice features, like updating your tasks directly from Visual Studio. :)

If you're interessted in it, just take a look here: http://www.versionone.com/microsoftvsts/

Thanks
Read more! Post this to a friend!