Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Talk:How to get and edit gallery images in Qt and WP

From Wiki
Jump to: navigation, search

Zoebali - Error while opening app

Hey Avnee,

Your app looks fantastic but while implementing it i am getting an error.The link attached here is the snapshot of the error when i click on "Select Button": https://www.dropbox.com/s/qdj5dxqx5jsoatr/Error.PNG

I am creating this app in Visual Studio 2012. Following link gives you the whole program created in Visual Studio 2012. https://www.dropbox.com/s/prxe5zjuioi4bhy/ImageProcessing.zip

zoebali 12:46, 21 March 2013 (EET)

Avnee.nathani - I checked your code

Hi Zoebali

I checked your code. You have not initialized the objects so you are getting the NullReferenceException.

They should be initialized

PhotoChooserTask photoChooser = new PhotoChooserTask();
BitmapImage image = new BitmapImage();
PhotoResult photoResult = new PhotoResult();
WriteableBitmap wb = new WriteableBitmap(512,512);

I suggest that you try my example without modifications initially. You can download it from here: http://www.developer.nokia.com/Community/Wiki/images/b/bd/ImageProcessing.zip?20120212190508

Avnee

avnee.nathani 16:23, 21 March 2013 (EET)

 

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×