TransitionAnimationExample

This example explains how we can create transition effect to animate our photo gallery or screen.

Algorithm:

1.) Create a new project by File-> New -> Android Project name it TransitionAnimationExample.
2.) Write following into main.xml:

 

<!--?xml version="1.0" encoding="utf-8"?-->
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ListView
android:id="@android:id/list"
android:persistentDrawingCache="animation|scrolling"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layoutAnimation="@anim/layout_bottom_to_top_slide" />
<ImageView
android:id="@+id/picture"
android:scaleType="fitCenter"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:visibility="gone" />

 

 

3.) Create res/anim folder and add following files into it: layout_bottom_to_top_slide.xml

 

<!--?xml version="1.0" encoding="utf-8"?-->
android:delay="30%"
android:animationOrder="reverse"
android:animation="@anim/slide_right" />

slide_right.xml

<!--?xml version="1.0" encoding="utf-8"?-->

android:duration="@android:integer/config_shortAnimTime" />

 

 

4.) Create Rotate3dAnimation.java in src folder and write following code:

 

package com.example.TransitionAnimation;

import android.view.animation.Animation;
import android.view.animation.Transformation;
import android.graphics.Camera;
import android.graphics.Matrix;

public class Rotate3dAnimation extends Animation {
private final float mFromDegrees;
private final float mToDegrees;
private final float mCenterX;
private final float mCenterY;
private final float mDepthZ;
private final boolean mReverse;
private Camera mCamera;

public Rotate3dAnimation(float fromDegrees, float toDegrees,
float centerX, float centerY, float depthZ, boolean reverse) {
mFromDegrees = fromDegrees;
mToDegrees = toDegrees;
mCenterX = centerX;
mCenterY = centerY;
mDepthZ = depthZ;
mReverse = reverse;
}

@Override
public void initialize(int width, int height, int parentWidth, int parentHeight) {
super.initialize(width, height, parentWidth, parentHeight);
mCamera = new Camera();
}

@Override
protected void applyTransformation(float interpolatedTime, Transformation t) {
final float fromDegrees = mFromDegrees;
float degrees = fromDegrees + ((mToDegrees - fromDegrees) * interpolatedTime);

final float centerX = mCenterX;
final float centerY = mCenterY;
final Camera camera = mCamera;

final Matrix matrix = t.getMatrix();

camera.save();
if (mReverse) {
camera.translate(0.0f, 0.0f, mDepthZ * interpolatedTime);
} else {
camera.translate(0.0f, 0.0f, mDepthZ * (1.0f - interpolatedTime));
}
camera.rotateY(degrees);
camera.getMatrix(matrix);
camera.restore();

matrix.preTranslate(-centerX, -centerY);
matrix.postTranslate(centerX, centerY);
}
}

 

 

5.) Add 2 png images in drawable folder.
6.) Run for output.

Steps:

1.) Create a project named TransitionAnimationExample and set the information as stated in the image.

Build Target: Android 2.1
Application Name: TransitionAnimationExample
Package Name: com.example. TransitionAnimation
Activity Name: TransitionAnimationActivity
Min SDK Version: 7

2.) Open TransitionAnimationActivity.java file and write following code there:

 

package com.example.TransitionAnimation;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.Animation;
import android.view.animation.DecelerateInterpolator;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.ListView;

