service call使用

# service

service

Usage: service [-h|-?]

       service list

       service check SERVICE

       service call SERVICE CODE [i32 INT | s16 STR] [intent] ...

Options:

   i32: Write the integer INT into the send parcel.

   s16: Write the UTF-16 string STR into the send parcel.

   intent: Write and Intent int the send parcel. ARGS can be/n"

   action=STR data=STR type=STR launchFlags=INT component=STR categories=STR[,STR,...]/n


如:service call display.qservice 21 i32 10

你可能感兴趣的:(android)