Photo Upload Progress or Status

Topics: Developer Forum, User Forum
Aug 4, 2011 at 9:59 PM

in my WP7 application I m trying to upload a picture using the following function 

app.Flickr.UploadPictureAsync(stream, AppSettings.ImageFilename, imageName.Text, imageDesc.Text, imageTags.ToString(), true, true, true, ContentType.Photo, SafetyLevel.None, HiddenFromSearch.None, r =>
                {
                    Dispatcher.BeginInvoke(() =>
                    {
                        if (r.HasError)
                        {
                            MessageBox.Show(r.Error.Message);
                        }
                        else
                        {
                            UploadProgressBar.Visibility = System.Windows.Visibility.Collapsed;
                            MessageBox.Show("Uploaded Sucessfully");
                            NavigationService.Navigate(new Uri("/MainPage.xaml", UriKind.Relative));
                        }
                    });
                });

Is there anyway to know how much percentage of upload has been completed and also how to bind it with the progress bar. so that the user knows how much percentage of the upload request is completed

Coordinator
Aug 5, 2011 at 12:03 PM

There is currently no way to do this, although it is something that was there in the synchronous upload and I really should get around to adding back in for the asynchronous upload.

Sam