FOLLOW the FOLLOWING STEPS:
1.Use Arguments Fr, Ri While Copy your app file.AS Follows:
......
"C: /symbian/uiq_2.1/epoc32/release/thumb/urel/localplayer.app" - "!: / System / apps / localplayer / localplayer.app", fr, ri // usually put this line at the end OF Package File.
2.Bring your application to the foreground.
. Usually at the end of installation, the system will prompt a message to indicate installation complete.This will bring your application into background To bring your application to foreground, override HandleForegroundEventL (TBool aForeground) and add the following code:
IF (! AFOREGROUND)
{
......
Tapatask Task (Ceikonenv :: static () -> wssession ());
Task.Setwgid (Ceikonenv :: Static () -> Rootwin (). Identifier ());
Task.bringtoforeground ();
......
}