Sell your applications on Windows Mobile Marketplace

3/17/2010 11:22:00 ÖÖ

(1) Comments

If you have an Dreamspark account, there is no 99$ fee for selling your applications on Windows Mobile Marketplace. You can get n Dreamspark account by applying your university or getting an ISIC international student card.

https://www.dreamspark.com/

You can download Windows Phone Developers Tools CTP that includes;

Visual Studio 2010 Express for Windows Phone CTP
Windows Phone Emulator CTP
Silverlight for Windows Phone CTP
XNA 4.0 Game Studio CTP

 

Windows Phone Developer Tools CTP

Windows Mobile 6.5 SDK

Yasin Hasan Karanfil

“Could not find resource assembly” error on Windows Mobile

3/05/2010 05:10:00 ÖS

(0) Comments

You should avoid deploying the System_SR cab file; In project properties, select Devices tab uncheck .net framework deployment

If it didn’t work

Copy the System_SR_ENU.CAB file to the emulator and install it. You can check this folders

C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\Diagnostics
C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE\Diagnostics

Yasin Hasan Karanfil

Enable Network Connection on Windows Mobile Emulators

3/05/2010 05:04:00 ÖS

(0) Comments

If you have trouble with connecting to the internet with emulator, and you also tried Active Sync or Windows Mobile Device Center, there is a better way to do it, which worked perfectly for me.

Source: 

http://www.xdevsoftware.com/blog/post/Enable-Network-Connection-Windows-Mobile-6-Emulator.aspx

Steps How I Enabled Internet Connection on the Emulator:

- Downloaded and install Virtual PC 2007 (this is because it has to install some driver for the network card to work for the emulator)
- Open Windows Mobile Device Center and allow DMA connections.
       this can be done by going to Mobile Device Settings ->Connection Settings -> Allow Connections to one of the following -> Select DMA
- Opened Visual Studio and opened my mobile app
- In the toolbar selected Device Options Icon (located next to dropdown with the emulators to select from)
- Under Device Tools -> Devices I selected my Windows Mobile 6 Pro Emulator then clicked on Properties
- Clicked Emulator Options
- Select the Network Tab
- Checked the first box (enabled NE2000 PCMCIA network adapter and bind to:)
- Selected the name of my network card
- Ran the emulator by running the application
- Went to Connection Settings in the Emulator
      Start -> Settings -> Connections Tab -> Connections -> Advanced Tab -> Select Networks -> Choose My Work Network for both drop downs

That should do it to get internet going on your emulator.  Quite a few steps to get on the Internet, but oh well.

Yasin Hasan Karanfil

Creating Windows Mobile CAB Files Programmatically

3/05/2010 04:58:00 ÖS

(0) Comments

There is an easy way to create CAB files programmatically is to create Smart Device Cab Project in Visual Studio. If you check the Debug output you will see there is a command like this

"C:\Program Files (x86)\Microsoft Visual Studio 8\smartdevices\sdk\sdktools\cabwiz.exe" "C:\Users\aradiomy\Documents\Visual Studio 2005\Projects\Program\ProgramKurulum\Release\ProgramKurulum.inf" /dest "C:\Users\aradiomy\Documents\Visual Studio 2005\Projects\Program\ProgramKurulum\Release\" /err CabWiz.log

 

You can edit the *.inf file and call this command from a script or your program.

Yasin Hasan Karanfil

Getting Screen Resolution Programmatically on Windows Mobile

3/05/2010 04:52:00 ÖS

(0) Comments

int screenWidth = Screen.PrimaryScreen.Bounds.Width;
int workingWidth = Screen.PrimaryScreen.WorkingArea.Width;
int screenHeight = Screen.PrimaryScreen.Bounds.Height;
int workingHeight = Screen.PrimaryScreen.WorkingArea.Height;

Yasin Hasan Karanfil