Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Code Samples & Tips
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Code Samples & Tips Share your recent discoveries and ideas with other users.


Creating Kiosk applications


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-01-2007, 05:01 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,141
Default Creating Kiosk applications

Sometimes there is a need to "protect" the user from itself and not allow him to quit your application.
These kind of applications are called kiosk applications.
There are three things you should do to create a kiosk application:
  1. The application should be full screen so the user will not be able to reach the Today menu.
  2. Override the hardware buttons functionality.
  3. Put a shortcut for your application under \Windows\StartUp
How it's done?
  1. Use FormLib.FullScreen method.
  2. Use the updated Hardware library. Read the keys values from the registry and catch all the keys.
  3. This can be done in the installation package.
    You need to change line 144 of the SetupBuilder from:
    if chkShortCut.Checked = true then FileWrite(c,AppName & ",0," & lstFiles.Item(e) & ",%CE11%")
    to:
    if chkShortCut.Checked = true then FileWrite(c,AppName & ",0," & lstFiles.Item(e) & ",%CE4%")
    This will create the shortcut under \Windows\StartUp instead of \Windows\Programs
See the attached source code for an example of a kiosk application.
Attached Files
File Type: zip Kiosk.zip (34.6 KB, 96 views)

Last edited by Erel : 01-14-2008 at 06:36 AM. Reason: Libraries were updated.
Reply With Quote
  #2 (permalink)  
Old 07-02-2007, 12:00 PM
Newbie
 
Join Date: May 2007
Posts: 4
Default

HI

GOOD
thank you
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating chm files Ricky D Questions & Help Needed 2 10-15-2008 11:03 AM
Creating SIP spectra9 Questions & Help Needed 2 05-21-2008 03:32 PM
Distributing your applications Erel Code Samples & Tips 4 10-20-2007 07:41 AM
Help Creating a dll Cableguy Questions & Help Needed 23 08-15-2007 05:30 PM
launch and close other applications dbo33 Basic4ppc Wishlist 4 06-02-2007 07:03 AM


All times are GMT. The time now is 10:27 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0