I have an activity in in my app which I have kept as
android:enabled=\"false\"
now I want that when a button is clicked it should get chan
Use PackageManager and setComponentEnabledSetting() to enable or disable any component within your app: activity, service, etc.