App doesnt launch if installed on Memory card.

Login to reply to this topic.
Tue, 2006-04-18 09:47
Joined: 2005-06-01
Forum posts: 76
Hi All,

My Application has a view and a Container .. and the container consist of lot of other controls. If I install my application on a Phone Memory ( c: ) everything works fine  Grin. I dont have a single  hardcoded value for paths (  I am using \\system\\apps\xyz.png ) for giving the paths. Now, if I install the application on a Memory card ( E: ) the app dosent starts at all, I debuged the code. It reaches the  SetDefaultViewL(*iMyView); but the DoActivateL() of my view is never getting called. Why such a difference if I install it on C: works fine but on E: dosent works.

Can anyone please tell me the problem?  Huh

thanks in Advance.

..
Kiran Puranik

Tue, 2006-04-18 11:23
Joined: 2004-01-09
Forum posts: 188
Re: App doesnt launch if installed on Memory card.
The problem can be a relative path. Do one thing

Get the application installlation "Drive" and then append the path. like this Wink

TBuf<2> appdrive = Get application install drive;
TBuf<256> fullpath(0);
fullpath.Append(appdrive);
fullpath.Append(_L("\\system\\apps\xyz.png "));

BR
Chetan

----
Chetan Kulshrestha

  • Login to reply to this topic.