public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        ImageView img = (ImageView)findViewById(R.id.gps_ani);
        img.setBackgroundResource(R.anim.ani);
        
        img.setOnTouchListener(new OnTouchListener(){
         
         public boolean onTouch(View v, MotionEvent event) {
    // TODO Auto-generated method stub
                  
          Intent i= new Intent();
          i.setClass(stalker.this, choice.class);
          i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 
          startActivity(i);
          
           overridePendingTransition(0,0);
           //finish();
           
           
          return false;
   }});
        
    }
    
    
    @Override
    public void onWindowFocusChanged(boolean hasFocus) {
        super.onWindowFocusChanged(hasFocus);
        
        ImageView img = (ImageView)findViewById(R.id.gps_ani);
        
        AnimationDrawable frameAnimation = (AnimationDrawable) img.getBackground();
        frameAnimation.start();
    }
}

애니메이션을 보여주는 액티브를 실행후.. 다른액티브를 호출할려고 intent 를 사용했습니다..

하지만.. 호출안되고 오류가 뜨네요....

두번째 액트브 역시 애니메이션이 들어가있는 액티브입니다..

아무리 고민해봐도 답이 안나오네요.. 혹시나 이미지 버튼 만들어서 해봐도.. 같은현상..

아래는 에러부분입니다.. 제발 도와주세요 ㅜ_ㅜ

