42Gears Speaks
3Mar/110

SureMDM gets two-way mail messaging

Messaging functionality of SureMDM has got an major enhancement that users have been asking for. Earlier the admin could use the web-console to send one-way messges to the mobile users. With the latest improvement, your mobile worker can compose new messages or reply to mesages from the IT administrator or from their manager. Web-console now provides a Mail view where all messages from all mobile users can be viewed easily.

SureMDM Mailbox

SureMDM Mailbox

Take a tour of SureMDM, Our cloud-based mobile device management platform

Go to Home


13Feb/113

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 a child control is added to another container control, overriding OnPaint of the parent container control doesnt allow you to paint the child as the child's client rect is clipped out from the graphics object passed to parent's OnPaint.
The solution to this problem is to avoid adding the custom user control to the forms. Instead, maintain your own list of such controls. Form's constructor should make these changes.

//this.Controls.Add(customControl); //don't do this
control_list.Add(customControl); //control_list is Forms own custom list for it's child controls.

When we do that, GWES doesn't know of these controls as child to our form and hence allows us to paint anywhere we like. We can now paint all child controls (by calling their respective OnPaint) to an offscreen bitmap before blting it to actual display. Heres a sample code which does something like this.

protected override void OnPaint(PaintEventArgs e)
{
using (Bitmap doubleBuffer = new Bitmap(this.Width, this.Height))
{
using (Graphics gxOff = Graphics.FromImage(doubleBuffer))
{
using (Brush backBrush = new SolidBrush(this.BackColor))
{
gxOff.FillRectangle(backBrush, this.ClientRectangle);
}

foreach (CustomControl ctl in control_list) //control_list is list of child controls maintained by Form
{
Rectangle rc = new Rectangle(ctl.Left, ctl.Top, ctl.Width, ctl.Height);
if (e.ClipRectangle.IntersectsWith(rc)) //update only those child control which fall within the invalidated region
{
ctl.OnPaint(new PaintEventArgs(gxOff, ctl.ClientRectangle), ctl.Left, ctl.Top);
}
}

e.Graphics.DrawImage(doubleBuffer, 0, 0);
}
}
}

This scheme, however, also requires the form to manage and delegate other GWES events (keypress, clicks, etc) to respective child control. Following code snippet shows that for MouseDown

protected override void OnMouseDown(MouseEventArgs e)
{
foreach (CustomControl ctl in control_list)
{
Rectangle rc = new Rectangle(ctl.Left, ctl.Top, ctl.Width, ctl.Height);
if (rc.Contains(new Point(e.X, e.Y)))
{
ctl.OnMouseDown(e);
this.Invalidate(rc);
break;
}
}
}

I know its a bit of pain but in case you have simple custom controls like buttons, picturebox, very few events need to be overridden and its worth for the flickr free smooth rendering of your forms.

SureMDM: Mobile Device Management for Starters and Experts

Go to Home


10Feb/110

Best approach to deploying a Mobile Device Management system

The company leadership has identified the need for a system to effectively manage mobile devices in your organization. As the best IT guy around here you have been given the mandate to roll-out the system. You obviously will start looking for solutions in the market that can solve the problem for you. But there are few points to take care of that are mostly irrelevant of the product that you finally choose.

  • Start Slow and measure the benefits: Do not try to use all the features that the chosen MDM solution provides. Select the most important ones first and then add new ones slowly. This is especially important if this is the first time you are doing such implementation.
  • Start Small: Do not start with managing all the mobile devices in the organization. You have to observe how the end-user and mobile devices reacts to new policies. Keeping the working set small ensures that you can fix many issues before the full-scale deployment is done. Moreover if you go all the way initially, just in case something goes wrong, it would unnecessarily be a big effort to back off.
  • Keep it Simple: If possible look for an MDM product that is easy to learn and operate. Remember there are not-so-expert members in your team. Keeping the implementation simple for them will help the organization in the long run.

More later...

SureMDM: Mobile Device Management for Starters and Experts

Go to Home


9Feb/110

How to Remote Wipe your Windows Mobile devices?

Device security is one of the prime concerns why companies deploy mobile device management solutions such as SureMDM. An important requirement is the capability to remotely wipe the critical business data (hopefully all data) residing on the device incase of loss or theft. Remote Wipe is also known as Remote Kill.

42Gears mobile device management suite comprising SureMDM and SureCop provides two ways to remotely wipe the lost mobile devices.

Using SureMDM: Go to the Jobs panel and create a Remote Wipe job. Then select a mobile device from the list and apply the Remote Wipe job. If the device is currently online, the wipe operation will commence immediately. Otherwise it will start when the mobile device connects with the server again.

Using SureCop: Send a text message containing wipe command and password from the manager phone.

wipe$password$

As soon as the remote phone receive the SMS message the wipe operation is initiated. Note that the SMS message can be sent from the registered manager phones only.

SureCop

SureMDM: Mobile Device Management for Starters and Experts

SureCop: Get back your lost phone

Go to Home


7Feb/110

6 advantages of using a cloud-based Mobile Device Management solution