public class TransitionAnimationActivity extends Activity implements
AdapterView.OnItemClickListener, View.OnClickListener {
private ListView mPhotosList;
private ViewGroup mContainer;
private ImageView mImageView;

private static final String[] PHOTOS_NAMES = new String[] {
"Photo1",
"Photo2",
};
private static final int[] PHOTOS_RESOURCES = new int[] {
R.drawable.thumb,
R.drawable.icon,
};
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mPhotosList = (ListView) findViewById(android.R.id.list);
mImageView = (ImageView) findViewById(R.id.picture);
mContainer = (ViewGroup) findViewById(R.id.container);
final ArrayAdapter adapter = new ArrayAdapter(this,
android.R.layout.simple_list_item_1, PHOTOS_NAMES);
mPhotosList.setAdapter(adapter);
mPhotosList.setOnItemClickListener(this);
mImageView.setClickable(true);
mImageView.setFocusable(true);
mImageView.setOnClickListener(this);
mContainer.setPersistentDrawingCache(ViewGroup.PERSISTENT_ANIMATION_CACHE);
}
private void applyRotation(int position, float start, float end) {
// Find the center of the container
final float centerX = mContainer.getWidth() / 2.0f;
final float centerY = mContainer.getHeight() / 2.0f;
final Rotate3dAnimation rotation =
new Rotate3dAnimation(start, end, centerX, centerY, 310.0f, true);
rotation.setDuration(500);
rotation.setFillAfter(true);
rotation.setInterpolator(new AccelerateInterpolator());
rotation.setAnimationListener(new DisplayNextView(position));
mContainer.startAnimation(rotation);
}
public void onItemClick(AdapterView parent, View v, int position, long id) {
mImageView.setImageResource(PHOTOS_RESOURCES[position]);
applyRotation(position, 0, 90);
}
public void onClick(View v) {
applyRotation(-1, 180, 90);
}
private final class DisplayNextView implements Animation.AnimationListener {
private final int mPosition;
private DisplayNextView(int position) {
mPosition = position;
}
public void onAnimationStart(Animation animation) {
}
public void onAnimationEnd(Animation animation) {
mContainer.post(new SwapViews(mPosition));
}
public void onAnimationRepeat(Animation animation) {
}
}
private final class SwapViews implements Runnable {
private final int mPosition;
public SwapViews(int position) {
mPosition = position;
}
public void run() {
final float centerX = mContainer.getWidth() / 2.0f;
final float centerY = mContainer.getHeight() / 2.0f;
Rotate3dAnimation rotation;
if (mPosition > -1) {
mPhotosList.setVisibility(View.GONE);
mImageView.setVisibility(View.VISIBLE);
mImageView.requestFocus();
rotation = new Rotate3dAnimation(90, 180, centerX, centerY, 310.0f, false);
} else {
mImageView.setVisibility(View.GONE);
mPhotosList.setVisibility(View.VISIBLE);
mPhotosList.requestFocus();
rotation = new Rotate3dAnimation(90, 0, centerX, centerY, 310.0f, false);
}
rotation.setDuration(500);
rotation.setFillAfter(true);
rotation.setInterpolator(new DecelerateInterpolator());
mContainer.startAnimation(rotation);
}
}
}

 

 

3.) Compile and build the project.

Output

Leave a Comment:

5 comments
nakul says February 13, 2012

sushant sir its not working ,,,,showing forse close…..

errror in

Reply
chael Stevens says February 20, 2012

I am doing sigma Android week 3 assignment “Interfaces”, on doing the first part of the video tutorial; new project “uiTestNew”, I ran the below for output and received the errors in the “console output” section. How do I fix this problem?

uiTestNewActivity.java

package org.example.uitest;

import android.app.Activity;
import android.os.Bundle;

/**
* @author Michael Stevens
*
*/
public class UiTestNewActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}

main.xml