05-25 16:46:40.464: ERROR/gralloc(60): [unregister] handle 0x128f48 still locked (state=40000001)
05-25 16:49:14.404: ERROR/AndroidRuntime(1259): ERROR: thread attach failed
05-25 16:49:31.754: ERROR/gralloc(60): [unregister] handle 0x14d038 still locked (state=40000001)
05-25 16:53:43.864: ERROR/AndroidRuntime(1343): ERROR: thread attach failed
05-25 16:53:48.784: ERROR/AndroidRuntime(1404): ERROR: thread attach failed
05-25 16:53:52.173: ERROR/gralloc(60): [unregister] handle 0x3bc818 still locked (state=40000001)
05-25 16:54:05.043: ERROR/gralloc(60): [unregister] handle 0x3c9f08 still locked (state=40000001)
05-25 16:56:53.865: ERROR/AndroidRuntime(1451): ERROR: thread attach failed
05-25 16:56:58.994: ERROR/AndroidRuntime(1514): ERROR: thread attach failed
05-25 16:57:13.764: ERROR/dalvikvm-heap(1529): 303600-byte external allocation too large for this process.
05-25 16:57:13.764: ERROR/(1529): VM won't let us allocate 303600 bytes
05-25 17:11:06.285: ERROR/AndroidRuntime(1869): ERROR: thread attach failed
05-25 17:11:12.133: ERROR/AndroidRuntime(1888): ERROR: thread attach failed
05-25 17:11:15.784: ERROR/gralloc(60): [unregister] handle 0x454550 still locked (state=40000001)
05-25 17:13:01.344: ERROR/AndroidRuntime(1951): ERROR: thread attach failed
05-25 17:13:05.394: ERROR/AndroidRuntime(1968): ERROR: thread attach failed
05-25 17:13:09.274: ERROR/gralloc(60): [unregister] handle 0x454a88 still locked (state=40000001)
05-25 17:14:56.614: ERROR/AndroidRuntime(2023): ERROR: thread attach failed
05-25 17:15:01.474: ERROR/AndroidRuntime(2042): ERROR: thread attach failed
05-25 17:15:06.044: ERROR/gralloc(60): [unregister] handle 0x479c58 still locked (state=40000001)
05-25 17:15:55.433: ERROR/AndroidRuntime(2075): ERROR: thread attach failed
05-25 17:16:00.133: ERROR/AndroidRuntime(2094): ERROR: thread attach failed
05-25 17:18:36.454: ERROR/AndroidRuntime(2169): ERROR: thread attach failed
05-25 17:18:41.833: ERROR/AndroidRuntime(2188): ERROR: thread attach failed
05-25 17:18:46.893: ERROR/gralloc(60): [unregister] handle 0x136948 still locked (state=40000001)
05-25 17:18:55.984: ERROR/gralloc(60): [unregister] handle 0x3bed68 still locked (state=40000001)
05-25 17:20:49.894: ERROR/AndroidRuntime(2241): ERROR: thread attach failed
05-25 17:20:54.673: ERROR/AndroidRuntime(2270): ERROR: thread attach failed
05-25 17:21:09.374: ERROR/gralloc(60): [unregister] handle 0x460788 still locked (state=40000001)
05-25 17:23:30.343: ERROR/AndroidRuntime(2315): ERROR: thread attach failed
05-25 17:23:37.164: ERROR/AndroidRuntime(2362): ERROR: thread attach failed
05-25 17:26:21.274: ERROR/AndroidRuntime(2439): ERROR: thread attach failed
05-25 17:26:27.354: ERROR/AndroidRuntime(2456): ERROR: thread attach failed
05-25 17:26:31.354: ERROR/gralloc(60): [unregister] handle 0x3d6308 still locked (state=40000001)
05-25 17:26:41.853: ERROR/gralloc(60): [unregister] handle 0x385bb0 still locked (state=40000001)
05-25 17:28:13.574: ERROR/AndroidRuntime(2509): ERROR: thread attach failed
05-25 17:28:18.584: ERROR/AndroidRuntime(2526): ERROR: thread attach failed
05-25 17:28:32.337: ERROR/gralloc(60): [unregister] handle 0x3bd658 still locked (state=40000001)
05-25 17:29:15.335: ERROR/AndroidRuntime(2561): ERROR: thread attach failed
05-25 17:29:22.923: ERROR/AndroidRuntime(2578): ERROR: thread attach failed
05-25 17:29:27.633: ERROR/gralloc(60): [unregister] handle 0x45fea8 still locked (state=40000001)
05-25 17:32:51.254: ERROR/AndroidRuntime(2671): ERROR: thread attach failed
05-25 17:32:57.944: ERROR/AndroidRuntime(2690): ERROR: thread attach failed
05-25 17:33:03.164: ERROR/gralloc(60): [unregister] handle 0x47de80 still locked (state=40000001)
05-25 17:33:13.273: ERROR/gralloc(60): [unregister] handle 0x544eb0 still locked (state=40000001)
05-25 17:36:46.153: ERROR/AndroidRuntime(2792): ERROR: thread attach failed
05-25 17:36:53.259: ERROR/AndroidRuntime(2809): ERROR: thread attach failed
05-25 17:36:58.973: ERROR/gralloc(60): [unregister] handle 0x563d80 still locked (state=40000001)
05-25 17:37:10.034: ERROR/gralloc(60): [unregister] handle 0x495980 still locked (state=40000001)
05-25 17:38:01.954: ERROR/AndroidRuntime(2848): ERROR: thread attach failed
05-25 17:38:07.674: ERROR/AndroidRuntime(2865): ERROR: thread attach failed
05-25 17:38:12.443: ERROR/gralloc(60): [unregister] handle 0x4e9548 still locked (state=40000001)
05-25 17:38:21.743: ERROR/gralloc(60): [unregister] handle 0x56c158 still locked (state=40000001)
05-25 17:41:54.325: ERROR/AndroidRuntime(2967): ERROR: thread attach failed
05-25 17:41:59.983: ERROR/AndroidRuntime(2984): ERROR: thread attach failed
05-25 17:51:19.623: ERROR/AndroidRuntime(3173): ERROR: thread attach failed
05-25 17:51:25.735: ERROR/AndroidRuntime(3236): ERROR: thread attach failed
05-25 17:51:30.583: ERROR/gralloc(60): [unregister] handle 0x470810 still locked (state=40000001)
05-25 17:51:40.334: ERROR/gralloc(60): [unregister] handle 0x527718 still locked (state=40000001)
05-25 17:51:58.933: ERROR/AndroidRuntime(3264): ERROR: thread attach failed
05-25 17:52:04.084: ERROR/gralloc(60): [unregister] handle 0x544c90 still locked (state=40000001)
05-25 17:52:12.863: ERROR/gralloc(60): [unregister] handle 0x528760 still locked (state=40000001)
05-25 17:54:12.894: ERROR/AndroidRuntime(3329): ERROR: thread attach failed
05-25 17:54:22.893: ERROR/AndroidRuntime(3346): ERROR: thread attach failed
05-25 17:54:28.384: ERROR/gralloc(60): [unregister] handle 0x569270 still locked (state=40000001)
05-25 17:54:31.103: ERROR/gralloc(60): [unregister] handle 0x3cb898 still locked (state=40000001)
05-25 17:54:55.664: ERROR/AndroidRuntime(3375): ERROR: thread attach failed
05-25 17:55:03.864: ERROR/AndroidRuntime(3390): ERROR: thread attach failed
05-25 17:55:08.373: ERROR/gralloc(60): [unregister] handle 0x44fbe8 still locked (state=40000001)
05-25 17:57:28.513: ERROR/AndroidRuntime(3464): ERROR: thread attach failed
05-25 17:57:37.844: ERROR/AndroidRuntime(3477): ERROR: thread attach failed
05-25 17:57:42.733: ERROR/gralloc(60): [unregister] handle 0x3dc178 still locked (state=40000001)
05-25 17:58:24.423: ERROR/AndroidRuntime(3510): ERROR: thread attach failed
05-25 17:58:32.755: ERROR/AndroidRuntime(3523): ERROR: thread attach failed
05-25 17:58:39.044: ERROR/gralloc(60): [unregister] handle 0x45f4b0 still locked (state=40000001)
05-25 18:05:32.553: ERROR/AndroidRuntime(3705): ERROR: thread attach failed
05-25 18:05:41.134: ERROR/AndroidRuntime(3719): ERROR: thread attach failed
05-25 18:05:45.983: ERROR/gralloc(60): [unregister] handle 0x461718 still locked (state=40000001)
05-25 18:05:47.644: ERROR/gralloc(60): [unregister] handle 0x5693e0 still locked (state=40000001)
05-25 18:06:22.244: ERROR/AndroidRuntime(3753): ERROR: thread attach failed
05-25 18:06:28.343: ERROR/AndroidRuntime(3766): ERROR: thread attach failed
05-25 18:06:33.023: ERROR/gralloc(60): [unregister] handle 0x460800 still locked (state=40000001)
05-25 18:06:34.924: ERROR/gralloc(60): [unregister] handle 0x4e3158 still locked (state=40000001)
05-25 18:07:49.754: ERROR/AndroidRuntime(3814): ERROR: thread attach failed
05-25 18:07:56.663: ERROR/AndroidRuntime(3829): ERROR: thread attach failed
05-25 18:08:03.314: ERROR/gralloc(60): [unregister] handle 0x454550 still locked (state=40000001)
05-25 18:08:05.144: ERROR/gralloc(60): [unregister] handle 0x4d6628 still locked (state=40000001)
05-25 18:08:56.796: ERROR/AndroidRuntime(3867): ERROR: thread attach failed
05-25 18:09:02.526: ERROR/AndroidRuntime(3880): ERROR: thread attach failed
05-25 18:09:06.823: ERROR/gralloc(60): [unregister] handle 0x529f50 still locked (state=40000001)
05-25 18:09:08.523: ERROR/gralloc(60): [unregister] handle 0x11eb98 still locked (state=40000001)
05-25 18:10:04.063: ERROR/AndroidRuntime(3920): ERROR: thread attach failed
05-25 18:10:09.493: ERROR/AndroidRuntime(3933): ERROR: thread attach failed
05-25 18:10:15.413: ERROR/gralloc(60): [unregister] handle 0x4ccfb0 still locked (state=40000001)
05-25 18:10:17.263: ERROR/gralloc(60): [unregister] handle 0x4c45a0 still locked (state=40000001)
05-25 18:21:48.173: ERROR/AndroidRuntime(4228): ERROR: thread attach failed
05-25 18:21:53.714: ERROR/AndroidRuntime(4241): ERROR: thread attach failed
05-25 18:21:59.104: ERROR/gralloc(60): [unregister] handle 0x4dc5d8 still locked (state=40000001)
05-25 18:22:00.903: ERROR/gralloc(60): [unregister] handle 0x4e9498 still locked (state=40000001)
05-25 18:24:29.023: ERROR/AndroidRuntime(4316): ERROR: thread attach failed
05-25 18:24:34.963: ERROR/AndroidRuntime(4329): ERROR: thread attach failed
05-25 18:24:40.604: ERROR/gralloc(60): [unregister] handle 0x546168 still locked (state=40000001)
05-25 18:24:42.733: ERROR/gralloc(60): [unregister] handle 0x37b158 still locked (state=40000001)
05-25 18:26:26.404: ERROR/AndroidRuntime(4389): ERROR: thread attach failed
05-25 18:26:31.833: ERROR/AndroidRuntime(4404): ERROR: thread attach failed
05-25 18:26:38.524: ERROR/gralloc(60): [unregister] handle 0x3ecc90 still locked (state=40000001)
05-25 18:26:51.824: ERROR/AndroidRuntime(4427): ERROR: thread attach failed
05-25 18:26:56.843: ERROR/gralloc(60): [unregister] handle 0x3d6e50 still locked (state=40000001)
05-25 18:26:58.583: ERROR/gralloc(60): [unregister] handle 0x4e2d38 still locked (state=40000001)
05-25 18:31:45.374: ERROR/gralloc(60): [unregister] handle 0x3c5f98 still locked (state=40000001)
05-25 18:45:17.626: ERROR/AndroidRuntime(4871): ERROR: thread attach failed
05-25 18:45:25.414: ERROR/AndroidRuntime(4898): ERROR: thread attach failed
05-25 18:45:30.033: ERROR/gralloc(60): [unregister] handle 0x3c5f98 still locked (state=40000001)
05-25 18:45:44.293: ERROR/gralloc(60): [unregister] handle 0x503888 still locked (state=40000001)
05-25 18:50:44.156: ERROR/AndroidRuntime(5056): ERROR: thread attach failed
05-25 18:50:59.524: ERROR/gralloc(60): [unregister] handle 0x470668 still locked (state=40000001)
05-25 18:57:25.413: ERROR/AndroidRuntime(5230): ERROR: thread attach failed
05-25 18:57:30.493: ERROR/AndroidRuntime(5249): ERROR: thread attach failed
05-25 18:57:34.814: ERROR/gralloc(60): [unregister] handle 0x3c5f98 still locked (state=40000001)
05-25 18:57:43.985: ERROR/gralloc(60): [unregister] handle 0x136948 still locked (state=40000001)
05-25 19:00:46.834: ERROR/AndroidRuntime(5338): ERROR: thread attach failed
05-25 19:00:54.623: ERROR/AndroidRuntime(5355): ERROR: thread attach failed