Greetings fellow Droidheads and the like. I am working on a Live Wallpaper project that's getting more complex. I am curious: has anyone figured out a way to use Android's View Animation package (http://developer.android.com/guide/topics/graphics/view-animation.html) from within live wallpaper? It doesn't seem obvious to me that this is possible, in that it is a service rather than an activity, and you are given a surfaceholder to lockdown to get a canvas on which to draw--no way to setContentView, etc. The tween package seems to depend on views (i.e. the animation gets associated with the view itself, not the canvas, bitmap, etc.). Any thoughts? Thanks in advance. George
Is it possible to use Android's View Animation package (tween/frame) within Live Wallpaper?
1k Views Asked by George Freeman At
2
There are 2 best solutions below
2
Aurelien Ribon
On
I built a library that let you interpolate and animate any Java object, optimized for Android (without any garbage collection).
Since I'm not here to publicize a product (it's an open source lib, LGPL), I would encourage you to read my answer in this thread:
Android: tween animation of a bitmap
Tell me if it solves your problem :-)
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in ANIMATION
- Animation in Java on top of JPanel
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Removing flashiness/ shakiness from scrolling text
- Animation text fade-in other text
- iOS UITableViewCell setSelected:animated: always has animated = NO
- Animation Trigger (Storyboard + Trigger) in C#
- How to animate a ball along the curved path using css3 animation?
- Animation issue on iOS 7 but not on iOS 8
- Asp.net /JQuery to show/hide animated gif before download
- Set animation YDelta in Java class?
- CSS Transition Animation Content Overlapping
- jQuery background animation - better performance
- Android listview top to down animation flashing when animating?
- How can i do a fill animation in Xamarin.Forms
- Create Page custom animations in Windows Phone 8.1 (Windows Runtime)
Related Questions in VIEW
- Serve arbitrary html in angular data bind
- Switching CSS Just for that view?
- Setting % of a background color programmatically
- Change the View BackgroundColor on Tap
- Pass html.dropdownlistfor current value to Actionlink?
- Filter Field in List by boolean value in MVC
- Android How to change icon with button
- frame.origin Change error on View when Table Cell selected
- How to pass a specific model field to views' functions or methods?
- python django class based view and functional view
- django rest framework - adding to views.obtain_auth_token
- Is it possible to draw on an SFML window regardless of views?
- SQL Join Views - Duplicate Field
- Android change layout depending on if statement
- how to merge entity reference relationship field value
Related Questions in TWEEN
- Changing the length of a line renderer using DOTween
- Tween.js rotation not working when using Three.js loader
- Android Studio / LibGdx/ Fatal error
- D3.js - Tween Arc position, inner Radius and outer Radius - D3.js Arc
- libgdx - android issue - "Unfortunately [app name] has stopped"
- camera to face selected plane three.js
- I am having a hard time trying to make this modal close the way I want it
- Ease of Motion, Programming Tweening, c++
- Tweening SVG paths not working
- How to use tween x,y while maintaining degree of rotation?
- d3.js - tween numbers on multiple elements
- Animating template changes in Meteor
- Animate/move/translate/tween image in Unity 4.6 from C# code
- Actionscript 2 Play animations at random
- How to get the same effect as TweenLite.to in as3
Related Questions in LIVE-WALLPAPER
- My Live Wallpaper won't compile and run
- show livewallpaper in android
- TouchWiz launcher detection
- No launcher found
- Is it possible to create Android live wallpapers using cocoonjs?
- Can't scroll Background
- android live wallpaper with image?
- How to change bitmap in live wallpaper from preference activity in android
- andengine Live Wallpaper freezing on focus
- live wallpaper background image is bigger than screen size andEngine
- How can i be notified "set wallpaper" hits in android Wallpaper Service?
- Android video as a live wallpaper
- Animation in Live Wallpaper Android?
- Live Wallpaper gradient banding: is it possible to use ARGB_8888 or dithering to fix?
- placeing bitmaps in live wallpapers
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Endeavoring to answer my own question... No, I do not think this is possible. I have tried hard, with no success, and I have reviewed many examples of other people's code, and never seen anyone take this approach. What's more, even if it worked, I now think it wouldn't be a good idea: it's better for live wallpapers to take responsibility for their own drawing, to precisely control timing issues, &c. George