.class public Lcom/jmhy/sdk/template/LauncherActivity; .super Landroid/app/Activity; .source "LauncherActivity.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/jmhy/sdk/template/LauncherActivity$LaunchHandler; } .end annotation # static fields .field private static final LAUNCH:I = 0x1 # direct methods .method public constructor ()V .locals 0 .line 12 invoke-direct {p0}, Landroid/app/Activity;->()V return-void .end method .method static synthetic access$000(Lcom/jmhy/sdk/template/LauncherActivity;)V .locals 0 .param p0, "x0" # Lcom/jmhy/sdk/template/LauncherActivity; .line 12 invoke-direct {p0}, Lcom/jmhy/sdk/template/LauncherActivity;->launch()V return-void .end method .method private launch()V .locals 4 .line 26 new-instance v0, Landroid/content/Intent; invoke-direct {v0}, Landroid/content/Intent;->()V .line 27 .local v0, "intent":Landroid/content/Intent; new-instance v1, Landroid/content/ComponentName; invoke-virtual {p0}, Lcom/jmhy/sdk/template/LauncherActivity;->getPackageName()Ljava/lang/String; move-result-object v2 const-string v3, "{class}" invoke-direct {v1, v2, v3}, Landroid/content/ComponentName;->(Ljava/lang/String;Ljava/lang/String;)V invoke-virtual {v0, v1}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent; .line 28 invoke-virtual {p0, v0}, Lcom/jmhy/sdk/template/LauncherActivity;->startActivity(Landroid/content/Intent;)V .line 30 invoke-virtual {p0}, Lcom/jmhy/sdk/template/LauncherActivity;->finish()V .line 31 return-void .end method # virtual methods .method protected onCreate(Landroid/os/Bundle;)V .locals 5 .param p1, "savedInstanceState" # Landroid/os/Bundle; .line 17 invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V .line 18 invoke-virtual {p0}, Lcom/jmhy/sdk/template/LauncherActivity;->getResources()Landroid/content/res/Resources; move-result-object v0 const-string v1, "common_sdk_launcher_template" const-string v2, "layout" invoke-virtual {p0}, Lcom/jmhy/sdk/template/LauncherActivity;->getPackageName()Ljava/lang/String; move-result-object v3 invoke-virtual {v0, v1, v2, v3}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I move-result v0 .line 19 .local v0, "id":I invoke-virtual {p0, v0}, Lcom/jmhy/sdk/template/LauncherActivity;->setContentView(I)V .line 21 new-instance v1, Lcom/jmhy/sdk/template/LauncherActivity$LaunchHandler; invoke-direct {v1, p0}, Lcom/jmhy/sdk/template/LauncherActivity$LaunchHandler;->(Lcom/jmhy/sdk/template/LauncherActivity;)V .line 22 .local v1, "handler":Lcom/jmhy/sdk/template/LauncherActivity$LaunchHandler; const/4 v2, 0x1 const-wide/16 v3, 0x28a invoke-virtual {v1, v2, v3, v4}, Lcom/jmhy/sdk/template/LauncherActivity$LaunchHandler;->sendEmptyMessageDelayed(IJ)Z .line 23 return-void .end method