[Galaxy Note GT-N7000 Android Development] lacoursiere18:
Sorry for the delayed response. I am assuming you are on 4.1.2? If so you can check out this thread HERE. Make sure you thank him.

But you want to focus on the 2nd portion, in particular, android.policy.jar/com/android/internal/policy/impl/LockScreen$GlowPadViewMethods.smali., .method public onTrigger(Landroid/view/View;I)V..

Look here

[COLOR="red"]:sswitch_2[/COLOR]
[COLOR="Blue"] new-instance[/COLOR] v2, Landroid/content/Intent;

const-string v4, "android.intent.action.MAIN"

invoke-direct {v2, v4}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

.line 340
.local v2, phoneIntent:Landroid/content/Intent;
const-string v4, "[COLOR="DarkOrange"]com.android.contacts[/COLOR]"

const-string v5, "[COLOR="green"]com.android.contacts.activities.DialtactsActivity[/COLOR]"

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

.line 341
invoke-virtual {v2, v6}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

.line 342
iget-object v4, p0, Lcom/android/internal/policy/impl/LockScreen$GlowPadViewMethods;->this$0:Lcom/android/internal/policy/impl/LockScreen;

invoke-static {v4}, Lcom/android/internal/policy/impl/LockScreen;->access$1300(Lcom/android/internal/policy/impl/LockScreen;)Landroid/content/Context;

move-result-object v4

invoke-virtual {v4, v2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

.line 343
iget-object v4, p0, Lcom/android/internal/policy/impl/LockScreen$GlowPadViewMethods;->this$0:Lcom/android/internal/policy/impl/LockScreen;

invoke-static {v4}, Lcom/android/internal/policy/impl/LockScreen;->access$400(Lcom/android/internal/policy/impl/LockScreen;)Lcom/android/internal/policy/impl/KeyguardScreenCallback;

move-result-object v4

invoke-interface {v4}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->goToUnlockScreen()V

goto :goto_0

.line 348
.end local v2 #phoneIntent:Landroid/content/Intent;
[COLOR="Red"]:sswitch_3[/COLOR]
[COLOR="blue"]new-instance[/COLOR] v1, Landroid/content/Intent;

const-string v4, "android.intent.action.MAIN"

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

.line 349
.local v1, mmsIntent:Landroid/content/Intent;
const-string v4, "[COLOR="DarkOrange"]com.android.mms[/COLOR]"

const-string v5, "[COLOR="Green"]com.android.mms.ui.ConversationList[/COLOR]"

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

.line 350
invoke-virtual {v1, v6}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

.line 351
iget-object v4, p0, Lcom/android/internal/policy/impl/LockScreen$GlowPadViewMethods;->this$0:Lcom/android/internal/policy/impl/LockScreen;

invoke-static {v4}, Lcom/android/internal/policy/impl/LockScreen;->access$1400(Lcom/android/internal/policy/impl/LockScreen;)Landroid/content/Context;

move-result-object v4

invoke-virtual {v4, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

.line 352
iget-object v4, p0, Lcom/android/internal/policy/impl/LockScreen$GlowPadViewMethods;->this$0:Lcom/android/internal/policy/impl/LockScreen;

invoke-static {v4}, Lcom/android/internal/policy/impl/LockScreen;->access$400(Lcom/android/internal/policy/impl/LockScreen;)Lcom/android/internal/policy/impl/KeyguardScreenCallback;

move-result-object v4

invoke-interface {v4}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->goToUnlockScreen()V

goto :goto_0

So basically he is adding in new switches..Phone and MMS. Now you want to change the MMS to whatever application you have now. I highlighted the new switches he put in RED. BLUE identifies adding a new instance(self explanatory)., ORANGE is the application he is calling and then finally GREEN is the activity, in particular that he wants.

You need to change the application that is called and then the activity you want to call. A good way to find out what activity you want to call is app call Activity Launcher in the PlayStore.. I will identify it for you..If you need anymore help just post back here.

Also, I am new to smali as well, so if anything I stated is incorrect, I am sure someone else will chime in:good: