Click here to Skip to main content
Click here to Skip to main content

Persistent Mobile Device Application

, 19 May 2008
Rate this:
Please Sign up or sign in to vote.
Permanent Storage of a Mobile Device Application

Introduction

This article discusses the persistence of your Symbol Mobile Device Application. If you follow this way of installing your application on Mobile Device, it will never be lost and you can find it on the device even after a cold boot.

Background

This article is an answer to questions like:

  1. My application gets lost when the battery goes.
  2. I want to see my application after every time I cold boot my Mobile Device.
  3. Where should I install my cab file.

Using the Code

Whenever we want to install an application on the mobile device, we need to follow the steps written below:

Step 1- Copy your cab file in the application folder.

Step 2 - Copy the cab.cpy file in the application folder (we'll write the cab.cpy file now).

Step 3 - Copy the cab.reg file in the application folder (we'll write the cab.reg file now).

After following these steps, your application will be installed as one of the system applications:

//Creating cab.cpy file
//Open any text editor, write this line and save it as cab.cpy

\application\MyCabFile.cab >  \windows\MyCabFile.cab

//Creating cab.reg file
//Open any text editor, write these line and save it as cab,reg

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog10]
"Name"="\windows\wceload.exe"
"Command"="\Windows\MyCabFile.cab"
"Continue"=dword:0
"ColdBootOnly"=dword:1

The above reg file will install the application every time you cold boot the device.

This will resolve your issues related to installation of applications into Symbol Mobile Devices.

History

  • 19th May, 2008: Initial post

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Gurpreet111
Software Developer Tarkia
India India
He works on c#.net with TARKIA

Comments and Discussions

 
GeneralSymbol Only PinmemberPaul Watt19-May-08 12:46 
GeneralRe: Symbol Only PinmemberGurpreet11120-May-08 14:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 19 May 2008
Article Copyright 2008 by Gurpreet111
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid