Jump to content

Hide Icons


Guest binary_digit_2002

Recommended Posts

Guest binary_digit_2002

Is there any way I can hide icons in the program list. It would be great if I could hide some of the standard programs that come pre-installed...

Thanks! :huh:

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 months later...
Guest Nguyễn Khải

I have been solver this problem by remove this code in manifest file:

<category android:name="android.intent.category.LAUNCHER" />
By remove this code in manifest file, your app will be set up but no icon in main menu, you can call this app by:
				final Intent intent = new Intent(Intent.ACTION_MAIN, null);


		intent.addCategory(Intent.CATEGORY_LAUNCHER);


		final ComponentName cn = new ComponentName("Your-app-packet-name", "Your-app-packet-class-to-lauch");

				// ex: final ComponentName cn = new ComponentName("com.android.settings", "com.android.settings.fuelgauge.PowerUsageSummary");

		intent.setComponent(cn);


		intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);


		startActivity( intent);

in another application!

It really good?

Edited by Nguyễn Khải
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.