Hi all I want to call another activity when i longClick on a button.. my code is like this
icbook.setOnLongClickListener(new View.OnLongClickListener(){ @Override public boolean onLongClick(View v) { Intent intent = new Intent(TestAndroid.this,myPage.class); startActivity(intent); return true; } }); in logcat it shows starting activity ..but gives this error 04-10 18:32:26.338: WARN/ActivityManager(55): Launch timeout has expired, giving up wake lock! 04-10 18:32:26.395: WARN/ActivityManager(55): Activity idle timeout for HistoryRecord{43c09570 com.test/.myPage} whats wrong I am doing .. Thanks & Regards Vijay -- 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 To unsubscribe, reply using "remove me" as the subject.