CONSOLE OUTPUT
12-02-20 11:56:58 – SDK Manager] Snapshot image already present, was not changed.
[2012-02-20 11:56:58 – SDK Manager] SD Card already present with same size, was not changed.
[2012-02-20 11:56:58 – SDK Manager] Updated AVD ‘HelloTest1’ based on Android 2.1, ARM (armeabi) processor,
[2012-02-20 11:56:58 – SDK Manager] with the following hardware config:
[2012-02-20 11:56:58 – SDK Manager] hw.dPad=yes
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.density=240
[2012-02-20 11:56:58 – SDK Manager] hw.camera.maxHorizontalPixels=640
[2012-02-20 11:56:58 – SDK Manager] disk.cachePartition.size=66MB
[2012-02-20 11:56:58 – SDK Manager] hw.sensors.temperature=yes
[2012-02-20 11:56:58 – SDK Manager] disk.dataPartition.size=0
[2012-02-20 11:56:58 – SDK Manager] hw.camera=yes
[2012-02-20 11:56:58 – SDK Manager] hw.gpu.enabled=no
[2012-02-20 11:56:58 – SDK Manager] hw.touchScreen=yes
[2012-02-20 11:56:58 – SDK Manager] hw.keyboard.lid=yes
[2012-02-20 11:56:58 – SDK Manager] disk.cachePartition=yes
[2012-02-20 11:56:58 – SDK Manager] hw.keyboard=yes
[2012-02-20 11:56:58 – SDK Manager] hw.webcam.count=6
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.depth=16
[2012-02-20 11:56:58 – SDK Manager] hw.gsmModem=yes
[2012-02-20 11:56:58 – SDK Manager] hw.ramSize=512
[2012-02-20 11:56:58 – SDK Manager] hw.sensors.magnetic_field=yes
[2012-02-20 11:56:58 – SDK Manager] hw.sdCard=yes
[2012-02-20 11:56:58 – SDK Manager] hw.mainKeys=yes
[2012-02-20 11:56:58 – SDK Manager] hw.accelerometer=yes
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.height=640
[2012-02-20 11:56:58 – SDK Manager] hw.audioOutput=yes
[2012-02-20 11:56:58 – SDK Manager] hw.trackBall=yes
[2012-02-20 11:56:58 – SDK Manager] hw.camera.maxVerticalPixels=480
[2012-02-20 11:56:58 – SDK Manager] hw.sensors.proximity=yes
[2012-02-20 11:56:58 – SDK Manager] hw.battery=yes
[2012-02-20 11:56:58 – SDK Manager] hw.sensors.orientation=yes
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.backlight=yes
[2012-02-20 11:56:58 – SDK Manager] hw.audioInput=yes
[2012-02-20 11:56:58 – SDK Manager] hw.gps=yes
[2012-02-20 11:56:58 – SDK Manager] disk.systemPartition.size=0
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.width=320
[2012-02-20 11:56:58 – SDK Manager] vm.heapSize=48
[2012-02-20 11:57:37 – uiTestNew] ——————————
[2012-02-20 11:57:37 – uiTestNew] Android Launch!
[2012-02-20 11:57:37 – uiTestNew] adb is running normally.
[2012-02-20 11:57:37 – uiTestNew] Performing org.example.uitest.UiTestNewActivity activity launch
[2012-02-20 11:57:48 – uiTestNew] Automatic Target Mode: launching new emulator with compatible AVD ‘ActionSendFilter’
[2012-02-20 11:57:48 – uiTestNew] Launching a new emulator with Virtual Device ‘ActionSendFilter’
[2012-02-20 11:58:56 – Emulator] Failed to allocate memory: 1455
[2012-02-20 11:58:57 – Emulator]
[2012-02-20 11:58:57 – Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-02-20 11:58:57 – Emulator] Please contact the application’s support team for more information.
[2012-02-20 12:05:19 – SDK Manager] Snapshot image already present, was not changed.
[2012-02-20 12:05:19 – SDK Manager] SD Card already present with same size, was not changed.
[2012-02-20 12:05:19 – SDK Manager] Updated AVD ‘ActionSendFilter’ based on Android 2.1, ARM (armeabi) processor,
[2012-02-20 12:05:19 – SDK Manager] with the following hardware config:
[2012-02-20 12:05:19 – SDK Manager] hw.dPad=yes
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.density=240
[2012-02-20 12:05:19 – SDK Manager] hw.camera.maxHorizontalPixels=640
[2012-02-20 12:05:19 – SDK Manager] disk.cachePartition.size=66MB
[2012-02-20 12:05:19 – SDK Manager] hw.sensors.temperature=yes
[2012-02-20 12:05:19 – SDK Manager] hw.camera=yes
[2012-02-20 12:05:19 – SDK Manager] disk.dataPartition.size=0
[2012-02-20 12:05:19 – SDK Manager] hw.gpu.enabled=yes
[2012-02-20 12:05:19 – SDK Manager] hw.touchScreen=yes
[2012-02-20 12:05:19 – SDK Manager] hw.keyboard.lid=yes
[2012-02-20 12:05:19 – SDK Manager] disk.cachePartition=yes
[2012-02-20 12:05:19 – SDK Manager] hw.keyboard=yes
[2012-02-20 12:05:19 – SDK Manager] hw.webcam.count=6
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.depth=16
[2012-02-20 12:05:19 – SDK Manager] hw.gsmModem=yes
[2012-02-20 12:05:19 – SDK Manager] hw.ramSize=512
[2012-02-20 12:05:19 – SDK Manager] hw.sensors.magnetic_field=yes
[2012-02-20 12:05:19 – SDK Manager] hw.sdCard=yes
[2012-02-20 12:05:19 – SDK Manager] hw.mainKeys=yes
[2012-02-20 12:05:19 – SDK Manager] hw.accelerometer=yes
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.height=640
[2012-02-20 12:05:19 – SDK Manager] hw.audioOutput=yes
[2012-02-20 12:05:19 – SDK Manager] hw.trackBall=yes
[2012-02-20 12:05:19 – SDK Manager] hw.camera.maxVerticalPixels=480
[2012-02-20 12:05:19 – SDK Manager] hw.sensors.proximity=yes
[2012-02-20 12:05:19 – SDK Manager] hw.battery=yes
[2012-02-20 12:05:19 – SDK Manager] hw.sensors.orientation=yes
[2012-02-20 12:05:19 – SDK Manager] hw.audioInput=yes
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.backlight=yes
[2012-02-20 12:05:19 – SDK Manager] hw.gps=yes
[2012-02-20 12:05:19 – SDK Manager] disk.systemPartition.size=0
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.width=320
[2012-02-20 12:05:19 – SDK Manager] vm.heapSize=48
[2012-02-20 12:13:47 – uiTestNew] ——————————
[2012-02-20 12:13:47 – uiTestNew] Android Launch!
[2012-02-20 12:13:47 – uiTestNew] adb is running normally.
[2012-02-20 12:13:47 – uiTestNew] Performing org.example.uitest.UiTestNewActivity activity launch
[2012-02-20 12:13:50 – uiTestNew] Automatic Target Mode: launching new emulator with compatible AVD ‘ActionSendFilter’
[2012-02-20 12:13:50 – uiTestNew] Launching a new emulator with Virtual Device ‘ActionSendFilter’
[2012-02-20 12:14:41 – Emulator] Failed to allocate memory: 1455
[2012-02-20 12:14:42 – Emulator]
[2012-02-20 12:14:42 – Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-02-20 12:14:42 – Emulator] Please contact the application’s support team for more information.

