Hi there, I'm making a live wallpaper that I would like to change when the user swipes the screen. I have a TouchListener set up, but I have had trouble precisely matching the behavior of the home screen. In other words, sometimes when I swipe the screen, the home screen will change pages but my app wallpaper will not, and if I make it more "sensitive", it will flip sometimes when the home screen doesn't.
The WallpaperService.Engine.onOffsetsChanged<http://developer.android.com/reference/android/service/wallpaper/WallpaperService.Engine.html#onOffsetsChanged(float, float, float, float, int, int)> method seems to be what I'm looking for, but I only see it called when the app starts and when you return home from an app. It is not called as I swipe or change home screen pages. This StackOverflow article<http://stackoverflow.com/questions/6637753/using-onoffsetschanged-to-get-home-screen-swipe-direction>leads me to believe that I should get callbacks on this function every time the home screen moves. Any ideas? -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

