android: register a receiver with many actions in manifest.xml
===

I want to register a receiver having many actions in Android manifest.xml.

    IntentFilter intentFilter = new IntentFilter();
    intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED);
    intentFilter.addAction(Intent.ACTION_PACKAGE_INSTALL);
    intentFilter.addDataScheme("package");
    registerReceiver(installReceiver,intentFilter);

I am not able to figure it out. How to do it?