- Add permission to your manifest file:
<uses-permission android:name="chrisman.android.home.metroui2.UPDATE_TILE_PERMISSION" />
- Send Intent with necessary extras:
Intent i = new Intent();
i.setAction("chrisman.android.home.metroui2.UPDATE_TILE_INTENT");
i.putExtra("chrisman.android.home.metroui2.NAME_EXTRA", "com.sec.android.app.dialertab.DialerTabActivity");
i.putExtra("chrisman.android.home.metroui2.PACKAGE_EXTRA", "com.sec.android.app.dialertab");
i.putExtra("chrisman.android.home.metroui2.COUNT_EXTRA", MissedCallCount);
getApplicationContext().sendBroadcast(i);
Updating Tile Counts
The following is a guide to updating tile counts in Metro UI 2.0. This guide is designed for developers that want to support this feature.
Subscribe to:
Posts (Atom)