App doesnt launch if installed on Memory card.
| Tue, 2006-04-18 09:47 | |
|
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 . 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? ![]() thanks in Advance. .. Kiran Puranik |
|






. 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.
Forum posts: 188
Get the application installlation "Drive" and then append the path. like this
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