Development

SureFox Kiosk Browser for Android adds barcode scanning capability

Applies to: Product SureFox Platform Android SureFox is a popular kiosk browser whose primary feature is to block the users (mobile workers/kiosk users) from accessing any unallowed websites. There are many other reasons for using SureFox. Now, Surefox has a new addition to its feature set. Your web apps can now read or scan barcode…

Read More

Crash Reporter for Android application developers

Programs crashing post release is not uncommon. Such situations are also not easy to handle as they might be occuring under certain conditions which might not easy to replicate. Crash dumps come in handy to solve such field issues. Wikipedia defines crash reporter as “an application whose function is to report crash data to a…

Read More

Getting rid of flickering in .NET CF forms with custom drawn controls

.NET Compact Framework doesnt provide builtin double buffering for forms. In case you have multiple custom drawn user controls on a form, loading will mostly show flickr. Overriding OnPaint and drawing the form and its child controls to an offscreen bitmap before putting it out to actual display is expected to solve this. But, once…

Read More

SureCop: Anti-theft for Windows Mobile just got better

Latest version of SureCop, our Anti-theft solution has been released with an important improvement. It now has better support for handling various phone number formats. If the phone is not responding to SMS commands from partner phones even if the correct password is specified, you should try out the latest version. Download is available from…

Read More

Delete File or Folder path in C#

Following is a C# code snippet to delete a path (file or directory). First we have to determine whether the path is a file or a folder and then call appropriate Delete methods. In case of directory, you can specifiy whether the contents should be recursively deleted before deleting the directory. void DeletePath(string path) {…

Read More

C# code to soft reset a Windows Mobile device

Here is the C# code to soft reset a Windows Mobile device (using P/Invoke) [DllImport(“coredll.dll”, SetLastError = true)] static extern int SetSystemPowerState(string psState, int StateFlags, int Options); const int POWER_FORCE = 4096; const int POWER_STATE_RESET = 0x00800000; private void SoftReset() { SetSystemPowerState(null, POWER_STATE_RESET, POWER_FORCE); } Share this:

Read More

How to get information about softwares installed on Windows Mobile devices?

Best method is to ask the configuration service provider (CSP). Step 1: Add Reference to Microsoft.WindowsMobile.Configuration Step 2: Add the following statements at the top of the c# code file. using System.Xml; using Microsoft.WindowsMobile.Configuration; Step 3: Prepare a csp string (xml format) and pass it to ProcessConfiguration method of ConfigurationManager. Return value is the xml…

Read More

How to disable “Unsigned Prompt Policy” on Windows Mobile?

Many Windows Mobile (Pocket PC) devices ship with one-tier security configuration enabled. That means if an unsigned application is started, then the user is prompted whether to allow the unsigned application to run or not. If the user based on his/her judgment allows the application to run, the application runs in privileged mode whereby it…

Read More