windows-mobile

Power On/Off GPRS on windows mobile

ε祈祈猫儿з 提交于 2019-12-06 15:26:14
i'm looking for a way to power on or off the GPRS adapter programatically. If you're already using the Smart Device Framework , the ability is already there in the API, as you can see in this blog entry (the blog is for WiFi but the phone radio and bluetooth work the same way). THe other option is to call ChangeRadioState in ossvcs.dll yourself (that's what the SDF is doing). 来源: https://stackoverflow.com/questions/1164057/power-on-off-gprs-on-windows-mobile

Setting Windows Mobile device system time from computer?

六眼飞鱼酱① 提交于 2019-12-06 15:18:58
问题 I'm trying to sync the system date and time of a device to the desktop it's docked to, I'm working through compact framework (C#). My goal is to detect when the last time the device was synced to a database on the desktop machine was. How can I do this? 回答1: I am not sure what the final question is. If you ask, how to sync the time of the device with the PCs time when the device is dockked, then you can use the free ITSUtils and some registry change on your PC to automate time snycing: The

developing applications for windows mobile,c#

雨燕双飞 提交于 2019-12-06 14:19:00
i work on visual studio 2008,now i want to create applications for windows mobile in c#. what r d requirements and how to build them??? Do i need any kind of simulators Answering your question with right degree of detailing that it deserves is beyond the scope here. So I recommend you to start from here ! Windows Mobile Developer Center There is a Windows Mobile SDK available for free from Microsoft, however you must use a full version of Visual Studio (not an Express edition). Brian Sweeney You can now use Visual Studio 2010 express mobile edition as well. This is nice because it seems to be

Can't find referenced assembly when compiling for Windows Mobile

﹥>﹥吖頭↗ 提交于 2019-12-06 13:39:17
I decided to use tessnet2 library for my Windows Mobile 6 project. Unfortunetly while I am trying to compile it, it throws an error: The best overloaded method match for 'tessnet2.Tesseract.GetThresholdedImage(System.Drawing.Bitmap, System.Drawing.Rectangle)' has some invalid arguments The type 'System.Drawing.Rectangle' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' OK, I know. Add reference to the assembly. The problem is, that I did it. I add reference by 'Add

Bootstrap 3 Glyphicons are not working in window mobile

妖精的绣舞 提交于 2019-12-06 13:34:13
Bootstrap 3 Glyphicons are not working in window mobile. They are working in other devices(Expect window phone) Nathan Bills As Mathew Hintzen has posted, the easiest way is to include the MIME specification in your web.config. Also, as he pointed out, this will cause 500 Internal Server Errors if you are using the Bundling of styles/scripts: <configuration> ... <system.webServer> ... <staticContent> ... <mimeMap fileExtension=".woff" mimeType="font/x-woff" /> </staticContent> </system.webServer> </configuration> To answer the OP's question AND to fix the 500 Internal Server errors, include a

How to register form for WM_DEVICECHANGE message in windows mobile

守給你的承諾、 提交于 2019-12-06 13:29:02
I am using C# .NET 3.5 Compact Framework to write code.. please can any one tell me how do i register a form for WM_DEVICECHANGE and how to handle that message in WindowProc .. if I do this I get intimation of device hardware change.. I m not getting how to write please tell. Thanks The key is to create a class deriving from NativeWindow, give this the handle of your form to call AssignHandle with, and override the WndProc function (allowing you to do what you want with WM_DEVICECHANGE). See the example on this MSDN page for more details: Overriding the NativeWindow.WndProc Method [EDIT] Not

Windows Mobile 6 J2SE-scale JVM implementation

情到浓时终转凉″ 提交于 2019-12-06 13:14:44
Does anybody have experience of a decent J2SE (preferably at least Java JDK 1.5-level) Java Virtual Machine for Windows Mobile 6? If you know of any CLDC VMs, I'm also interested because even that would be better than what we currently have for the platform. Yes, I've tried doing things with Java on Windows Mobile. I tried really hard. The best advise I can give you is: Stop right now, and start using .NET Compact Framework. Anyway, the two 'good' JVMs for WM are IBM-J9 and NSICom Creme, which still are both terribile to work with. You've already seen Creme - IBM-J9 isn't much better. They are

Windows Mobile Emulator networking to host machine

夙愿已清 提交于 2019-12-06 11:19:46
I'm trying to do some Windows Mobile dev in VS2008. The WM app is making a WCF call (or trying to). The emulator and my WCF server are running on the same desktop PC. I found some details about how to configure the network card on the WM5 emulator in conjunction with Virtual PC2007. This does allow me to now surf the net view the emulator, which puts me a lot closer than I was. However, I can't get it to recognise the desktop machine itself, e.g. http://mycomputername/ and http://10.1.1.2/ Obviously, this makes it a bit hard to test the WCF side of things. Have I missed something obvious?

Increasing Windows Mobile 5 Emulator Storage

时间秒杀一切 提交于 2019-12-06 11:12:46
问题 I'm using the Microsoft Sync Framework to synchronize a SQL Server database with a SQL Compact SDF file on the Windows Mobile 5 emulator. We have a 2 gig SD card in the actual device we're deploying on so we'd like to store our database file there. However, when I map a shared folder as the storage card in the Windows Mobile 5 emulator, the SQL Compact engine is not able to create or modify a database file on the mapped storage card because of a bug. So to get past this during development on

C# .NET Compact Framework, custom UserControl, focus issue

天大地大妈咪最大 提交于 2019-12-06 09:57:07
问题 I have a custom UserControl (a label and a textbox). My problem is I need to handle the key down, key up events to navigate between controls in the form (.NET Compact Framework textbox, combobox, etc). With the controls provided by the .NET Compact Framework framework it works, but when I reach a usercontrol written by me, that control don`t get focus (the textbox inside get the focus) so from this usercontrol I cannot navigate because in the panel I don't have any control of who have focus.