Monday, September 26, 2011

NOTE: Metro UI 2.0 Payment

As of right now, Metro UI 2.0 is free.  Eventually, I will move it to a paid app much like I did with the original application.  Some of you have expressed interest in not paying twice, which I understand.  I am hoping to release 2.0 over the Pro version of 1.0.  That way anyone that originally paid for the app will just receive 2.0 as an update.  I will research other means of accomplishing this but I believe this way is the easiest to make sure everyone that has already paid will not have to pay again.

Monday, September 19, 2011

Metro UI 2.0 Application Counts

As of version 0.0.3 developers can now update application counts for their apps.  Below is a quick tutorial on how.

This example shows how to update application counts in Metro UI 2.0.  The example we will be using is updating the count of the default "Phone" tile.  First, you will need to make sure you have requested permission to update application counts by adding the following "uses-permission" tag to your applications manifest file:


<uses-permission android:name="chrisman.android.home.metroui2.UPDATE_TILE_PERMISSION" />


Once you have permission, you can send intents by doing the following:


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);


Basically what this is doing is sending a message to Metro UI with the identifying application information (Package and Name) along with the count you want displayed.

Pretty easy, huh?  If you have questions or need further clarification, let me know.

Thursday, September 8, 2011

Metro UI 2.0

Sorry for the very long absence.  I had several family emergencies that have kept me from developing.  I have decided to start from scratch on the Metro UI project.  Now that I have a better grasp of Android and home replacement development I hope that a complete redo will be beneficial in the long run.  I have only just begun the process but I wanted to post a few screen caps and get your opinions.  I have also decided to not imitate Metro UI exactly and my own flair...hence the desire for opinions.  Anyway here they are: