3D transition animation between Activities
I have got a question in this post on the Sfonge site whether it is possible to create a 3D transition effect between two Activities. There is a sample program that does it among the API Demos but this program plays the transition effect between two views of the same Activity. The adaptation to do the same between two activities is not very complicated but has some tricks, that's why I decided to publish this example program.
The example program is attached to this post. You have to be logged in to Sfonge site to access it.
First and foremost, I unashamedly stole the custom 3D animation from the API Demos application, that's what you find in Rotate3dAnimation.java. It is invoked in the landing Activity (Activity3dTransitionActivity) when the user initates transition to the second Activity (Screen2Activity) using the menu. The trick here is to attach an animation listener to the 3D animation object, start the animation in the outgoing Activity and only invoke startActivity() when the animation finishes. Note the overridePendingTransition( 0,0 ) invocation; this ensures that the system itself will not play any activity transition animation.
The incoming Screen2Activity seems simple but there is hidden gem here too. Observe that the top layout of the activity (in screen2.xml) is not a stock LinearLayout but a descendant (aexp.activity3dtransition.AnimatedLinearLayout). Overriding onMeasure() in this subclass makes sure that the incoming animation is started only after the elements of the layout (a single TextView here) have beenlaid out.
have you saw the Go SMS pro? https://play.google.com/store/apps/details?id=com.jb.gosms&hl=en I want same as like Support GESTURE, left/right slip, many transition effect. like 2 App Screenshots. plz see and how to implement that effect.
and Apply Gesture event on Activity
i have to apply 3D Cube transition animation between two activity. this animation is not like 3D Cube on gesture event. do you have any idea about the 3d cube transition animation?
R u busy?
give any idea how to do like the animation must work on both the incoming and the outgoing layout at the same time. R u busy ?
give any idea how to do like that
top web hosting alwayscheap hosting
gives you better option against small extra charges, security systems of such hostings are so good that you dont have to bother about the hackers, data transferaffordable web hosting
rate is also higer as compared with less famous web hosting compaines.
give any idea how to do like the animation must work on both the incoming and the outgoing layout at the same time.
Thank u....



Can't you use the example described in this post? The only difference is that in MyGestureDetector you don't do a view flip but invoke a new Activity.