How To Prevent Toast Message When Creatin App Icon On Screen
I want to create appp icon on phone screen and i do it but when i do it automaticli app creates toast message, How to prevent this toast message when creatin app icon or deleting i
Solution 1:
Create hidden properties (i create CheckBox), after create shortcut set this true, then check parameter:
private void checkShortcut() {
shortCut = GlobalClass.PREFS.getBoolean("ShortCut", false);
if (shortCut == true) {
//addShortcut();
}
else{
remShortcut();
}
}
Solution 2:
No, sorry, there is no way to prevent a default system Toast
from appearing.
Post a Comment for "How To Prevent Toast Message When Creatin App Icon On Screen"