Thanks for your answer! I'm sorry to express the second question! And the second question like this: if i use the touch to move the screen, how can we get the distance between from and to??
2008/11/20 Dennis Wilmsmann <[EMAIL PROTECTED]> > > int w = getWindowManager().getDefaultDisplay().getWidth(); > int h = getWindowManager().getDefaultDisplay().getHeight(); > > Unfortunately, I have no answer to your second question; I don't > understand the question. ;) > > Dennis > > On 20 Nov., 08:00, SinFrancis <[EMAIL PROTECTED]> wrote: > > I wanna konw the screen width and height when app run ? > > how can i do? > > > > and if the touchpad move ?? which way can get the moved > > distance ????? > > Thanks? > > > -- Welcome to my site about GPhone: http://51gphone.cn I am a GFans!!欢迎你来到我的GPhone网站!!http://51gphone.cn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

