jar - 怎把javascript轉換成smali?
过去多啦不再A梦
过去多啦不再A梦 2017-05-27 17:41:36
0
1
546

想轉換成smali檔案的程式碼~~ (^W^)))

#
package com.edu.wcbss.login.activity;

import android.content.Context;
import android.content.Intent;
import c.b;
import com.edu.wcbss.c.j;
import com.edu.wcbss.c.k;
import com.edu.wcbss.net.BaseBean;

class AddCardActivity
  extends k<BaseBean>
{
  AddCardActivity(AddCardActivity paramAddCardActivity, Context paramContext)
  {
    super(paramContext);
  }
  
  public void a(int paramInt)
  {
    AddCardActivity.a(this.a, 2131165378);
  }
  
  public void a(BaseBean paramBaseBean)
  {
    paramBaseBean = (String)paramBaseBean.getData();
    if ("1".equals(paramBaseBean)) {
      if (AddCardActivity.a(this.a) == 2)
      {
        paramBaseBean = new Intent();
        paramBaseBean.setAction("add_card_success");
        this.a.sendBroadcast(paramBaseBean);
        this.a.finish();
      }
    }
    while (!"0".equals(paramBaseBean))
    {
        paramBaseBean = new Intent();
        paramBaseBean.setAction("add_card_success");
        this.a.sendBroadcast(paramBaseBean);
        this.a.finish();
      }
    AddCardActivity.a(this.a, 2131165378);
  }
  
  public void onFailure(b<BaseBean> paramb, Throwable paramThrowable)
  {
    AddCardActivity.a(this.a, 2131165378);
  }
}
过去多啦不再A梦
过去多啦不再A梦

全部回覆(1)
过去多啦不再A梦

題主你這是javasmali吧?
如果你用jetbrains家的东西(如:Android Studio/Idea)之類的,推薦一個外掛:
intellij-java2smali
或參考:convert-java-file-to-smali-file

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!