adb shell dumpsys package com.xxx.xxx ##查看安装程序的信息
如果不知道程序的包名
adb shell pm list packages ##列出所有安装的程序包名
程序信息:
Activity Resolver Table:
Non-Data Actions:
android.speech.tts.engine.INSTALL_TTS_DATA:
1748daf1 com.google.android.tts/.local.voicepack.ui.VoiceDataInstallActivity filter 2b8da282
Action: "android.speech.tts.engine.INSTALL_TTS_DATA"
Category: "android.intent.category.DEFAULT"
android.speech.tts.engine.CHECK_TTS_DATA:
2938f7ea com.google.android.tts/.settings.CheckVoiceData filter 2dae0364
Action: "android.speech.tts.engine.CHECK_TTS_DATA"
Category: "android.intent.category.DEFAULT"
android.speech.tts.engine.GET_SAMPLE_TEXT:
11a9e63c com.google.android.tts/.settings.GetSampleText filter 3b7819cd
Action: "android.speech.tts.engine.GET_SAMPLE_TEXT"
Category: "android.intent.category.DEFAULT"
Receiver Resolver Table:
Non-Data Actions:
android.intent.action.DOWNLOAD_COMPLETE:
3eabc81b com.google.android.tts/.local.voicepack.lorry.DownloadBroadcastReceiver filter 2a7fc8f7
Action: "android.intent.action.DOWNLOAD_COMPLETE"
Category: "android.intent.category.DEFAULT"
Service Resolver Table:
Non-Data Actions:
android.intent.action.TTS_SERVICE:
3c22979f com.google.android.tts/.service.GoogleTTSService filter 2adbacf6
Action: "android.intent.action.TTS_SERVICE"
Category: "android.intent.category.DEFAULT"
mPriority=100, mHasPartialTypes=false
Key Set Manager:
[com.google.android.tts]
Signing KeySets: 3
Packages:
Package [com.google.android.tts] (27c61444):
userId=10050 gids=[3003, 1028, 1015]
pkg=Package{3a1b892d com.google.android.tts}
codePath=/system/app/GoogleTTS
resourcePath=/system/app/GoogleTTS
legacyNativeLibraryDir=/system/app/GoogleTTS/lib
primaryCpuAbi=armeabi-v7a
secondaryCpuAbi=null
versionCode=210303130 targetSdk=21
versionName=3.3.13.1635260.arm
applicationInfo=ApplicationInfo{27534e62 com.google.android.tts}
flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ]
dataDir=/data/data/com.google.android.tts
supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
timeStamp=2015-05-27 20:33:51
firstInstallTime=2015-05-27 20:33:51
lastUpdateTime=2015-05-27 20:33:51
signatures=PackageSignatures{22266bf3 [1dab51f4]}
permissionsFixed=false haveGids=true installStatus=1
pkgFlags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ]
User 0: installed=true hidden=false stopped=false notLaunched=false enabled=0
User 11: installed=true hidden=false stopped=false notLaunched=false enabled=0
grantedPermissions:
android.permission.READ_EXTERNAL_STORAGE
android.permission.INTERNET
android.permission.DOWNLOAD_WITHOUT_NOTIFICATION
android.permission.ACCESS_NETWORK_STATE
com.google.android.providers.gsf.permission.READ_GSERVICES
android.permission.WRITE_EXTERNAL_STORAGE