|
Can I easily catch with .NET CF an event or notification, when a SD card or comparable is inserted or plugged out?
I have done this in embedded Visual C++ 4 once, but I cannot find my source, nor find anything about the mechanism in general right now.
Hints/help appreciated.
|
|
|
|
|
At least I remembered that I had to catch the WM_DEVICECHANGE event, and I had to register for notification previously.
Anyhow, I have no idea if this could work with .NET CF, since at least the registering process is somewhere in the API.
Hints are still welcome.
|
|
|
|
|
Made it on my own, the only trick thing is to get the correct DEV_BROADCAST_PORT instead of a volume. Only one of the LPARAMS carries the SD-cards attaced path.
|
|
|
|
|
I have created a Mobile application using .net 2.0.
I have used mobile web forms to create the application. I want to know is it possible to write client side scripting in mobile application.
After searching on net i got wmlscript but not able call wmlscript functions from mobile web form.
Any help is appreciated.
To be very clear my question is how to use client side script in mobile application?
Thanks in advance.
|
|
|
|
|
hi
am a visualbasic programmer and as well as a php programmer. but have interest in writting programs for mobile phones. can someone tell me where to start. like, what programming language to use, tutorial on the programming lang. thanks
daser solomon
yeah a c programmer noting they happen na naija we dey noting they bash
|
|
|
|
|
That depends upon your selection of Language.
Everything can be done in all languages.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
ok but what if i chose to use vb.net to write a mobile fone application, so how do i upload it to the phone. plz can you help me with some tutorials?
helping someone is actually helping self
|
|
|
|
|
Visual C++ has always been available. Visual Basic support has lagged. Now .NET and C# ("managed code") seem to be the preferred language.
Download Embedded Visual Tools from Microsoft's web site. It's a free download. You can develop simple apps in emulation mode, running on the PC without need for a handheld.
Latest Mobil devices require the Visual Studio first, which is not free.
VC++ is my recommendation.
ActiveSync is the tool used to download the application to the handheld computer. Also a free download from Microsoft, it is preinstalled on the handheld.
Gary
|
|
|
|
|
Satips wrote: Everything can be done in all languages
Oh No, the above is not true. See, for instance the good reply of Mike Dimmick [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Depends on the phone.
Most phones use some form of Java 2 Micro Edition (J2ME) for third-party software. Symbian/Series 60 phones also support C++ development I believe, but it may be necessary to get the software certified to get it onto end-users' phones. Normally the J2ME environment is more limited in what you can do (for example, it may not be possible to do image capture from the camera).
On Windows Mobile phones (Smartphone or Pocket PC Phone Edition) you can use either C++, or VB.NET or C# with the .NET Compact Framework. The latest .NET Compact Framework version is v2.0, but Windows Mobile 5.0 and earlier ship with CF 1.0 in ROM. WM 5.0 has SP3 in ROM, older devices will have older versions. Don't bother with CF 1.0 before SP2, it was very buggy, so if your customers will be using Windows Mobile 2003 phones, they will need to upgrade the Compact Framework.
The VB.NET language is the same on both desktop and Compact Framework, but the Framework is significantly cut down. In places where the desktop Framework has multiple ways of doing things, Compact Framework only has one. Also, a lot of overloads have been removed and operations that do more in one call have been removed, in favour of the simpler operations (example: Graphics.DrawLines was not present in CF 1.0).
|
|
|
|
|
hi , please some body help me ...
how i can print from pocket pc to my printer by bluetooth
123
|
|
|
|
|
hi guyz.pocket pc 2003. i need to change that background picture of O2 logo in start up screen but im using this security purpose too, screen picture should be permanent even if i use autoconfig sometimes . anyone pls help me
<div class="ForumSig">so much of happy ending ...</div>
|
|
|
|
|
How can I cause an hourglass cursor to appear, like in a normal Windows app to show that the program is busy?
|
|
|
|
|
Not sure if you can.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Depends on the language you're using. In the .NET Compact Framework, set Cursor.Current to Cursors.WaitCursor . When done, set it to Cursors.Default .
In C++, call SetCursor . The only supported cursor is the wait cursor loaded by LoadCursor(NULL, IDC_WAIT) , for devices that do not support mouse cursors (basically devices which do not support mice). Store the return value of SetCursor and use that value with SetCursor again to remove the hourglass/restore the default cursor.
On custom Windows CE platforms which do not support mice, the hourglass is actually an animated hourglass, in a small grey box in the centre of the screen. On Windows Mobile devices, it is a spinning ball/radar-type icon (some of my colleagues call it 'the washing machine'!)
|
|
|
|
|
Thanks Mike,
It worked like a dream
Pamela
|
|
|
|
|
In VC++ you can either:
a) use BeginWaitCursor() to start the hour glass and EndWaitCursor() to stop the hour glass, and RestoreWaitCursor() if you don't know if some other process changed the cursor.
b) Create a CWaitCursor local variable. It automatically changes the cursor, and then restores it upon destruction as CWaitCursor is destroyed. You can call Restore() if another action should possibly change the cursor.
Gary
|
|
|
|
|
Hello,
I have searched for about 2 days now and have found no way to control the backlight and suspend mode using Visual Basic (included with Visual Studio).
I am certain there must be a way to do it - but I am at a total loss!
thanks in advance!
|
|
|
|
|
hi
What is the best IDE for programing symbian S60?
|
|
|
|
|
Symbian s60[^]
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
What do u think of code warrior?
|
|
|
|
|
i would say that u can use carbide.c++ to develop. i find it much easier than code warrior.
|
|
|
|
|
i want to move a subwindow(a control) by mouse .
of course ,the subwindow don't have a caption.
On PC platform, i implement that by handling "WM_NCHITTEST"
and return a HTCAPTION.
but there seems no WM_NCHITTEST under WinCE .so how can i do that ?
|
|
|
|
|
|
Hi,
I'm working on a simple application which consists of a single modal dialog window only. I want the dialog to be hidden on startup. As you perhaps know there are some difficulties with this... The solution on 'big' Windows could be to filter out the first 'SWP_SHOWWINDOW' request which is being automatically sent after 'WM_INITDIALOG'
So in response to 'WM_WINDOWPOSCHANGING' you can do something like this:
WINDOWPOS* pWP = (WINDOWPOS*)lParam;
if((pWP->flags & SWP_SHOWWINDOW) && m_bFirstTimeShow)
{
pWP->flags &= ~SWP_SHOWWINDOW;
m_bFirstTimeShow = false;
}
My question is: How can I achieve the same effect of WinCE? It seems that even 'WINDOWPOSCHANGING' is not being sent on WinCE?? I use WTL, but it seems to be a general issue. Any suggestion??
Cheers,
FipS
______________________________________________
+++ Filip STOKLAS (FipS), http://HOLE.4FipS.com
|
|
|
|