A couple of things 1) You cannot work with views that way within live wallpaper. You must limit yourself to the canvas you get from holder.lockCanvas() 2) It sounds like you're getting a weird interaction with the launcher. These things happen.
If you are just processing simple screen taps, you can probably work around your issue by using onCommand() to check for android.wallpaper. Tap instead of using onTouchEvent(). That's better practice, because you will only get sent taps on free spaces in the wallpaper; otherwise you will also get screen presses that are processed by the launcher.
There's a little info about onCommand here: developer.android.com/resources/articles... For instance something like this Override public Bundle onCommand(String action, int x, int y, int z, Bundle extras, boolean resultRequested) { if (action. Equals(WallpaperManager. COMMAND_TAP)) { mTouchX = x; mTouchY = y; } return super.
OnCommand(action, x, y, z, extras, resultRequested); }.
A couple of things... 1) You cannot work with views that way within live wallpaper. You must limit yourself to the canvas you get from holder.lockCanvas(). 2) It sounds like you're getting a weird interaction with the launcher.
These things happen. If you are just processing simple screen taps, you can probably work around your issue by using onCommand() to check for android.wallpaper. Tap instead of using onTouchEvent().
That's better practice, because you will only get sent taps on free spaces in the wallpaper; otherwise you will also get screen presses that are processed by the launcher. There's a little info about onCommand here: developer.android.com/resources/articles... For instance something like this... @Override public Bundle onCommand(String action, int x, int y, int z, Bundle extras, boolean resultRequested) { if (action. Equals(WallpaperManager.
COMMAND_TAP)) { mTouchX = x; mTouchY = y; } return super. OnCommand(action, x, y, z, extras, resultRequested); }.
Android - How to check when live wallpaper loses focus - Stack Overflow.
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.