I am trying to change the icon and label of my app once it is installed.
In the manifest, i put this code :
I think I may be able to help you. Under the manifest tag there is this:
<application
android:allowBackup="true"
android:icon="@drawable/launcher_icon"
android:label="@string/app_name"
android:theme="@style/AppTheme" />
You can edit these and change it to the icon that you saved in your drawables for your launcher and you can also change them name to a different string.
The code posted in the question is apparently the correct way to do it. There is an issue with Android 4.1 and 4.2. Find more details here:
https://code.google.com/p/android/issues/detail?id=54546
To change the name of your application right click the application folder in the package explorer, look for "Refactor" and press rename.
To change the icon of your application you have to change all of its variations inside the drawable folders and also the "ic_launcher-web.png" inside your res folder.