windows-mobile

Windows Mobile Performance & DirectShow

Hi, Currently I'm building an application that is an image filter that should run in real-time. It's filter that transforms image captured from the camera and displays a transformed image just like the camera preview does. The problem that I'm having with this is that, the performance is critical to this app, as every captured pixel sh...

C# show gps location on map

I am working in a windows mobile application and I want to show my current location with google maps. I used the Location dll from the samples. As you see below in my code, I call the proper method for updating the map in the gps_Locationchanged event where I use the Invoke method to update the pictureboxe's image. The problem is that I ...

compatibility of native code C++ and openGL in Windows Phone 7

Hi, We have a windows mobile 6.5 gaming application which uses openGL . Now we planned to port it to WP7 (windows phone 7). When I check the compatibility of native code C++ and openGL in WP7, they are telling that there is no support in the WP7. WP7 support only Silverlight, XNA and the .NET Framework. So what we thought of use XNA....

Database for Windows Phone 7

I'm looking to release a really simple application for windows Phone 7. Unfortunately, My Apps need to store some data in the device. say a Database. My colleague found one SQLite library - http://sviluppomobile.blogspot.com/2010/03/sqlite-for-wp-7-series-proof-of-concept.html But How about Linq to SQL or EF for Windows Phone 7. Any L...

Navigating from one form to another

Hi This is a bit embarrasing but I'm not sure of the standard way to design a Windows Mobile Winforms application. Most of my experience is in Asp.NET. In particular what is the normal way to navigate between screens? I guess one way would be to have one "main" screen and open any other forms as modal dialogs. Another way would be to in...

Convert Smart Device Dll to ActiveX control for Windows Mobile

I am using C# and Visual Studio 2008. I have a class that will turn on the scanner of my Windows Mobile Device and then will capture the read of the scanner when pressed. It will also shut down appropriately and cleanly. I am using a vendor provided SDK to do a lot of the heavy lifting. I have this working correctly in a Mobile App, b...

How to pass Model object (to which data binding is done in view) between two views in MVVM

Hello, I am prototyping a windows phone 7 application in silverlight. I am trying to use MVVM pattern in my application. I have the following situation: I navigate from one view1 (page) to another view2 (page) using NavigationService.Navigate("uri of next page") method [Please note NavigationService is a sealed class, so cannot be overr...

Save Dialog in Mobile Application using C#

Hi Here is my code SaveFileDialog dialog = new SaveFileDialog(); if (dialog.ShowDialog() == DialogResult.OK) { aspectRatioPictureBox1.Photo.Save(dialog.FileName, System.Drawing.Imaging.ImageFormat.Bmp); } dialog.Dispose(); I want to save the file in mypictures folder defaultly with the ...

Pop-up keyboard in Windows CE 5.0

Is it possible force the build in keyboard to appear within a Windows CE 5.0 application? I am designing a project in C# and would like the keyboard or a numerical keypad to pop-up when the user has to input to the application. ...

Need a library for barcode scaning for windows mobile devices

Hi there, I'm looking for an opensource library/SDK for windows mobile devices. My purpose is to scan a barcode from mobile's camera and retrieve its info. I used zxing for android but is not supported for windows mobile devices :( Any suggestion would be appreciated ...

Update/Insert to a table using SQLCeResultSet

I have a SQL Compact Edition Database that I update periodically (via web services). The part where I write to the database is taking way too long. I am currently doing it with Linq to Datasets (as seen in this question). I have heard that if I do it with with SQLCeResultSet that it will work faster. So, given that I have a table lik...

WMPLib.dll not running Dispose() correctly. How can I play mp3s on Windows Mobile?

Using the Interop.WMPLib.dll to play mp3 files on Windows Mobile 6.x, but I can't get the GC to cleanly dispose of itself. I need to play a short mp3 (20-30 seconds) every 5 minutes for a long-running app (one hour or more), so I cannot afford to not have the GC dispose of the lib correctly. One solution was discussed on SO (http://stack...

Windows mobile application and javascript communication

Hi There, Is it possible to create communication between running program context and javascript ? for example, iPhone have good example about it under webkit development on iPhone. It's possible to invoke this command stringByEvaluatingJavaScriptFromString from webview in the application scope on Obj-C and iPhone platform. I'm looking...

Resco MobileApp Studio - crash when adding datasource

Hi I'm trying to get the Resco MobileApp Studio demo working. It crashes Visual Studio when I try to add a datasource (SQL CE database file). Here's the error from the event log: Version=1 EventType=CLR20r3 EventTime=129227782741643080 ReportType=1 Consent=1 UploadTime=129227782742193080 ReportIdentifier=131751b8-87ef-11df-91fd-001c7e7...

Resco controls demo - is this meant to work with VS2008? AAARRRGGGHHH!!!

Hi I've downloaded the Resco controls demo "MobileFormsToolkitEvaluation.2010.msi". Surely this works with VS2008? I've tried everything I can think of to add the controls to the toolbox but they appear greyed out. It all seems good in VS2003 but I can't get them working in VS2008. I've emailed Resco but they won't answer until tomorrow...

Please Advise on Performance in C# File Encryption

I have created a test (not real) encryption function which takes a byte[] and replaces all the bytes with 0xff and returns private byte[] encrypt(byte[] input) { for (int i = 0; i < input.Length; i++) { input[i] = 0xff; } return input; } Now i want ...

Windows mobile dump files show empty stack information

hi, i got kdmp file on my windows mobile 5 platform about 20K, normally the kdmp is about 200K. in the 20K kdmp file, all threads has a empty stack. does this happen to anyone? what could cause such a behavior? Thanks ...

Bug in creating MFC archives in Windows mobile 6

In a VS2008 debug build of my Windows mobile 6 application, I'm getting an exception thrown whenever I try to write to a newly created CFile using a CArchive. The call stack, with relevant code inserted, is as follows; MFC90UD.DLL!ATL::CTime::CTime(int nYear = 60056, int nMonth = 5, int nDay = 27, int nHour = 22, int nMin = 44, int nSe...

Windows Mobile 6.5 - .NET CF connection management

Hello I'm developing a Win32 mobile application (.NET CF 2.0/3.5) that has to communicate with a WebService. The mobile computer will be used in places called "Dispatch" where good WLAN coverage is provided and company offers its own AP with defined SSID name. This means that the mobile computer must use those APs (knowing their SSID na...

How to pass the image value in one xaml page to another xaml page in windows phone 7?

Hi, My Requirement is, in first xaml page place all the images .if whenever click on particular image that image can be displayed in another xaml page .How To pass The image value from one xaml page to another xaml page for windows phone 7 app developement using silverlight. ...