Tutorials to .com

Tutorials to .com » Os » Mobile » Procedures to obtain the current installation path

Procedures to obtain the current installation path

Print View , by: iSee ,Total views: 16 ,Word Count: 100 ,Date: Sun, 7 Jun 2009 Time: 8:23 AM

Sometimes required to obtain the installation path

TFileName aFullName = CEikonEnv::Static()->EikAppUi()->Application()->AppFullName();
TInt pos = aFullName.LocateReverse('');
aFullName.SetLength(pos+1);
TFileName aFullName = CEikonEnv::Static()->EikAppUi()->Application()->AppFullName();
TInt pos = aFullName.LocateReverse('');
aFullName.SetLength(pos+1);

Drive letter access to the installation procedure:

Locate on LocateReverse changed to OK.

TInt pos = aFullName.Locate('');


Mobile OS Articles


Can't Find What You're Looking For?


Rating: Not yet rated

Comments

No comments posted.