Reply
chael Stevens says February 20, 2012

I am doing sigma Android week 3 assignment “Interfaces”, on doing the first part of the video tutorial; new project “uiTestNew”, I ran the below for output and received the errors in the “console output” section. How do I fix this problem?

uiTestNewActivity.java

package org.example.uitest;

import android.app.Activity;
import android.os.Bundle;

/**
* @author Michael Stevens
*
*/
public class UiTestNewActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}

main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android&quot;
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />

</LinearLayout>

CONSOLE OUTPUT
12-02-20 11:56:58 – SDK Manager] Snapshot image already present, was not changed.
[2012-02-20 11:56:58 – SDK Manager] SD Card already present with same size, was not changed.
[2012-02-20 11:56:58 – SDK Manager] Updated AVD ‘HelloTest1’ based on Android 2.1, ARM (armeabi) processor,
[2012-02-20 11:56:58 – SDK Manager] with the following hardware config:
[2012-02-20 11:56:58 – SDK Manager] hw.dPad=yes
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.density=240
[2012-02-20 11:56:58 – SDK Manager] hw.camera.maxHorizontalPixels=640
[2012-02-20 11:56:58 – SDK Manager] disk.cachePartition.size=66MB
[2012-02-20 11:56:58 – SDK Manager] hw.sensors.temperature=yes
[2012-02-20 11:56:58 – SDK Manager] disk.dataPartition.size=0
[2012-02-20 11:56:58 – SDK Manager] hw.camera=yes
[2012-02-20 11:56:58 – SDK Manager] hw.gpu.enabled=no
[2012-02-20 11:56:58 – SDK Manager] hw.touchScreen=yes
[2012-02-20 11:56:58 – SDK Manager] hw.keyboard.lid=yes
[2012-02-20 11:56:58 – SDK Manager] disk.cachePartition=yes
[2012-02-20 11:56:58 – SDK Manager] hw.keyboard=yes
[2012-02-20 11:56:58 – SDK Manager] hw.webcam.count=6
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.depth=16
[2012-02-20 11:56:58 – SDK Manager] hw.gsmModem=yes
[2012-02-20 11:56:58 – SDK Manager] hw.ramSize=512
[2012-02-20 11:56:58 – SDK Manager] hw.sensors.magnetic_field=yes
[2012-02-20 11:56:58 – SDK Manager] hw.sdCard=yes
[2012-02-20 11:56:58 – SDK Manager] hw.mainKeys=yes
[2012-02-20 11:56:58 – SDK Manager] hw.accelerometer=yes
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.height=640
[2012-02-20 11:56:58 – SDK Manager] hw.audioOutput=yes
[2012-02-20 11:56:58 – SDK Manager] hw.trackBall=yes
[2012-02-20 11:56:58 – SDK Manager] hw.camera.maxVerticalPixels=480
[2012-02-20 11:56:58 – SDK Manager] hw.sensors.proximity=yes
[2012-02-20 11:56:58 – SDK Manager] hw.battery=yes
[2012-02-20 11:56:58 – SDK Manager] hw.sensors.orientation=yes
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.backlight=yes
[2012-02-20 11:56:58 – SDK Manager] hw.audioInput=yes
[2012-02-20 11:56:58 – SDK Manager] hw.gps=yes
[2012-02-20 11:56:58 – SDK Manager] disk.systemPartition.size=0
[2012-02-20 11:56:58 – SDK Manager] hw.lcd.width=320
[2012-02-20 11:56:58 – SDK Manager] vm.heapSize=48
[2012-02-20 11:57:37 – uiTestNew] ——————————
[2012-02-20 11:57:37 – uiTestNew] Android Launch!
[2012-02-20 11:57:37 – uiTestNew] adb is running normally.
[2012-02-20 11:57:37 – uiTestNew] Performing org.example.uitest.UiTestNewActivity activity launch
[2012-02-20 11:57:48 – uiTestNew] Automatic Target Mode: launching new emulator with compatible AVD ‘ActionSendFilter’
[2012-02-20 11:57:48 – uiTestNew] Launching a new emulator with Virtual Device ‘ActionSendFilter’
[2012-02-20 11:58:56 – Emulator] Failed to allocate memory: 1455
[2012-02-20 11:58:57 – Emulator]
[2012-02-20 11:58:57 – Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-02-20 11:58:57 – Emulator] Please contact the application’s support team for more information.
[2012-02-20 12:05:19 – SDK Manager] Snapshot image already present, was not changed.
[2012-02-20 12:05:19 – SDK Manager] SD Card already present with same size, was not changed.
[2012-02-20 12:05:19 – SDK Manager] Updated AVD ‘ActionSendFilter’ based on Android 2.1, ARM (armeabi) processor,
[2012-02-20 12:05:19 – SDK Manager] with the following hardware config:
[2012-02-20 12:05:19 – SDK Manager] hw.dPad=yes
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.density=240
[2012-02-20 12:05:19 – SDK Manager] hw.camera.maxHorizontalPixels=640
[2012-02-20 12:05:19 – SDK Manager] disk.cachePartition.size=66MB
[2012-02-20 12:05:19 – SDK Manager] hw.sensors.temperature=yes
[2012-02-20 12:05:19 – SDK Manager] hw.camera=yes
[2012-02-20 12:05:19 – SDK Manager] disk.dataPartition.size=0
[2012-02-20 12:05:19 – SDK Manager] hw.gpu.enabled=yes
[2012-02-20 12:05:19 – SDK Manager] hw.touchScreen=yes
[2012-02-20 12:05:19 – SDK Manager] hw.keyboard.lid=yes
[2012-02-20 12:05:19 – SDK Manager] disk.cachePartition=yes
[2012-02-20 12:05:19 – SDK Manager] hw.keyboard=yes
[2012-02-20 12:05:19 – SDK Manager] hw.webcam.count=6
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.depth=16
[2012-02-20 12:05:19 – SDK Manager] hw.gsmModem=yes
[2012-02-20 12:05:19 – SDK Manager] hw.ramSize=512
[2012-02-20 12:05:19 – SDK Manager] hw.sensors.magnetic_field=yes
[2012-02-20 12:05:19 – SDK Manager] hw.sdCard=yes
[2012-02-20 12:05:19 – SDK Manager] hw.mainKeys=yes
[2012-02-20 12:05:19 – SDK Manager] hw.accelerometer=yes
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.height=640
[2012-02-20 12:05:19 – SDK Manager] hw.audioOutput=yes
[2012-02-20 12:05:19 – SDK Manager] hw.trackBall=yes
[2012-02-20 12:05:19 – SDK Manager] hw.camera.maxVerticalPixels=480
[2012-02-20 12:05:19 – SDK Manager] hw.sensors.proximity=yes
[2012-02-20 12:05:19 – SDK Manager] hw.battery=yes
[2012-02-20 12:05:19 – SDK Manager] hw.sensors.orientation=yes
[2012-02-20 12:05:19 – SDK Manager] hw.audioInput=yes
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.backlight=yes
[2012-02-20 12:05:19 – SDK Manager] hw.gps=yes
[2012-02-20 12:05:19 – SDK Manager] disk.systemPartition.size=0
[2012-02-20 12:05:19 – SDK Manager] hw.lcd.width=320
[2012-02-20 12:05:19 – SDK Manager] vm.heapSize=48
[2012-02-20 12:13:47 – uiTestNew] ——————————
[2012-02-20 12:13:47 – uiTestNew] Android Launch!
[2012-02-20 12:13:47 – uiTestNew] adb is running normally.
[2012-02-20 12:13:47 – uiTestNew] Performing org.example.uitest.UiTestNewActivity activity launch
[2012-02-20 12:13:50 – uiTestNew] Automatic Target Mode: launching new emulator with compatible AVD ‘ActionSendFilter’
[2012-02-20 12:13:50 – uiTestNew] Launching a new emulator with Virtual Device ‘ActionSendFilter’
[2012-02-20 12:14:41 – Emulator] Failed to allocate memory: 1455
[2012-02-20 12:14:42 – Emulator]
[2012-02-20 12:14:42 – Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-02-20 12:14:42 – Emulator] Please contact the application’s support team for more information.

Reply
Ares!!! says June 27, 2012

Cool code! Exactly what I found. Thx.

Reply
Pankaj says December 7, 2012

Hello Sir/Madam,

Can you please help me out for below link question.I have got stuck & could not find solution for same.

Question : http://stackoverflow.com/questions/13245031/how-to-implement-cube-transition-effect-animation-on-viewpager-in-android

Reply
Add Your Reply