Re: [android-developers] cancel button

2011-09-09 Thread TreKing
On Thu, Sep 8, 2011 at 10:17 PM, bob b...@coolgroups.com wrote: Is there any easy way to add a cancel button to this? Yes. Keep looking at Builder and what functions you have available. - TreKing

[android-developers] cancel button

2011-09-08 Thread bob
Is there any easy way to add a cancel button to this? AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle(t); builder.setMessage(m); builder.setCancelable(true); builder.setPositiveButton(Facebook, new OnClickListener() {

[android-developers] cancel button

2011-09-08 Thread Chris
Bob, my friends -- 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

[android-developers] Cancel button on a status bar Notification.

2010-12-06 Thread edrowland
The application: long running file copy. I'd like an explicit cancel button on the ongoing notification that displays progress for the copy. The problem: I have a remote view. I've put a button on it. I get the contentIntent fires; but notification.contentview.setOnClickPendingIntent never

Re: [android-developers] Cancel button on a status bar Notification.

2010-12-06 Thread TreKing
On Thu, Dec 2, 2010 at 1:38 AM, edrowland rerdav...@gmail.com wrote: Am I missing something obvious? I don't know, but why not just dump the Ignore part and just use the clicking the notification as a cancel request?