How to read shape files on Windows phone 8 - windows-phone-8

Is there any library to read and write shape files (*.shp) and dbf file from internal storage or isolated storage in windows phone 8 SDK?

There are no ESRI SHP file readers that are included in the standard toolkit for Windows Phone. You can write your own reader, search for a library that will work with WP, or someone else may have an idea of how to do this.
From here:
http://social.msdn.microsoft.com/forums/wpapps/en-US/7d2eb822-b871-4c02-9cf2-3bf5b0d1add2/windows-phone-8-it-is-somehow-possible-to-read-a-shape-file-and-display-on-windows-phone-8-map
Looks like Syncfusion can:
http://www.syncfusion.com/products/windows-phone/maps

Related

Unable to open json file as it exceeds the 5 MB limit for the JSON editor

For my Windows 8.1 universal app, my source data stored in JSon file exceeds the 5MB limit for the JSON editor and therefore my app fails to initialize. Now I cannot run both my Windows phone 8.1 and Windows 8.1 app. Also, now when I open my JSON file for editing, the VS 2013 JSON editor does not allow me to add more data to it. Anyone encountered this issue before? Any idea on how to increase the 5MB limit, or split the file into multiple files, and yet let the application use it as one big JSon file?
Added the feedback about this issue to Microsoft Connect feedback portal: https://connect.microsoft.com/VisualStudio/feedbackdetail/view/1465015/unable-to-open-json-file-as-it-exceeds-the-5-mb-limit-for-the-json-edito.
Looks like this is an VS issue. VS does have a 5MB limit on Json file size. See the related thread: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/c3ecf2b2-ab00-4983-8c81-cd33e35ee4c2/unable-to-open-json-file-as-it-exceeds-the-5-mb-limit-for-the-json-editor?forum=visualstudiogeneral

Windows Phone 8.1 audio format conversion

How can we convert audio in WP 8.1 from one format to another in a Memory Stream?
Ex. convert MP3 file to WAV (PCM).
I checked the following:
NAudio is not yet supported on WP 8.1.
The Media Foundation just supports a subset of APIs, and cannot be used for converting from one format to another.
Appreciate your help.
Did you try out the MediaTranscoder class for the conversion?
Reference: Compress wav file to wma on Windows Phone 8

Convert sketchup (*.skp) file to STL or OBJ

I'm looking for the solutions to Convert sketchup (*.skp) file to STL or OBJ.
Is there a commandline tool to convert sketchup (*.skp) file to STL or OBJ? I'm looking for the tool supporting both windows and mac.
or
How to convert sketchup (*.skp) file to STL or OBJ in javascript?
Any clue or comment is appreciated.
Thanks,
Jeffrey
AFAIK there is no command line tool to do it. Much less a Javascript tool.
SketchUp itself does have the capability, so you can create a Ruby plugin to do the export when SketchUp is opened. So you can have a .bat file or whatever the Mac equivalent is, and let it run SketchUp with your plugin.
Or you can roll your own conversion tool using the SketchUp SDK. http://www.sketchup.com/intl/en/developer/su-api/ The SDK does not need the SketchUp installed, but on the other hand it does not have any built-in .OBJ export support, so you would need to implement the exporter yourself, only using the SDK for reading the SKP file. This might be quite involved.
SketchUp has an open source STL plugin which is accessible from the Extension Warehouse:
http://extensions.sketchup.com/en/content/sketchup-stl
The STL works for SketchUp Make (which is Free) and SketchUp Pro ($590). SketchUp Pro also includes a number of other export file formats, such as OBJ, 3DS, DAE, FBX, etc....
I know its not programatically, but last version of Sketchup has the option directly to export to OBJ file.
File Menu -> export -> 3D Model -> Then select from the dropdown of extensions the OBJ.

Accessing files from Windows Store App

I'm working in Windows 8 Operating System building Windows Store apps.
I'm trying to access one XML file(present within the solution) via the code below.
var file = System.Xml.Linq.XDocument.Load(#"E:\Gowtham\Data.xml");
But I'm getting "Access to the path 'E:\Gowtham\Data.xml' is denied.'" exception.
I tried all possible ways to remove the read-only attribute of the folder and the file but no use.
I used command prompt to change the attributes of the file, also I tried manually but the read-only attribute of that folder is not changed.
Kind help pls.
You can't get ANY file like that way. I highly recommend you to read these links. You can access files from library if you have declared library access capability.
File system places accessible through WinRT API
Windows 8: The right way to Read & Write Files in WinRT

Is it possible to save pdf file in media library in Windows phone8

Is it possible to save a PDF file to the media library in Windows Phone 8? If it is, how do I do that?
Media Library allows you to save Images. That's it. No PDFs and nothing else