windows-mobile

How to skip a page in back navigation in windows Phone 7

杀马特。学长 韩版系。学妹 提交于 2019-12-11 02:55:57
问题 I am developing a application on windows phone 7. So my landing page is a custom Splash Screen page ( i didn't use the default way of showing a splash screen ie. having a png file, as i need to add data in the splash screen at runtime based on the user profile). So i created a splashscreen page. After a period of delay ( 5 sec), I navigate to my main page. using PhoneApplicationFrame root = Application.Current.RootVisual as PhoneApplicationFrame; root.Navigate(new Uri("/MainPage.xaml",

Programmatically set PIN/Password used to unlock device

隐身守侯 提交于 2019-12-11 02:48:38
问题 Our software allows the users to lock their Windows mobile 6 devices using the following API call. [DllImport("aygshell.dll")] public static extern int SHDeviceLockAndPrompt(); When deploying our software our client would like to be able to set a universal unlock PIN/Password for all of their users so that each device does not need to be set-up manually. Is there any way to set this either programmatically or through a reg key? 回答1: I'm not sure about the Shell function call you have

Windows Mobile to Zebra Printer over WLAN (ad hoc)

送分小仙女□ 提交于 2019-12-11 02:34:34
问题 I have an Intermec (CN3) Windows Mobile 5.0 device and a Zebra P4T printer. The printer does not have blue tooth. But the printer does have wireless capabilities that can be configured from a PC. http://j.imagehost.org/0665/printer_network_config.png The working environment does not have a wireless network that we can take advantage of. We are writing a .NET Compact Framework application that will run on the Intermec device and print to the Zebra printer over a wireless connection. What

Copy a file from PDA to PC via USB in java

*爱你&永不变心* 提交于 2019-12-11 01:53:29
问题 In my application I want to copy a file from PDA to PC via USB, using Java. But I don't have any idea about how to do this and what API to use for that? 回答1: You need to use RAPI in order to do this. In order to access the RAPI dll from Java you can either use JNI or a library like this NativeCall. 回答2: I have post describing how to do this in .NET, although it doesn't directly solve your problem it does demonstrate which methods to use in RAPI and how to use them. http://christian-helle

DataGrid column size (Compact Framework) C#

两盒软妹~` 提交于 2019-12-11 01:47:58
问题 I'm new with DataGrids. My Code: private void populateGrid() { conn.Open(); string query; query = "select company_id_no, company_name, last_update_datetime, username from company"; OracleDataAdapter da = new OracleDataAdapter(query, conn); OracleDataSet ds = new OracleDataSet(); da.Fill(ds); dgSku.DataSource = ds.Tables[0]; } This is how it looks on my mobile device: I want it to automatically re-size the columns to 100%, like: I would really appreciate if someone can point me in the right

better way to communicate between ad hoc wifi windows mobile devices

假如想象 提交于 2019-12-11 01:40:26
问题 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 switches to other device's SSID and broadcasts UDP messages. However this switching takes 4-5 seconds to complete and spending this much time might be undesirable

Compact framework voice recognize API or library

浪尽此生 提交于 2019-12-11 01:12:04
问题 So far my research telling me that there is no free library for voice recognize. Is this still a case, (because all post I found is old few years). Is there sample app, or anything that I can start with If I want to make my WinMobile C# app be able to recognize Voice from input. 回答1: The only library I'm aware of that works with Windows Mobile and the Compact Framework is Chant. 回答2: Have a look at http://www.microsoft.com/speech/developers.aspx Microsoft offer free implementations, but they

Edit Registry Values

戏子无情 提交于 2019-12-11 01:07:28
问题 I want to change the registry values on the pocketPC. I ran the following code: if(enabled) { dwData = 120; } if(RegSetValueEx(HKEY_LOCAL_MACHINE, _T("System\\CurrentControlSet\\Control\\Power\\Timeouts\\BattSuspendTimeout"), 0, REG_DWORD, (LPBYTE)&dwData, sizeof(DWORD))) { return FALSE; } but it doesn't shange the registry entry. Does anyone know how to set registry key values with c++? Thanks! 回答1: There are a two problems with what you are doing: 1: RegSetValueEx does not take a path, only

Adding custom message header to a WCF service which is consumed from Windows Mobile 6 client

本秂侑毒 提交于 2019-12-11 00:29:17
问题 I have a WCF Service Application which server to different type of clients. While calling the service methods I want to send some spesific information within the service header. While using a newer version of .NET Framework I can handle the situation using MessageHeader. Since the consumer can see the service as WCF Service there is no problem. [DataContract] public class AuthToken { [DataMember] public string Username { get; set; } [DataMember] public string Password { get; set; } } Client

creating popup screen on windows mobile 6.5

ぃ、小莉子 提交于 2019-12-11 00:03:15
问题 I'm very new to creating windows mobile applications. I have a button called 'Settings'- i want this to open a small popup that overlaps the current window with purely a textbox asking for a password. How would I go about this? Do I have to create a new form, but size the form accoringly? I've created a new form and sized it much smaller, but when it opens, it is full screen. Any help appreaciated 回答1: For the Pop-Up dialog effect, drop a Panel control onto your main form that you call