Traditionally mobile device management has been done using On-Premise solutions. Recently there has been a shift in how companies especially small and medium sized ones have started managing their fleet of mobile devices and their mobile workers. Modern way to approach this problem is to use cloud-based mobile device management solutions (e.g. SureMDM).

Mobile Device Management on the cloud

Mobile Device Management on the cloud


Following are a few advantages of using a cloud-based mobile device management solution instead of an On-Premise solution:

  • Zero setup time: Since the solution is available on the cloud there would be no or a little setup time requirements. And most of the initial setup will be done by the service provider.
  • Zero setup cost: IT departments are always under budget constraints. As an IT manager you don't have to spend any money on buying new server machines, switches, cables, power sockets (You might have already some of those items but you can use them for something else :) )
  • No maintenance: There would be no requirement for regular server maintenance. No need to worry if the server software is properly patched up with latest service packs or any other updates or if the power systems are working properly.
  • Pay as you go: Using the cloud-based mobile device management solution is good for financial reasons (budget constraints) as it has low upfront cost. You will pay as per usage or fixed subscription cost. If you have 50 mobile devices, your running cost would be much lower (linearly) than if you had 100 mobile devices.
  • Operate from anywhere: Administrator does not have to log into a desktop on the company network to manage the mobile devices. He or she can remotely lock or kill a lost mobile device even while holidaying in the bahamas :) .
  • Discontinue whenever you want: This is a real beauty. For any reasons if you intend to discontinue the cloud-based solution you can pull the plug as and when you want. There is nothing to dispose or take care of. Decommissioning an on-premise solution is sometimes not very straightforward.

There are some real advantages of using on-demand mobile device management solutions running in the cloud.

Check out SureMDM, cloud based mobile device management from 42Gears Mobility Systems.

Go to Home


3Jan/110

Run scripts remotely on mobile devices [New SureMDM Feature]

We have added a powerful scripting support in SureMDM. You can write scripts to Run, activate, hide, close, kill programs, delete files. Many people use scripts to define pre and post install instructions such as deleting files after installing CAB files.

Examples: (There is no relation among the following commands)

Copy( "\My documents\test.txt", "\Storage\text.txt" )
Rename( "\oldname.txt" , "\newname.txt")
Delete( "\abc.txt" )
CreateShortcut("\Windows\Start Menu\Test.lnk","\Test.exe")

Scripts Jobs can be created in the SureMDM Web Console and then deployed to the mobile devices. Script commands are executed on the devices (using MortScript engine). Read this to learn what operations you can perform as scripts.

SureMDM is an On-demand mobile device management platform. You can experience SureMDM live demo at http://www.42gears.com/suremdm/guestlogin.html. Learn more about the product here.

Go to Home


2Jan/110

SureMDM Remote Help-desk Solution

SureMDM On-demand has extensive support for providing help-desk support to end-user mobile devices. Features include:

1. View device screen when the device is away in the field.
2. Use keyboard and mouse to interact with the device
3. File explorer to add, remove, delete and launch files and applications
4. Process Viewer to view running process and kill any running process

Check out cloud-based trial version of SureMDM at http://www.42gears.com/suremdm/.

Remote Screen Control

Remote File Explorer

Remote Process Viewer

Go to Home


26Nov/100

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 the following link: http://www.42gears.com/surecop/ or http://www.surecop.com.

Go to Home


Tagged as: No Comments
25Nov/100

Windows Mobile 6.1 Kiosk Mode

If you want to convert a Windows Mobile 6.1 handheld into kiosk mode, you can try out SureLock Studio. You can download and evaluate the fully functional version for 30 days.

With SureLock, you can easily lock down Windows Mobile devices into kiosk mode. This ensures the users can only use certain applications and features of the mobile device as allowed by the administrator. Access to device functions such as browser, games, Activesync, camera, keypad, today screen etc can be easily blocked using SureLock Studio (deskotp tool). Then it's just a matter of installing a CAB file and voila! your companies mobile devices goes into kiosk mode.

Check out SureLock Studio product page.

Go to Home


24Oct/100

Garbage Collection in Windows Mobile and Low memory conditions

Garbage collector is a piece of code responsible for allocating and freeing unreferenced objects in a managed application. Garbage collection operation is invoked whenever:

  • the application calls GC.Collect() method
  • CLR cannot allocate memory for an object
  • the application loses focus and goes to the background
  • the system sends WM_HIBERNATE message to the managed application

If a Windows Mobile or Windows CE device does not have sufficient memory to allocate new objects, the system sends WM_HIBERNATE message to inactive applications; first being the longest inactive one. If WM_HIBERNATE handling by the application results in free memory sufficient for the current allocation requirement, the message is not sent to remaining apps. If the required memory is not reclaimed this way, the system starts terminating running applications by first sending them WM_CLOSE message and if required followed by calling TerminateProcess() call on them. This process also stops as soon as sufficient memory is reclaimed.

After the WM_HIBERNATE message is received by the application, a full garbage collection takes place. Its a good idea to dispose as many objects as possible during the handling of hibernate event.

Go to Home


Tagged as: No Comments