This tutorial got requested by Janole (Garvity creator) and could be intresting for pisarz1958 (Lightbulb).
it shows how to enable/disable the native chat icon like WhatsApp or Nokia Chat.
1. you have to add to your .mmp:
LIBRARY euser.lib
CAPABILITY WriteDeviceData
for Qt build tools to your .pro:
LIBS += -leuser
TARGET.CAPABILITY += WriteDeviceDa
2. implement it:
#include <coreapplicationuisdomainpskeys.h> //keys for RProperty
#include <e32property.h> //RProperty
RProperty iProperty;
//to enable it:
iProperty.Set(KPSUidCoreApplicationUIs, KCoreAppUIsUipInd, ECoreAppUIsShow);
//to disable it:
iProperty.Set( KPSUidCoreApplicationUIs, KCoreAppUIsUipInd, ECoreAppUIsDoNotShow);
really simple or?
an example tool is attached, it shows a simple on/off dialog