I'm trying to keep track of home key button hit and touch event in the area of interest pressed within some fixed window of time. For that I'm using public static int COUNTER_HOME =0 in View.java under frameworks/base/ core/java/android/view/
I then increment the variable in WindowManagerService.java under frameworks/base/services/java/com/android/server/ View.COUNTER_HOME++ when i acess the variable upon touch event in ViewGroup.java which is a subclass of View under frameworks/base/core/java/android/view I see the COUNTER to be 0, WHy is that, is the class ViewGroup reloaded everytime the control transfers from WindowManagerService, I dont understand it or there is something I'm missing? Appreciate your help Regards, S.Abdullah -- 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