Thank you Hackborn. I know little about the "Binder transaction" till
now. And just interesting in the tool's usage.
On Mar 5, 6:36 am, Dianne Hackborn <
hack...@android.com> wrote:
> It just does a Binder transaction to the given system service. You can do
> the same thing in Java (though with a lot less effort) using the
> ServiceManager to find the named service and making calls on to it.
>
>
>
> On Wed, Mar 4, 2009 at 6:45 AM, Tim <
tim.ka...@gmail.com> wrote:
>
> > No one know the "SERVICE CODE"?
> > Maybe I shall post it to framework group.
>
> > On Mar 3, 12:02 pm, Tim <
tim.ka...@gmail.com> wrote:
> > > Platform provides an useful command:
> > > ~~~~~~~~~~~~~~~~~~~~~
> > > # service
> > > service
> > > Usage: service [-h|-?]
> > > service list
> > > service check SERVICE
> > > service call SERVICE CODE [i32 INT | s16 STR] ...
> > > Options:
> > > i32: Write the integer INT into the send parcel.
> > > s16: Write the UTF-16 string STR into the send parcel.
> > > ~~~~~~~~~~~~~~~~~~~~~~
>
> > > Two guys had given several interesting hints about it: