I have found a stupid but effective way . I really wanted to see a
particular lengthy error message  . and I found this
Idea...............

try{--------
-----
----
}

catch(Exception e) {
Toast t1,t2,t3,t4,t5;
           t1=Toast.makeText(this, i+e.toString(),Toast.LENGTH_LONG);
           t2=Toast.makeText(this, i+e.toString(),Toast.LENGTH_LONG);
           t3=Toast.makeText(this, i+e.toString(),Toast.LENGTH_LONG);
           t4=Toast.makeText(this, i+e.toString(),Toast.LENGTH_LONG);
           t5=Toast.makeText(this, i+e.toString(),Toast.LENGTH_LONG);
           t1.show();
           t2.show();
           t3.show();
           t4.show();
           t5.show();
}


I know it's very stupid but it works none the less.


On Jul 27, 2:14 pm, skink <psk...@gmail.com> wrote:
> > Any ideas to increase that duration?
>
> as Dianne said, use Dialog for that but if you really, really, really
> want Toast for that there is a dirty, tricky workaround (hack) of
> showing the same Toast in say two seconds after the first time Toast
> was shown.
>
> something like this:
>
> postDelayed(showToastAgainRunnable, 2000)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to