Greetings Obie. Live wallpaper works somewhat differently from normal Android stuff. You don't get a view.
All you get is a canvas, and you have to structure things differently...essentially you are coordinating with the launcher. The Cube example in the SDK is a good point of departure: it enables touch events in onCreate, and then overrides the onTouchEvent method. Bear in mind that any gestures you get this way will also be processed by the launcher.
If all you need is simple screen taps, it is better practice to use onCommand and check for android.wallpaper. Tap as described here: developer.android.com/resources/articles....
Thanks for the response and the great explanation of how the live wallpapers work - that's helped me out no end. I'm actually after a swipe up and down so ill basically have to roll my own gestures using the touch example from the cube sample. Thanks again – obie May 11 at 18:13.
Live wallpaper works somewhat differently from normal Android stuff. You don't get a view. All you get is a canvas, and you have to structure things differently...essentially you are coordinating with the launcher.
The Cube example in the SDK is a good point of departure: it enables touch events in onCreate, and then overrides the onTouchEvent method. Bear in mind that any gestures you get this way will also be processed by the launcher. If all you need is simple screen taps, it is better practice to use onCommand and check for android.wallpaper.
Tap as described here .
I've had the same problem, I found a workaround for my wallpaper by adding a touch event in an array each time the onTouchEvent is called, then I process the data in the array via polling. It is far from an optimal solution but it works for what I need in the wallpaper. However it would be great to have the full gestures listener as it would allow for great flexibility.
If you have, this new feature will blow you away. Just enable automatic driving detection and iOnRoad will detect when you’re actually driving to start protecting you automatically and effortlessly! The iOnRoad icon displayed in your notification area will indicate whether iOnRoad is running!
Makes your phone talk on topics ranging from Einstein to Mozart.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.