windows-mobile

windows phone 7 database connectivity with sqlite

i am developing an app in windows phone 7, in which database connectivity is required. i use sqlite as database. plz give me some idea(code) for connecting sqlite with my app. thnx...... ...

Setting focus on control causes windows tool bar to appear

When I set focus on a text box, on a forms load event in Windows Mobile 5.0, the Windows tool bar appears even though my form is maximized. When I do not set the focus on the text box the form opens maximized. I do not want the windows tool bar appearing. How do I prevent this from happening? ...

Locking Windows Phone with Custom Screen C#

I need to lock Windows Mobile Screen (without using default locking system) on perticular activity. I have seen on web that developers are using SHDeviceLockAndPrompt or EnableHardwareKeyboard for achieving lock. This will show default window lock screen. I need to show my screen with own checking of password with my own database. How ...

DataWedge library - Motorola MC55 barcode scanning very slow

Hello I have Motorola MC55 with DataWedge 3.2.4 installed. The issue I encounter is very slow scanning of barcodes, especially those prefixed with 'U' letter. I open the notepad and scan a barcode, text appears very slowly (even 2sec after barcode key trigger). How to tune/fix it to have more performant scanning capability? Regards Dom...

VS 2008 Professional, Smart Device .NET C# project - slow build

Hello I have VS 2008 Professional and a Smart Device .NET C# project. I have ~100 cs files in total. The build takes very long time, I have to wait for linker approx. 1min (60s) every time i compile the project. I have Core i3, 4GB RAM, 7200rpm disk. What may be the reason and how to optimize the build? Any Visual Studio options? Rega...

how to send any key from my program to another - in windows-mobile ?

hi how to send any key from my program to another - in windows-mobile ? for ex: if i press 'A' in my program, and i want to send it to another program thank's in advance ...

Windows Phone 7 applications - Orientation Change

Hello there fellow developers! I am working on a Windows Phone 7 app and I can't figure out what I believe is a simple problem for the more seasoned ones. Say I have a layout consisting of two elements: a ListBox (filled with an abundance of items) and a TextBlock (providing the user with some basic instructions). I want these to be one...

Out of Memory on Windows Mobile 5

My application is running out of memory. It runs on an MC70. It happens when I pull a lot of data down from a Web Service. I know I have a lot of data in memory, but I am wondering if there are any tricks of the trade when dealing with this kind of thing. Here is my scenario, I have a soap service that gets activity data, including i...

sqlite connectivity with windows phone 7

I'm new to development. I'm developing an app in which I have to connect it with database. I'm using sqlite for that. Please tell me how I connect app with sqlite. thanks. ...

How to check Internet Connectivity on Windows Mobile Application using C#.net code

hi,while writing the code for checking connectivity of a device, i came accross System.Net.NetworkInformation but that didnt work as i am working on windows mobile 6.0 compact framework. then i used the 3.5 framework using using System.Net; using System.Web; using System.IO; and the code as follows from one of the blogs: private sta...

Call WCF REST Service from .NETCF 2.0 Smart Device Application

I need to Call WCF REST Service from .NETCF 2.0 Smart Device Application. There us no "Add Service Reference" option for adding reference to WCF service in .NETCF 2.0 Smart Device Application. ...

Maintain WCF Session with .NETCF 2.0 Mobile Application

I am developing Windows Mobile Application (NETCF 2.0) which needs to make connection to WCF Service (4.0) hosted on IIS. Mobile Application establishes connection with Server (containing WCF Service) for each transaction which requires authentication from database. How can I maintain WCF Sessions to authenticate Mobile Application for ...

How can I detect keyboard and/or mouse input on Windows Mobile?

I'm working on a small C++ project which involves a launcher application that does a bit of setup work and then invokes the real application. To be precise, I'm working on the launcher application - the real application is done by a separate team. These programs are both deployed to Windows Mobile devices. Now, I'd like to be able to get...

windows mobile phone 7 - C# only?

I've heard that app development on the new windows phone 7 is C# only. Is that true? I haven't been able to verify that on my own. Can you please provide a link to this? If true, is there any rumors about allowing VB.Net to create apps as well? ...

Windows Mobile - Accessing Application's table from PC

Hello All, I'd like to know how to access the data stored in the SQL server tables from Windows Mobile to PC. for e.g. I can add many data to the application and when I connect to the PC, I'd like to access it. We can use SQL Server Sync for synchronizing the data and using web services, it's possible to access the data but this has ...

Right-aligning button in a grid with possibly no content - stretch grid to always fill the page

Hello people, I am losing my patience with this. I am working on a Windows Phone 7 application and I can't figure out what layout manager to use to achieve the following: Basically, when I use a Grid as the layout root, I can't make the grid to stretch to the size of the phone application page. When the main content area is full, all ...

Convert BMP to PCX C# Compact Framework

Has anyone dealt with converting a BMP to PCX in the .net compact framework. I need to convert a signature from a BMP to a PCX to be printed on a Zebra RW420 bluetooth printer. Any help would be greatly appreciated. Thanks! ...

Passing a C# string to an unmanaged C DLL in Windows Mobile

Hi, I've got an unmanaged c++ DLL that I need to call from a Windows Mobile C# app. I've got the C# wrapper and it works nicely in desktop. I can call the DLL functions from a C# desktop program and pass strings around with no problem. However, when I compile the lib and the wrapper for the mobile platform, I get an error in the DllIm...

How To Remove Cprog (Windows Mobile Phone App)

How To Remove Cprog (Windows Mobile Phone App) I have tried to find a fix for this but never found anything. I can't begin to explain what a pain in the ass cprog has given us, so I decided to really try to remove it. This is how I did it, and I haven't seen anybody else use it, so I thought this might help someone else out there. The...

how to Synchronize date & time between PC and mobile ?

hi i have WebService in the PC and i get date & time in dd/mm/yyyy and on another PC in mm/dd/yyyy i have any Windows-CE mobile that connect to this PC how to Synchronize date & time between PC and mobile ? (i need that the PC date & time will be in the monile) thank's in advance ...