The UI has very little to do with the pid. You need to make a window (or more typically an activity which itself has a window for you) and let the system place it, and in the layout pass on the hierarchy you will find out the dimensions.
On Tue, Sep 8, 2009 at 1:37 PM, Bo Yan <[email protected]> wrote: > > Hi, > > I know the process ID(pid) of my application which is running now. Is > there a way to get the view information (such as width, height, title, > and layout) of my application from its pid? > > Best Regards, > Bob > > > > -- Dianne Hackborn Android framework engineer [email protected] 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

