0
0
0

获取本应用信息

MixoFQ
2024-5-15 7299
javax(pm,activity,"android.content.ContextWrapper","getPackageManager") 
 
javax(pknm,activity,"android.content.ContextWrapper","getPackageName") 
 
//本应用包名 
 
syso(pknm) 
 
javax(ver,pm,"android.content.pm.PackageManager","getPackageInfo","String",pknm,"int",0) 
 
javags(版本,ver,"android.content.pm.PackageInfo.versionName") 
 
//本包名的版本 
 
syso(版本) 
 
javax(icon,pm,"android.content.pm.PackageManager","getApplicationInfo","String",pknm,"int",0) 
 
javax(图标,icon,"android.content.pm.PackageItemInfo","loadIcon","android.content.pm.PackageManager",pm) 
 
//本应用图标 
 
syso(图标) 
 
javags(pkg,ver,"android.content.pm.PackageInfo.applicationInfo") 
 
javax(应用名称,pkg,"android.content.pm.PackageItemInfo","loadLabel","android.content.pm.PackageManager",pm) 
 
//本应用名 
 
syso(应用名称) 
 
javags(time,ver,"android.content.pm.PackageInfo.lastUpdateTime") 
 
javanew(格式, "java.text.SimpleDateFormat", "String", "yyyy年MM月dd日H时mm分ss秒") 
 
javanew(时间, "java.util.Date", "long", time) 
 
java(更新时间, 格式, "java.text.DateFormat.format", "java.util.Date", 时间) 
 
//本应用最后一次更新时间 
 
syso(更新时间) 
 
v3 v5 v6
最新回复 (0)

    暂无评论

请先登录后发表评论!

返回

Processed Time:0.27203583717346

  • 0.0003 SELECT * FROM bbs_cache WHERE `k`='bbs_setting' LIMIT 1
  • 0.0002 SELECT * FROM bbs_kv WHERE `k`='setting' LIMIT 1
  • 0.0002 SELECT * FROM bbs_cache WHERE `k`='bbs_online_list' LIMIT 1
  • 0.0002 SELECT * FROM bbs_session WHERE `sid`='tsn6o77nefi9b16dqd3bibrllh' LIMIT 1
  • 0.0005 SELECT * FROM bbs_cache WHERE `k`='bbs_grouplist' LIMIT 1
  • 0.0008 SELECT * FROM bbs_cache WHERE `k`='bbs_forumlist' LIMIT 1
  • 0.0002 SELECT * FROM bbs_cache WHERE `k`='bbs_runtime' LIMIT 1
  • 0.0004 SELECT * FROM bbs_thread WHERE `tid`=282 LIMIT 1
  • 0.0002 SELECT * FROM bbs_user WHERE `uid`=171 LIMIT 1
  • 0.0001 SELECT * FROM bbs_fox_prison WHERE `uid`='171' AND `status`=1 ORDER BY `id` DESC LIMIT 1
  • 0.0001 SELECT * FROM bbs_fox_prison WHERE `uid`='171' AND `status`=1 ORDER BY `id` DESC LIMIT 1
  • 0.0001 SELECT * FROM bbs_fox_prison WHERE `uid`='171' AND `status`=1 ORDER BY `id` DESC LIMIT 1
  • 0.0001 SELECT * FROM bbs_fox_prison WHERE `uid`='171' AND `status`=1 ORDER BY `id` DESC LIMIT 1
  • 0.0002 SELECT * FROM bbs_post WHERE `tid`=282 ORDER BY `pid` ASC LIMIT 0,100
  • 0.0002 SELECT * FROM bbs_thread WHERE `tid`='282' LIMIT 1
  • 0.0001 UPDATE LOW_PRIORITY `bbs_thread` SET views=views+1 WHERE tid='282'
  • 0.0001 SELECT * FROM bbs_cache WHERE `k`='bbs_haya_post_like' LIMIT 1
  • 0.0002 SELECT * FROM bbs_post WHERE `tid`='282' AND `likes`>=10 ORDER BY `likes` DESC ,`create_date` DESC LIMIT 0,6
  • 0.0001 REPLACE INTO bbs_cache (`k`,`v`,`expiry`) VALUES ('bbs_haya_post_like','{ \"491\": { \"pids\": [], \"life_time\": 1756558177 }, \"282\": { \"pids\": [], \"life_time\": 1756558182 } }','0')
  • 0.0002 SELECT * FROM bbs_paylist WHERE `tid`=282 AND `uid`='' AND `type`=1 LIMIT 1
  • 0.0003 select * from bbs_navlinks order by `rank`
  • 0.0004 SELECT * FROM bbs_cache WHERE `k`='bbs_total_likes' LIMIT 1
  • 0.0001 SELECT * FROM bbs_kv WHERE `k`='total_likes' LIMIT 1
  • 0.0001 select * from bbs_navlinks order by `rank`
  • 0.0003 SELECT * FROM bbs_haya_favorite WHERE `uid`='' AND `tid`=282 LIMIT 0,10
  • 0.0002 SELECT * FROM bbs_post_like WHERE `pid`='917' AND `uid`='' LIMIT 0,10
  • 0.0002 SELECT * FROM bbs_post_like WHERE `pid`='917' AND `uid`='' LIMIT 0,10
  • 0.0002 SELECT * FROM bbs_haya_favorite WHERE `uid`='' AND `tid`=282 LIMIT 0,10
  • 0.0001 SELECT * FROM bbs_haya_favorite WHERE `uid`='' AND `tid`=282 LIMIT 0,10
  • 0.0003 SELECT * FROM bbs_thread WHERE `fid`='8' AND `tid`<282 ORDER BY `tid` DESC LIMIT 1
  • 0.0002 SELECT * FROM bbs_thread WHERE `fid`='8' AND `tid`>282 ORDER BY `tid` ASC LIMIT 1
  • 0.0004 SELECT * FROM bbs_user_medal WHERE `uid`='171' LIMIT 0,50
  • 0.0002 SELECT * FROM bbs_cache WHERE `k`='bbs_online_list' LIMIT 1
  • 0.0002 SELECT tid FROM bbs_thread WHERE `fid`='8' ORDER BY `views` DESC LIMIT 0,10
  • 0.0004 SELECT * FROM bbs_thread WHERE (`tid`='1' OR `tid`='110' OR `tid`='279' OR `tid`='108' OR `tid`='281' OR `tid`='109' OR `tid`='24' OR `tid`='41' OR `tid`='280' OR `tid`='277') ORDER BY `views` DESC LIMIT 0,10
_REQUEST:
Array
(
        [0]  =>  thread
        [1]  =>  282
)
_SESSION:
Array
(
        [fid]  =>  8
)