Dedicated Device

  • Thread starter Thread starter Doug Bell
  • Start date Start date
D

Doug Bell

Hi we need to make this mobile device solely dedicated to the Dot Net
Application we are developing.

Can someone advise or point me to some resources that helps me.

1. I need to have the application start when the device is turned on.
2. Suppress the WindowsCE Title bar.
3. Turn the device off when the Application is closed

And allow a special Log On that does not start the Application.

Thanks for any assistance,

Doug
 
Hi Doug,

So basically what you want is that your application will run in kiosk mode?

I can help you out with the 3 points that you mentioned, but I wouldn't
really recommend a kiosk mode application to run on a Pocket PC. I always
think that its best to play nice with the platform. Plus there will always
be a way to cheat your way out of the application.

But here's an old article about forcing the Pocket PC into kiosk mode:
http://www.pocketpcdn.com/articles/kiosk_mode.html

Anyway, here are some tips for the points you mentioned (In QA Style..)

Q: How can I have the application start when the device is turned on?
A: What you can do is to create a shortcut to your application in the
\Windows\Startup folder. This can be done easily in Visual Studio 2005 by
creating a Smart Device CAB Project.

Q: How can suppress the WindowsCE Title bar?
A: You can set the FormStyle to be Maximized, and not have a MainMenu. You
can also P/Invoke SHFullScreen from Aygshell.dll

Q: How can I turn the device off when the Application is closed
A: You can programmatically power off the device by P/Invoking
ExitWindowsEx(int uFlags, int dwReserved) from coredll.dll. Pass 8
(EWX_POWEROFF) as uFlags.
 
Thanks Christian,
I will investigate those methods.
I wondered what "Kiosk Mode" was.

Application is a bar code reader in a factory and we just want it to be
difficult to screw up and also not easily recognisable as a Pocket PC device
to reduce them walking.

Thanks

Doug
 
Thanks Simon,
I came across them yesterday during my Google searches.
We are only just moving into Mobile Development.

Doug
 
Back
Top