[android-developers] Re: how to display a toast after 10 seconds from starting Asynctask

2012-08-02 Thread Vincent Senese
I think you can do this.

(CountDownTimer) cdt = new CountDownTimer(0, 1000) {

 public void onTick(long millisUntilFinished) {
   //  mTextField.setText("seconds remaining: " + millisUntilFinished / 
1000);
 }

 public void onFinish() {
 //mTextField.setText("done!");
 }
  }.start();

// at the end of your thread call 
cdt.stop(); //

On Tuesday, July 31, 2012 7:46:49 AM UTC-5, Narendra Singh Rathore wrote:
>
> Hi all, please suggest me how to execute something after 10 seconds from 
> the start of AsyncTask.
> I have used AsyncTask for different purpose. But, now I want to update my 
> UI after 10 seconds.
> Or to show a toast after specific time.
>
> I actually want to perform some other task after 10 seconds, while the 
> original task is running 
>
>
> please let me know how to do this.?
>
> Thank you all.
> NSR
>

-- 
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

[android-developers] Open Groupon app from a caller app.

2012-08-02 Thread Vincent Senese
I have written an app that opens up a Groupon URL via the web-browser.  is 
there anyway I could OPEN a groupon App if it is installed on the andoid 
os, and lanch the app to show the deal page.  

I do not know anyway to do this, or if it's possible but if someone can 
confirm this is not possible, or if it is possible point me in the correct 
location, I'd appreciate it.

-- 
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