windows-mobile

Isolated storage location for windows phone 7?

Hi, I'm building a windows phone 7 application using silverlight 4. I store my data in Isolated storage as outlined here. The program runs with no errors. My question is where I can see the file I have saved? Is it possible to find the file in the windows phone 7 emulator? Thanks in advance. ...

SWT for Windows Mobile: UI Architecture

I have a Windows Mobile application written in Java that uses AWT for the user interface. I am looking at porting the UI to SWT. I got a hold of the SWT libraries for windows mobile and I started looking at what work will be involved in actually porting it over. I think the first thing I have to decide is how to handle a large number ...

How can I set or clear the proxy server used by a Windows Mobile device?

I want to programatically configure the proxy settings for the wifi network on my Windows Mobile phone. Does anybody know how to do that using the .net compact framework? ...

Play mp3 stream from http URL on Windows Mobile 6.0

After a short period of time learning about how to play a mp3 http url on windows mobile 6.0, I found that very less dll support that (until now, I just found out Bass.dll work nice). So I intend to change to another way to approach the goal. Here's my idea: Get a stream from http url. Decode the mp3 stream. Play the result from step 2...

Developing apps for Windows Phone 7

Can we start developing apps for the upcoming windows mobile 7. Are developer tools available? Do we have to buy the visual studio program for this? ...

How to programmatically select all the text of a TextBox control (Compact .NET 2.0)

I want to select all the text of a System.Windows.Forms.TextBox() control in a GotFocus event, but all the examples I found make use of the .SelectionStart / .SelectionEnd properties of the control, and those aren't available in .NET 2.0 Framework. using System; using System.Collections.Generic; using System.ComponentModel; using Syste...

Windows Mobile 6 and twitter

hi, I'm trying to implement Twitter into a mobile game that I'm developing and having difficulty with using the available libraries. Could someone explain how I use a library such as nTwitter on the .net compact framework 3.5 and windows mobile 6 professional SDK Thanks in advance for any help Tom ...

write file in network shared folder with UnauthorizedAccessException?

hi the win mobile 6 code tries to write files on network shared folder, but always gets UnauthorizedAccessException. I have checked permission and security setting on the folder and the code can read the file but just cant write to it. The code runs under administrator account which has full control over the folder and files. It is in vs...

WM6.5 - C# - Check if Start Menu is Visible

Hi guys, I'm developing an Windows Mobile 6.5 start menu replacement called JWMD Stuick. Currently, I'm able to detect if the Start Menu is created or destroyed by checking GetWindowLong() API.. Though this does not guarantee if Start Menu is visible or not because other cooked ROM was even if the Start Menu is closed or an app was ex...

what is the best way to write error's log file on Windows-mobile ?

hi what is the best way to write error's log file on Windows-mobile ? i need any C# sample code for this thank's in advance ...

GetIdletime in windows mobile using c#

Hi, I need to get the idle time of the device in one of my windows mobile app. I tried all the way i couldn't get it. could Any one post the code for it.. Thanks in advance. ...

.NET Compact Framework app that will run on both Professional and Standard

Is there any guidance on creating apps that will run on both professional (touch-screen) and standard (non-touch-screen) devices. I have a simple application that is mostly text and buttons that in theory should be able to run on both professional and standard devices with little if any modification. It seems the IDE wants to make this...

How to make a program to add/change picture image of a contact in Windows Mobile 6.5 environment?

Hi I am new to windows mobile development. Here is my question: How to make a program/function to add/change picture image of a contact in Windows Mobile 6.5 environment? Could you give some suggestions which class to use and how to use? Thanks a million ...

Accesing WinCE ComboBox DroppedDown property (.NET CF 2.0)

I'm implementing custom behavior sub-classing the form controls, but I cannot manage to access the DroppedDown property of the ComboBox. Looking in the help, it's supposed to be supported in CF.NET 2.0: using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using Syst...

Switching forms in .NET compact framework (windows mobile 6)

Hi all, I'm new to the .NET compact framework (and pretty much new to C# as well) and I've got a problem with switching forms in my mobile application. At a high level, my application makes use of multiple forms, with a main "application manager" class which performs the navigation/switching between the forms. My plan was to create form...

Change wallpaper in Windows mobile

I am developing an application in which I want to set images as the wallpaper. For that I have written the below code. When I use remote registry, the in-registry value gets updated but the wallpaper of the Windows mobile device does not change. [DllImport("coredll.dll")] private static extern int SendMessage(IntPtr hWnd, uint msg, int ...

Help me understand this C code

INT GetTree (HWND hWnd, HTREEITEM hItem, HKEY *pRoot, TCHAR *pszKey, INT nMax) { TV_ITEM tvi; TCHAR szName[256]; HTREEITEM hParent; HWND hwndTV = GetDlgItem (hWnd, ID_TREEV); memset (&tvi, 0, sizeof (tvi)); hParent = TreeView_GetParent (hwndTV, hItem); if (hParent) { // Get the parent ...

Windows Mobile UI Architecture

Hey Guys, I am tasked with rewriting the a mobile client (Win CE, Win Mobile 6 and later) application, because our current implemetation, based on MCSF is no longer usable. I have found this MVC framework: http://blogs.msdn.com/priozersk/archive/2008/10/10/mobile-mvc-framework-part-1.aspx Is this the current hotness? Our needs inclu...

c# how to read the message store on a windows mobile device 6

Hi, can anyone post an example how to read the messagestore on a windows mobile device 6? I done this with "InTheHand": foreach (InTheHand.WindowsMobile.PocketOutlook.SmsMessage mess in sess.SmsAccount.SentItems) { if (mess.Received.Year == thisYear && mess.Received.Month == thisMonth) ...

Login implementation for windows mobile

What is a good approach for credential checks for windows mobile app. Knowing that it is an occasionally connected device. Should I keep the user credential into the local database? If the credential doesn't exist in the db, try to see if it has internet access and do the check through a web service? If both fails then display an err...