|
To cause the device to wake up, you need to get the operating system to tell the hardware to wake up at a certain time. The very old way to do this was the CeRunAppAtTime API. The slightly newer way is CeSetUserNotificationEx .
I don't think .NET exposes this function directly. I think there's a wrapper for it in the OpenNETCF[^] libraries.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Can anyone point to a easy tutorial on writing Windows Mobile apps? I basically want to just write a few easy apps that do simple registry edits to improve performance and such. Any help would be greatly appreciated.
Thx,
Mike
|
|
|
|
|
MSDN has some pretty good stuff for getting started. They have the SDK's and devce emulators along with AtciveSync 4.1.
-Duffy-
|
|
|
|
|
I am trying to create a user control in C#, Visual Studios 2005, for a Smart Device. I have tried the following article from Microsoft:
http://msdn2.microsoft.com/en-us/ms180788.aspx[^]
I can not get it to work as described. I can build the control without errors. I can add the project that references the User Control. However, once in the new project the control does not show up in the toolbox as promised by the article. I have right clicked on the toolbox to try to add the control manualy, and the control is already set up to be displayed. I right click the toolbox and choose "show all". I can find the control within the toolbox, but it is disabled. What am I doing wrong?
Any help would be greatly appreciated.
Jepthy
|
|
|
|
|
I think I have figured out the problem. If I placed my project in a folder that had C# in the name, such as "C:\TEMP\C#" then I would not be able to have access to the control from the Toolbox. But if I put it in the "C:\TEMP" directory, it would work just fine. So I believe it had to do with the directory that the control was in. Maybe it can't handle anything that isn't a letter? Not sure, but if any one runs into this, this worked for me.
|
|
|
|
|
hi , consider the following url
http://localhost/test/(ma13nyrs2jxhgb55fi41b3zz)/Default.aspx?&lang=en
then how i could remove the bold code , iam using vb.net mobile web
application
thanks
Tamimi - Code
|
|
|
|
|
I believe ASP.NET adds this to the URL if it is configured not to use cookies (which I think it can detect the lack of support for certain mobile devices) and you use session state. To remove it you would have to turn off session support, or somehow else store the session identifier (perhaps in a hidden INPUT element), if that's possible. I'm afraid I'm not a web developer so I can't give much more information than that.
See HttpSessionState.IsCookieless for more information.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
hi
could someone give me a reference or article on how to use
the mobile softkeys on .net mobile web application ?? or Guide me
to deal with them.
thank you all
Tamimi - Code
|
|
|
|
|
Well, the subject is, I am developing a project for my study on C#, and I have selected to develop it on Pocket PC :s, This project cares at first concern with PPC owner's privacy. I wanted to make it like an access controller, to allow only allowed files to be opened by others and to control also sending via bluetooth and deleting files to protect personal or important files from nosy people.
But when developing this idea,, my researches gave me a lose of hope... So, because of this and because lake of time, I changed the idea, to implement an Encryption/Decryption algorithm, or maybe functions already available in Compact FrameWork. The problem is: Decryption has solved the problem of nosy people who might have interest in your files,, they can't open encrypted files, and even won't get any use of it, when sending them via bluetooth, BUT..What if an important file is encrypted and somebody delete it!! or rename it??
The help that I'm seeking from you, is to suggest an easy, light way of encrypting/decrypting files on Pocket PC (How nice if it's in C#), and what to do in renaming,deleting troubles??
Really I would be so grateful if you gave me any kind of help..
Thanx in advance..
|
|
|
|
|
Oh,,,Oh,, I found a solution to make nosy people don't delete my encrypted files,, or even alter them any way..
Simply, I would encrypt the file and then move it to a hidden folder... like that people who might use my pocket pc wont even know that I had that file...
But again a problem appeared what way to use in encryption?? and how to set a folder property to hidden??
plzzzzzzzzzzzzzzzz reply to me soon ... it's a matter of life or death
|
|
|
|
|
Anyone can help me to give a solution about this question?
How to transfer data from Mobile Wireless Application to Web Application using GPRS in .Net?
|
|
|
|
|
Hello,
I'm trying to do an application for my pocket-pc in order to easily rename pictures, I don't know where to start for reading a jpg on pocket, any suggestion?
I've seen that CF's System.Drawing.Image doesn't have .FromFile, how can I do that?
Thanks
Paolo
|
|
|
|
|
Hello All,
If I have a smartphone device, and say both the WAN and phone connection are connected to the network at the same time. How do you choose which connection to use in your application to connect to say, a webservice or something? I haven't even started developing yet, just trying to get a few questions answered.
Thanks in advance!
Ryan
|
|
|
|
|
In my asp.net 1.1 mobile project I have two ListControl. In both ListControls, Items As Links property is true. I want to navigate from first card where I have first ListControl to second card where I have second ListControl in case of click on any LinkControl on first card. I have alredy bind the DataTextField of firstListControl to database. I have tried to pass the id of second card to DataValueField of first card. But it is giving an error. Can any one tell me what is the right way to navigate in between mobile cards/forms from links of ListControl.
Saurabh
Saurabh
C#, ASP.Net
|
|
|
|
|
Hello all.
I have a problem. I have a CDialog-derived class with one CEdit control. This class is catching the ON_EN_SETFOCUS and ON_EN_KILLFOCUS messages for such CEdit. What I want is to show the SIP (System Input Panel, that is, the little keyboard, if available) when the CEdit gets the focus, and hide it when it looses the focus. I have some research, and here's what I've got:
<br />
<br />
BEGIN_MESSAGE_MAP(CCapDescargaBatch, CDialog)<br />
ON_EN_SETFOCUS(IDC_EDIT_BATCH, OnSetFocusEditBatch)<br />
ON_EN_KILLFOCUS(IDC_EDIT_BATCH, OnKillFocusEditBatch)<br />
END_MESSAGE_MAP()<br />
<br />
... <br />
<br />
void CCapDescargaBatch::OnSetFocusEditBatch() <br />
{<br />
SipShowIM(SIPF_ON); <br />
}<br />
<br />
void CCapDescargaBatch::OnKillFocusEditBatch() <br />
{<br />
SipShowIM(SIPF_OFF); <br />
}<br />
<br />
I found that SipShowIM shows and hides the keyboard. However, when I click the CEdit, the keyboard appears for 2 secs and then it "disappears", as if it were not handling the WM_PAINT.
Any thoughts would be appreciated.
Regards,
FG.
A polar bear is a bear whose coordinates has been changed in terms of sine and cosine.
|
|
|
|
|
Welcome to the fun that is the Windows Mobile/Pocket PC shell, where it thinks it knows better than you do.
If you're programming for Pocket PC/Windows Mobile, use SHSipPreference rather than SipShowIM . Also be aware that MFC calls numerous SHXxx APIs on your behalf, specifically SHInitDialog , SHHandleWMActivate and SHHandleWMSettingChange . To stop it doing this, set m_bFullScreen to FALSE in your dialog's constructor, then call SHInitDialog with your own preferences. Handle WM_ACTIVATE and WM_SETTINGCHANGE yourself if you want to avoid these methods being called - call CWnd::OnActivate or CWnd::OnSettingChange to pass the message down to DefWindowProc, avoiding the implementation in CDialog.
One of the values set in the call to SHInitDialog in the framework code is to put the SIP down (SHIDIF_SIPDOWN ); it could be that this is being called after the call to your OnSetFocusEditBatch function, or that using the old API does not clear the timer used by the shell to delay putting the SIP down. It may also be that using the API you're using doesn't send WM_SETTINGCHANGE and therefore your form is not resized when the SIP is dropped.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi
I have iPAQ H3850, which is having Microsoft PocketPC 2002. In .NET Framework any class is not given to program the serial port. Do any1 is having any idea how to program the serial port using .NET CF 1.0. In .NEt 2005 a serial class is given for programming the COM port but it works only for PocketPC 2003 or higher. But I have Pocket PC 2002. So kindly tell me is there any way to program serial port in PocketPC 2002???
Thanks.
Abhideep
|
|
|
|
|
Hello, could you please help me with this:
I am porting a solution for PocketPC 2003 written in
eVC 4.0 (MFC) to Visual Studio 2005 (Visual Studio 8).
Now I recognized there is no CDumpContext in the MFC-Version in VS 2005? Why is this? When looking into afx.h, where CDunpContext was declarated for Embedded C++ 4.0, it does not belong to WinCE-devices:
#ifndef _WIN32_WCE
class CDumpContext
{
...
}
#endif
Is there any replacement for dumping?
Thanks a lot...
Martin
|
|
|
|
|
HI :
what is best mobile browser emulator.
Tamimi - Code
|
|
|
|
|
Hi,
there is an independent, free one called Openwave which seems to be pretty good. There is also a company called yospace which provides a number of different emulators for differnet phones.
I am searching for exactly something like yospace provides, i.e. mobile emulators/ simulators for different types of phones but for free. Does anybody know of a few emulators for different phones which are usable? I already found one for, for instance, 2 Nokia IMode phones here.
Thanks a million for your help.
Sommarafton
-- modified at 6:56 Monday 12th June, 2006
|
|
|
|
|
thank you and thank you agian for the links
iam realy new to this , so i need to know what :
1 - Microsoft Mobile Internet Toolkit (MMIT)
2 - what is the main job from the emulator
excuse me but this is my first week;)
Tamimi - Code
|
|
|
|
|
|
thanks alot
Tamimi - Code
|
|
|
|
|
Hello fellows.
i am doing a project for PDA.
i want to read an xml file from pc's C drive from the code written for PDA.
i am using vs.net2005 and c#.
the way i am trying is as follows.
FileStream fs = new FileStream(@"c:\\xmldata.xml", FileMode.Open);
XmlTextReader reader = new XmlTextReader(fs);
but as i delpoy.it says that file does not exist.verify the path.
please help me out.
its urgent
Ahsan Ullah
|
|
|
|
|
Hi Everybody,
I have a serial driver using COM1: which does not recover after the device is put
into hybernation. Does anybody know how to set up and receive the correct
system messages so I can recover this. I know COM1 is being powered down and my
driver needs to re-attach to this device after coming out of hybernation.
thanks
jeff
|
|
|
|