Hi Dianne, Just for fun I wanted to write a Service, which can display the current activityManager, the current Window Manager and the current Service Manager,
in Monkey.java this is done by Monkey.getSystemInterfaces() with mAm = ActivityManagerNative.getDefault(); How can I get the same functionality for an Android application? and of course, how can I compile it. Thanks in advance On Apr 16, 10:33 am, Dianne Hackborn <hack...@android.com> wrote: > You need to build it with the platform build system. This is not intended > to be used outside of that. > > > > On Thu, Apr 16, 2009 at 12:46 AM, adrian <linca30...@gmail.com> wrote: > > > Hello group, > > I download the source code from [platform/development.git]/cmds/ > > monkey/ and want to build in eclipse. > > But I don't have some non-public classes. > > like: > > import android.app.ActivityManagerNative; > > import android.app.IActivityManager; > > import android.app.IActivityWatcher; > > > where can I get the non-public classes? > > > Thanks and best regards, > > Adrian > > > On Apr 16, 2:54 am, swarup <me.s...@gmail.com> wrote: > > > git source path : > > > > [platform/development.git]/cmds/monkey/... > > > > On Apr 15, 10:57 am, adrian <linca30...@gmail.com> wrote: > > > > > Hello group, > > > > I don't have a option -f in my commandmonkey(/system/bin/monkey). > > > > example: adb shellmonkey-f <script_file_name>. > > > > But the command unknown option -f. > > > > So I want to get the source code of the commandmonkey, then open > > > > this option and rebuild it. > > > > > Regards, > > > > Adrian > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---