In most cases you should be able to add a new command as a commandline
tool on the device side and use "adb shell <command>" to execute it.
Adding new adb commands should only be done if you really need to add
functionality to adb itself.

What are you trying to do?

Mike

On Tue, May 19, 2009 at 9:01 AM, Edware <[email protected]> wrote:
>
> I found a function "int adb_commandline(int argc, char **argv)" in
> android\system\core\adb\Commandline.c. Could I add a new command in
> it? Or will it have side effect?
>
>
> On 5月19日, 下午8時39分, Edware <[email protected]> wrote:
>> Because I want to develop Android debug tools in Android, I want to
>> viaadbinterface. How can I add anewadbcommand? Thanks for your
>> help.
> >
>



-- 
Mike Lockwood
Google android team

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to