How to save an image in Windows Phone 8.1 using WinJS
NickName:Naveen CS Ask DateTime:2014-05-15T22:46:54

How to save an image in Windows Phone 8.1 using WinJS

I am looking to migrate my Windows 8 app to Windows Phone 8.1 using WinJS. I had used picker.pickSaveFileAsync in Windows 8 which is not supported for WP 8.1.

I had then referred the official samples from http://code.msdn.microsoft.com/windowsapps/Simple-Imaging-Sample-a2dec2b0

The Javascript version in the sample does not save on Windows Phone 8.1 when the Save As button is clicked and it returns the below error when `getFileAsync is called:

0x80004005 - JavaScript runtime error: Unspecified error

When clicked on Save, it returns a Read Only error. I had tested the sample in Lumia 520 also. I get the same error in the phone.

Copyright Notice:Content Author:「Naveen CS」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/23681662/how-to-save-an-image-in-windows-phone-8-1-using-winjs

More about “How to save an image in Windows Phone 8.1 using WinJS” related questions

How to save an image in Windows Phone 8.1 using WinJS

I am looking to migrate my Windows 8 app to Windows Phone 8.1 using WinJS. I had used picker.pickSaveFileAsync in Windows 8 which is not supported for WP 8.1. I had then referred the official samp...

Show Detail

WinJS.UI.Flyout HTML on windows phone 8.1

I am trying to create a WinJS.UI.Flyout with a single input field and a single button to allow the user to enter a new value in the input field and click on the button to save it. However, on windows

Show Detail

windows phone8.1 support winjs/javascript as native already?

I'm wondering if the Windows Phone 8.1 SDK supports WinJS? I saw there are some news that windows phone 8.1 start to support WinJS If so, I will move to WinJS for WP and WinRT both. Your comment

Show Detail

Windows Phone 8.1 WinJS Keyboard Page Resize

I am currently writing an app using WinJS with Windows Phone 8.1. The issue I am encountering now, is that whenever a user taps on a login input box the keyboard appears and displaces the page. This

Show Detail

Does windows phone8.1 sdk support winjs/javascript as native

I used C# develop a WP8 app. I'm wondering if the Windows Phone 8.1 SDK supports WinJS? I saw there are some news that windows phone 8.1 start to support WinJS If so, I will move to WinJS for WP ...

Show Detail

How to scan QR Code in Windows Phone 8.1 using Phonegap/Cordova/WinJS/HTML/CSS/JS?

I am using ZXing.Net library to scan/read QR codes from camera in Windows Phone 8.1. I went through this sample: https://github.com/wildabeast/BarcodeScanner. But this is for Windows Phone 8.0

Show Detail

Is possible to call the GPS settings from a Windows Phone 8.1 App in WinJS?

I have an Windows Phone 8.1 App in WinJS that needs GPS. I´d like that if the GPS is turned off, the app redirect the user to the gps settings of the phone so he can easily turn it on. Is it possib...

Show Detail

is there a way to launch Bing Vision from windows phone 8.1 app using WinJS/WinRT

I am working on a windows phone 8.1 app using WinJS. I need to scan a QR Code and I am thinking of launching Bing Vision lens from my app. I checked the url association is not available for camera.

Show Detail

Poor Image Quality when capturing Photo on Windows Phone 8.1

I am using MediaCapture.capturePhotoToStorageFileAsync in WinJS to capture photos on a Windows Phone 8.1 device (Lumia 625). The quality of the resulting image is always rather poor and far behind ...

Show Detail

How to save contacts on windows phone using Windows 8.1 API

How do you save contacts to the system phone book not the in app phone book with the windows 8.1 run time API not the silver light 8.1 API?

Show Detail