As mentioned in a few posts, certain phone+firmware combinations require the NetworkServices capabilities to retrieve the IMEI - for example on the Nokia N91, a hang is reported to happen if NetworkServices capability is not set:
And on UIQ phones this problem also exists:
Getting a KErrPermisionDenied error is acceptable (one might still have alternatives) but hanging the application is terrible... Since it's very hard to know on which devices+firmware this happens, this effectively means that everyone will have to ask for NetworkServices on install or risk a hang.
Does anyone know more on how to avoid these hangs (if at all possible) ? Otherwise this means pestering users with granting NetworkServices at install - not a good thing if the app doesn't use network services at all (say for example a simple game).