Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PCL libraries and similar File.Exists functions

Im new in the new version of Mono 4.2 and they implement the new PCL libraries, My question is there is a similar function like File.Exists that works on PCL, and if I mix this libraries with the full ones, there will be a problem with the compatibility of this dll in iOs. Thank you.

like image 519
Nestor Avatar asked Jan 06 '14 00:01

Nestor


People also ask

What is PCL tool?

The Point Cloud Library (PCL) is a standalone, large scale, open project for 2D/3D image and point cloud processing.

What is PCL data?

The Point Cloud Library (PCL) is an open-source library of algorithms for point cloud processing tasks and 3D geometry processing, such as occur in three-dimensional computer vision.


2 Answers

You can use my PCL Storage library for cross-platform file IO access. It doesn't have a separate method to check for existence of a file, but you can call IFolder.GetFileAsync and check if it throws a FileNotFoundException.

like image 97
Daniel Plaisted Avatar answered Oct 13 '22 02:10

Daniel Plaisted


File System is handled differently on each operation system, so you are going to need to write platform specific code, or use pre-made cross-platform framework's plug-ins.

I suggest you to take a look at MVVMCross framework, for mobile development in general, and specifically at the File Plugin of MVVMCross.

like image 38
Liel Avatar answered Oct 13 '22 00:10

Liel