Usted puede hacer eso. Necesita tener cuatro imágenes para los íconos. Son
- aplicación icono estándar
- rollos estándar sobre el icono
- icono estándar con un *
- rollos estándar sobre el icono con un *
vez que haya que utilizar el siguiente código
if (unReadChatMessages> 0)
{
appIcon = Bitmap.getBitmapResource("app_alert.png");
rolloverIcon = Bitmap.getBitmapResource("app_rollover_alert.png");
// turn on the LED
if(LED.isSupported(LED.LED_TYPE_STATUS))
{
LED.setState(LED.STATE_BLINKING);
LED.setConfiguration(100, 1000, LED.BRIGHTNESS_100);
}
}
else
{
// use default icons...
appIcon = Bitmap.getBitmapResource("app.png");
rolloverIcon = Bitmap.getBitmapResource("app_rollover.png");
// Turn off LED...
if(LED.isSupported(LED.LED_TYPE_STATUS))
{
LED.setState(LED.STATE_OFF);
}
}
// Try to set the icons
HomeScreen.updateIcon(appIcon, 0);
HomeScreen.setRolloverIcon(rolloverIcon, 0);
perdón por la imagen en grande: D –