Query Android content provider from command line (adb shell)
问题 There is a command to start an activity based on intent: am start . Also to send a broadcast: am broadcast . I think probably there should be a shell command to query a content provider, probably something like: query content://com.myapp.authority/path --where 'column=?' --arg 1 --order 'column desc' or similar. Is there one? 回答1: There is a content command: usage: adb shell content [subcommand] [options] usage: adb shell content insert --uri <URI> [--user <USER_ID>] --bind <BINDING> [--bind