Handling animated gif files

The Featured Discussion Board Post this week is GifRenderer ArgumentException: Value does not fall within the expected range started by Mr Wolf PST.

Mr Wolf PST is trying to generate and share an animated GIF, using a list of PNG images stored in the local storage of a Windows Phone 8.0 app. He is getting an exception: GifRenderer ArgumentException: Value does not fall within the expected range.

A lengthy discussion follows between him and Nokia Developer Champion Oliver Ulm. Mr Wolf PST realizes that Nuget had linked the WinRT version of the library to his project. But the second part of the problem remained: Mr Wolf PST wanted to save these files in the MediaLibrary, which is possible in Windows Phone 8.1. Oliver suggests a workaround where he could save one frame to the library while saving the GIF to local storage (IsolatedStorage). When the user opens the image through the Rich Media Extensibility, it would open a page that contains the WebView, which links to the local image. This is an acceptable solution for Mr Wolf PST.

We decided to feature this discussion because it affirms how a good discussion leads to a good workable solution within the given boundaries.

Keep those interesting questions coming!

 

Advertisements

Link to Nokia X App (Featured Discussion)

The Featured Discussion Board Post this week is Link to Nokia X app started by Wall-E.  This discussion was posted on Stack Overflow, which is the official support forum for Nokia X related queries.

Wall-E is porting their Android app to Nokia X and would like to link to the apps that they have in the store.  They were not able to find guidance on how to do this. Wall-E is looking for an equivalent of amzn://apps/android, which works for the Amazon store.

Tasomaniac confirms that such deep linking to the store is provided on the Nokia X platform, and provides him additional resources on the Nokia Developer Wiki. Tasomaniac also cautions that the solution might not work on the Emulator but it certainly would work on a real device.

Note that if one does not possess a device to test features that do not work on emulators, one could always test them on using Remote Device access: a service that allows developers to test their mobile applications and services remotely on various Nokia devices including Windows Phone, Nokia X, Asha, Series 40 and more.

Keep those interesting questions coming!

See About Featured Discussion Board Posts for more information.