[关闭]
@Andream 2017-11-10T18:33:55.000000Z 字数 4157 阅读 1020

ofo一键上车

未分类


闪屏 so.ofo.labofo/.activities.EntryActivity
主界面 so.ofo.labofo/.activities.journey.MainActivity
扫码界面(有附加数据) so.ofo.labofo/.activities.journey.ScanQrActivity
消息界面(右下角按钮) so.ofo.labofo/.activities.discover.DiscoverActivity
菜单界面(左下角按钮) so.ofo.labofo/.activities.MenuActivity
——我的行程 so.ofo.labofo/.activities.reise.MeineReiseActivity
——的钱包 so.ofo.labofo/.activities.wallet.MyWalletActivity
——邀请好友 so.ofo.labofo/.activities.InviteActivity
——兑优惠券 so.ofo.labofo/.activities.join.RedeemActivity
——我的客服(有附加数据)(只是一个浏览器) so.ofo.labofo/.activities.CommonWebViewActivity

分析扫码界面附加了什么数据?
String initial_flash_light_state

ABOUT_BEGIN
UNLOCKING
UNLOCK_SUCCESS
TOURING
PAY_BILL

Activity启动代码:
Intent i = new Intent(this, ScanQrActivity.class);
i.putExtra("initial_flash_light_state", "xxx");
startActivityForResult(i, 0x888);

启动smali代码:

new-instance v0, Landroid/content/Intent;

const-class v1, Lso/ofo/labofo/activities/journey/ScanQrActivity;

invoke-direct {v0, p0, v1}, Landroid/content/Intent;->(Landroid/content/Context;Ljava/lang/Class;)V

.line 493
const-string/jumbo v1, "initial_flash_light_state"

invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

.line 494
const/16 v1, 0x888

invoke-virtual {p0, v0, v1}, Lso/ofo/labofo/activities/journey/MainActivity;->startActivityForResult(Landroid/content/Intent;I)V

原始Logcat:

11-09 21:47:40.509 1479-14137/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=so.ofo.labofo/.activities.EntryActivity bnds=[876,1659][1058,1841] (has extras)} from uid 10020 on display 0
11-09 21:47:40.621 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.EntryActivity: +104ms (total +55s0ms)
11-09 21:47:43.557 1479-2590/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.journey.MainActivity} from uid 10159 on display 0
11-09 21:48:29.668 1479-15401/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.journey.ScanQrActivity (has extras)} from uid 10159 on display 0
11-09 21:48:30.401 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.journey.ScanQrActivity: +709ms (total +46s819ms)
11-09 21:49:15.986 1479-2590/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.MenuActivity} from uid 10159 on display 0
11-09 21:49:16.195 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.MenuActivity: +191ms
11-09 21:49:45.017 1479-2098/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.discover.DiscoverActivity} from uid 10159 on display 0
11-09 21:49:45.137 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.discover.DiscoverActivity: +98ms
11-09 21:50:19.091 1479-1967/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.MenuActivity} from uid 10159 on display 0
11-09 21:50:19.238 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.MenuActivity: +110ms
11-09 21:50:22.306 1479-14135/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.reise.MeineReiseActivity} from uid 10159 on display 0
11-09 21:50:22.417 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.reise.MeineReiseActivity: +85ms
11-09 21:50:43.242 1479-1967/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.wallet.MyWalletActivity} from uid 10159 on display 0
11-09 21:50:43.372 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.wallet.MyWalletActivity: +112ms
11-09 21:51:00.038 1479-3171/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.wallet.MyWalletActivity} from uid 10159 on display 0
11-09 21:51:00.127 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.wallet.MyWalletActivity: +61ms
11-09 21:51:04.894 1479-3150/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.InviteActivity} from uid 10159 on display 0
11-09 21:51:05.111 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.InviteActivity: +186ms
11-09 21:51:27.556 1479-3171/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.join.RedeemActivity} from uid 10159 on display 0
11-09 21:51:27.650 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.join.RedeemActivity: +74ms
11-09 21:51:45.206 1479-3152/? I/ActivityManager: START u0 {cmp=so.ofo.labofo/.activities.CommonWebViewActivity (has extras)} from uid 10159 on display 0
11-09 21:51:45.306 1479-1690/? I/ActivityManager: Displayed so.ofo.labofo/.activities.CommonWebViewActivity: +71ms
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注