×
Namespaces

Variants
Actions
Revision as of 02:27, 22 March 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

From Nokia Developer 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.

×