[Miscellaneous Android Development] ARGHA_DAS:
Hello Devs Today I bring a Mod By sir [MENTION=1056001]iian[/MENTION] Armas all credit goes to him for this awesome mod :)

What Is This?

-A mod Which Can Change ur Notification panel into Wp8 Type Launcher

Requirements

-apktool

-notepad++

-brain.jar

-Decompile Ur SystemUI.apk

-Download Attachments from the link & Merge it into ur decompiled folder

Files Required https://www.dropbox.com/s/ui56buimmldfpff/res.zip?dl=0

-open res/layout/tw_status_bar_expanded_dual.xml or status_bar_expandes for diff Phones

-Copy This Lines

<LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content">
<include android:layout_width="match_parent" android:layout_height="wrap_content" layout="@layout/1lumia_main" />
</LinearLayout>

Paste It anywhere u want its depends on u :fingers-crossed:

-open Values/colors.xml

Copy this Codes paste it before <\resources>

<color name="lumia">#ff0000ff</color>
<color name="lumia_app_color">#ff0074ff</color>
<color name="lumia_app_color1">#ffff3800</color>
<color name="lumia_app_color2">#ff00aaff</color>

-Open values/dimens.xml

-Copy This Codes & paste it before </resources>

<dimen name="lumia_text_height">10dp</dimen>
<dimen name="lumia_notif_max_height">162dp</dimen>

-Open Values/styles.xml & paste this codes before & paste there

<style name="lumiaText">
<item name="android:textColor">#ffffffff</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDy">1.5</item>
<item name="android:shadowDx">-1.5</item>
<item name="android:shadowRadius">1.5</item>
</style>
<style name="1lumia.clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">25dp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:fontFamily">sans-serif-light</item>
</style>
<style name="1lumia.date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">10dp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">false</item>
</style>

-open smali/com/android/systemui/SystemUIService.smali

Copy this codes & paste it to then end of the file

.method public iian_contacts(Landroid/view/View;)V
.locals 5
.parameter "view"

.prologue
.line 99
.line 100
:try_start_0
new-instance v1, Landroid/content/Intent;

invoke-direct {v1}, Landroid/content/Intent;-><init>()V

.line 102
.local v1, intent:Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"

invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

.line 105
const/high16 v2, 0x1000

invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

.line 107
const-string v2, "com.android.contacts"

const-string v3, "com.android.contacts.activities.PeopleActivity"

invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

invoke-virtual {p0, v1}, Lcom/android/systemui/SystemUIService;->startActivity(Landroid/content/Intent;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

.line 109
.line 112
.end local v1 #intent:Landroid/content/Intent;
:goto_0
return-void

.line 115
:catch_0
move-exception v0

.line 117
.local v0, e:Ljava/lang/Exception;
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

goto :goto_0
.end method

.method public iian_mms(Landroid/view/View;)V
.locals 5
.parameter "view"

.prologue
.line 99
.line 100
:try_start_0
new-instance v1, Landroid/content/Intent;

invoke-direct {v1}, Landroid/content/Intent;-><init>()V

.line 102
.local v1, intent:Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"

invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

.line 105
const/high16 v2, 0x1000

invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

.line 107
const-string v2, "com.android.mms"

const-string v3, "com.android.mms.ui.ConversationList"

invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

invoke-virtual {p0, v1}, Lcom/android/systemui/SystemUIService;->startActivity(Landroid/content/Intent;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

.line 109
.line 112
.end local v1 #intent:Landroid/content/Intent;
:goto_0
return-void

.line 115
:catch_0
move-exception v0

.line 117
.local v0, e:Ljava/lang/Exception;
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

goto :goto_0
.end method

.method public iian_camera(Landroid/view/View;)V
.locals 5
.parameter "view"

.prologue
.line 99
.line 100
:try_start_0
new-instance v1, Landroid/content/Intent;

invoke-direct {v1}, Landroid/content/Intent;-><init>()V

.line 102
.local v1, intent:Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"

invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

.line 105
const/high16 v2, 0x1000

invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

.line 107
const-string v2, "com.android.gallery3d"

const-string v3, "com.android.camera.CameraLauncher"

invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

invoke-virtual {p0, v1}, Lcom/android/systemui/SystemUIService;->startActivity(Landroid/content/Intent;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

.line 109
.line 112
.end local v1 #intent:Landroid/content/Intent;
:goto_0
return-void

.line 115
:catch_0
move-exception v0

.line 1

Save

Recompile

Sign

Push

Reboot

Enjoy

Credits

Iian Armas