2015년 2월 6일 금요일

adb로 현재 실행중인 activity 정보 가져오기


adb로 현재 실행중인 activity 정보 가져오기

am stack list 을 이용합니다. stack id가 낮은게 제일 위에 있는것 입니다.

$ am stack list
am stack list
Stack id=0 stackType=0 bounds=[0,0][1440,2560] displayId=0
  taskId=174: com.sec.android.app.launcher/com.android.launcher2.Launcher

Stack id=1 stackType=0 bounds=[0,0][1440,2560] displayId=0
  taskId=182: com.android.mms/com.android.mms.ui.ConversationComposer
  taskId=177: com.android.contacts/com.android.contacts.activities.PeopleActivit
  taskId=173: com.example.zdgtest2/com.example.zdgtest2.MainActivity
  taskId=172: com.android.settings/com.android.settings.GridSettings
  taskId=161: com.sec.android.app.camera/com.sec.android.app.camera.Camera
  taskId=146: com.vlingo.midas/com.vlingo.midas.gui.ConversationbackgroundActivi
  taskId=144: com.kakao.talk/com.kakao.talk.activity.SplashActivity
  taskId=130: com.android.vending/com.android.vending.AssetBrowserActivity
  taskId=138: com.sec.android.app.factorykeystring/com.sec.android.app.version.S
  taskId=127: com.sec.android.app.sbrowser/com.sec.android.app.sbrowser.SBrowser
  taskId=120: com.sec.android.app.popupcalculator/com.sec.android.app.popupcalcu
  taskId=119: com.samsung.android.securitylogagent/com.samsung.android.securityl
  taskId=117: com.lgt.tmoney/com.tmoney.activity.PopupActivity
  taskId=107: com.google.android.googlequicksearchbox/com.google.android.velvet.
  taskId=103: com.android.calendar/com.android.calendar.AllInOneActivity
  taskId=97: com.sec.android.gallery3d/com.sec.android.gallery3d.app.GalleryOpaq
  taskId=98: com.sec.android.app.videoplayer/com.sec.android.app.videoplayer.act
  taskId=94: com.sec.android.app.music/com.samsung.musicplus.MusicMainActivity
  taskId=91: flipboard.boxer.app/flipboard.boxer.gui.LaunchActivity
  taskId=87: com.samsung.app.slowmotion/com.samsung.app.slowmotion.slowmotionact
  taskId=62: com.sec.android.app.samsungapps/com.sec.android.app.samsungapps.Sam
  taskId=59: com.sec.android.app.myfiles/com.sec.android.app.myfiles.MainActivit
  taskId=55: com.sec.android.app.voicenote/com.sec.android.app.voicenote.main.VN
  taskId=30: com.lguplus.mobiletoken/com.lguplus.mobiletoken.Loading_Activity
  taskId=33: com.lguplus.smartotp/com.lguplus.smartotp.IntroActivity
  taskId=149: com.lguplus.appstore/com.lguplus.appstore.StoreMain
  taskId=167: com.android.mms/com.android.mms.ui.ConversationComposer
  taskId=169: com.android.contacts/com.android.contacts.activities.PeopleActivit
  taskId=183: flipboard.boxer.app/flipboard.boxer.gui.LaunchActivity
  taskId=188: com.lguplus.appstore/com.lguplus.appstore.StoreMain


  taskId=193: com.sec.android.app.sbrowser/com.sec.android.app.sbrowser.SBrowser

댓글 없음:

댓글 쓰기