[android-developers] Animation Problem
Hello All, I'm new to Android and trying to develop an app that has loads of animation. Its a small game. Currently i have a object (image) moving around the canvas. I used animation to animate it around the screen. But the problem here is i dont have the X&Y coordinates of that object while its animating. I want to get the coordinates of the bitmap whenever i want during the animation. I think if there was some way where i can read the presentation layer probably i could get the cordinates of the object. Please help me guys i'm stuck here now for like a week. My another problem is with rotate animation, i some how dont seem to understand its functionality. I have played with it for a couple of days but no luck, i'm still new to it and dont get anything. The object makes big arcs even if the x,y values are 0,0 and the object jumps around when i try to give it random values. Any help would be highly appreciated. Thanks in advance. HVT --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Animation Problem
Hello Developers, I have done frame Animation suceessfully and the frame images comes from Drawable folder . Actually problem is that...images are alot then we have not store in Drawable folder..thats why images will be stored in SdCard... Problem is that ,How to read images from sd card and set into animation frame... Please Help me... Thanks in Advance -- 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
[android-developers] Animation problem
Hello, I'm new here and I don't know if this is the right place for my problem. Please excuse me if it's wrong. I want to create a scale animation where a view grows a bit from it's original size and then shrinks to it's old size. My XML file: http://schemas.android.com/apk/res/android";> When I start this animation the view object grows directly by the factor 1.2. Then the animation starts and the view grows and shrinks like I want it. After that there is another jump to the original size of the view. So there are two jumps, which I don't want and I don't know how to solve this problem. Please could you help me. Thank you -- 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
Re: [android-developers] Animation Problem
On Thu, Jun 7, 2012 at 1:19 PM, abhijeet tomar wrote: > Hello Developers, > > I have done frame Animation suceessfully and the frame images comes from > Drawable folder . > Actually problem is that...images are alot then we have not store in > Drawable folder..thats why images will be stored in SdCard... > Problem is that ,How to read images from sd card and set into animation > frame... > Please Help me... > > Thanks in Advance > > Use this. animation.addFrame( BitmapDrawable.createFromPath ("sdcard/image1.png"), 250); -- 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
Re: [android-developers] Animation problem
You may want to set the setFillBefore and/or setFillAfter values. (one of them defaults to true, the other to false.) On Tue, Dec 28, 2010 at 3:21 PM, iced wrote: > Hello, > I'm new here and I don't know if this is the right place for my > problem. Please excuse me if it's wrong. > I want to create a scale animation where a view grows a bit from it's > original size and then shrinks to it's old size. > -- 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