windows-mobile

C# on Windows Mobile

Hi friends, I am new to C# , working on C# for windows mobile. I have done basic examples , however where should i get necessary documents (APIS , examples etc ) for C# so that i can explore more . ...

best way for open database connection - discussion

hi what is the best way for open connection to database ? open in form1 - and close and open again in form2 ? open in form1 as static - and use it for all form's (stay open all the time) ? after I clossing the connection is it good to do - Connection.dispose() ? I work on C#, and connect to sqlCE, Windows mobile 2005 thank's in a...

How can i get Contact list from mobile ?

Hi All, I am developing web application which is need to get the contact information from mobile(iPhone,Noakia, etc...).My application is in PHP.Please advice me over this issues Thanks in advance. ...

Performance of DirectX and Recent Windows Mobile Version

I'm seeing very poor performance while using the managed DirectDraw wrappers for WindowsMobile. Microsoft.WindowsMobile.DirectX.Direct3D I would appear the biggest bottle neck is calling Device.Present() after building up the scene. When using the System.Diagnostics.Stopwatch and running this very trivial exmaple Using Sprites on ...

Windows Mobile Connection Type

Hi, I want to download some data if user is currently on a wifi connection but if user is connected using cellular data (e.g. 3G) I dont want to do anything to prevent data charges for the user. In order to do this, I need to know current connection type. Is there any API that would give me this information? (This is a native applicati...

Is it correct to leave COM1 open all along the program ?

hi Is it correct to leave COM1 open all along the program ? and close it only in exit from the program ? thank's in advance ...

CreatePatternBrush / Ellipse not working on WinMobile device but on emulator

To draw a circular part of a bitmap on the screen, I use a PatternBrush created from the bitmap to fill an ellipse. I use P/Invoke to the native functions because there seems to be a bug in CF2.0 if you use the managed functions (see here for more details: http://social.msdn.microsoft.com/forums/en-US/netfxcompact/thread/e831ea2f-039a-4b...

What is the best way to handle a weak wireless signal from a mobile app?

I have a handheld scanning device running Windows 6.0. the handheld is responsible for scanning barcodes at a stationary position outdoors as people enter and leave a building. The primary concern for this application is to get people in and out as quickly as possible. Now the handheld is communicating with a computer in another buildin...

Missing Linq namespaces (Linq to sql, compact framwork)

I spent this morning in trying to figure out where the system.linq.expressions namespace is. The following is what I did: In VS 2008, Create a new C#/Smart Device/Windows Mobile 6 Professional SDK/.NET CF v3.5/Class Library Used SqlMetal (in Program Files/Microsoft SDKs/Windows/v6.0A/Bin) to generate the data context. Added the data co...

better way to communicate between ad hoc wifi windows mobile devices

We are developing wireless ad hoc communication applications on windows mobile 6 devices using 802.11 in ad hoc mode. We are using HP iPAQ 910 devices and OpenNETCF smart device framework 2.3 for development. As a design constraint, each device is represented as an SSID. If two devices want to communicate with each other, initiator swi...

How to get application path in Windos Mobile using Visual C++

Hi All, I have an application that loads few image files from "images\" folder relative to the location where the application is located. Can anybody let me know how do I get the location in Visual C++. A quick google search revealed, there is no straightforward way. Can anybody help me to solve this ? Thanks DM ...

Mobile version of views for Ruby on Rails

Hello, I'm after some validation that I'm doing the right thing. I have my Ruby on Rails application in the following structure: /home    about.rhtml    index.rhtml /display    index.rhtml /data <--This is called by jQuery from the display\index page to provide the data to render    push.js.erb    pull.js.erb /layout    home.rhtml    ...

Windows Mobile application in full-screen mode

I have a Windows Mobile application developed with Visual Studio 2008 and C# (Smart Device Project). When I run the application there's a start menu bar visible on the top and keyboard bar on the bottom. How can I make my application run in full-screen mode? If possible I would like to have a solution that will allow me to turn full-scr...

Detect windows mobile device

Excuse the newbness of this, I'm not getting very far relying on google and intuition alone :S. I need to add the facility to a windows application, I have already developed, to detect the presence of a windows mobile device (win CE 5.0) and then copy a specific file to that device and copy a different file from that device back to the ...

Windows Mobile double bufferring does not work. Still flickers

Hi All, I am trying to implement double buffered drawing in a windows mobile application. But I still see the flickering. I am using InvalidateRect() in my rendering code(not shown here), instead of Updating the entire window. The rectangle mentioned in this API is flickering when I update/paint. Please help case WM_PAINT:...

Can I used Streamed mode in windows mobile

I am developing under Windows Mobile 6.5. My mobile application used WCF to upload files to server. I set transfer mode to be "Streamed" and it works well in my desktop. But the same code just can't run in the mobile application. I am wondering if mobile can use "Streamed" mode to transfer file. ...

getsockopt sensible for SOCK_STREAM + BTHPROTO_RFCOMM ?

I'm connecting to a bluetooth socket like so, SOCKET s = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); SOCKADDR_BTH bthSockAddr; bthSockAddr.btAddr = addr; bthSockAddr.addressFamily = AF_BTH; bthSockAddr.port = BT_PORT_ANY; bthSockAddr.serviceClassId = SerialPortServiceClass_UUID; if ( 0==connect( sOut, (sockaddr*)&bthSockAddr,sizeof...

Handling multiple views on newer Windows Mobile devices?

I'm porting an Iphone SDK app over to Windows Mobile 6 / 6.5 and i was wondering what is the best way of handling multiple views? On the iphone, there is an excellent tabstrip navigation model built in to let you switch views pretty seamlessly. There doesn't seem to be an equivalent way of doing this in WinMo 6/6.5. Someone had a c...

X-server for Windows CE

Hi folks, I'm trying to run an app from a remote X session (Ubuntu, 9.04) on a handheld device powered by Windows Mobile. I want to do this by running an X-server of some description on the mobile device and using SSH/PocketPuTTY or similar for a tunnel, as you'd do it on a standard PC/Mac. Can anyone pls. point me in the direction of ...

To receive SMS in windows mobile application

I am doing sample application using windows mobile 5.0. When i receive an SMS i want to check for certain criteria for (eg:"Honda"), if i found that word i will do my process, if not present it must be stored in Inbox. i done the code receiving sMS and search criteria, i don't no how to put the SMS in the Inbox anybody got an idea for d...