2017 Xamarin Cross Plaform App Searching a filename - xamarin

How to write a program in 2017 Xamarin Cross Plaformthat can search specific file (ex: mysqldb.db3) and return the path.
Thank you.

"Cross Plaform" means code that runs on multiple systems with multiple differed idioms on how to access persistent data so you generally don't have an easy solution to "find file". You ether need to write platform-specific code that will retrieve this data or use some tooling like PCLStorage to save and retrieve data.
Update 1:
For android you can read what is internal storage to understand how you can and can not access it. And Xamarin tutorial on how to do it in xamarin.

Related

Datalogic Falcon x3 development

I have been trying to begin development for a 'Datalogic Falcon x3+' device, and have had no luck so far even getting started.
The device currently has Windows 2006 C.E installed, and it has the most up-to-date firmware possible.
After doing research I found very little information on this device - specifically to develop for it, and all I have found is from the official website some old documentation and the SDK, which requires Visual Studio 2008. I could only find Visual Studio 2008 Express, and had no luck using the SDK.
I found a few posts relating to this device on SO, however there were no details pertaining to my line of questioning.
Does anybody know how to develop for this device? Is there perhaps any other IDE's I could use, or does anyone know how to perhaps make a simple application without use of the SDK?
You don't state clearly what kind of "development" you want to do. But a scanner is really just a replacement for a keyboard. That is, it scans a barcode and decodes it into a text string, then delivers the string <somewhere>. That text string could just as well have been hand entered by someone using a keyboard; the scanner just does it much more quickly and accurately.
So one solution, given in another stackoverflow topic, is to create a simple web form with a single input field to receive scanned data, then process the data on the back end (web server) with a PHP program, or any other CGI program of your choice.

How to read from an EDB database file

Microsoft Edge and other Microsoft products use an Extensible Storage Engine. If you have edge installed on windows, you can find the database file here:
C:\Users\username\AppData\Local\Packages\Microsoft.MicrosoftEdge_xxxxxxx\AC
\MicrosoftEdge\User\Default\DataStore\Data\nouser1\xxxxxxxx\DBStore\spartan.edb
I would like to read this database from my .NET app.
The only tool I have seen for viewing this data appears to be deprecated:
http://www.woanware.co.uk/forensics/esedbviewer.html
I can't seem to find any relevant nuget packages for querying this type of database. Does anyone have experience working with this type of database?
The database engine is esent.dll, and you can access it in several different ways:
C API. https://msdn.microsoft.com/en-us/library/gg269259(v=exchg.10).aspx
C#. https://github.com/microsoft/managedesent
Simplified C# (Isam layer). Easier to use, but not everything is exposed. https://github.com/Microsoft/ManagedEsent/tree/master/isam
(Disclosure: I've worked on the above products.)
That being said, if you just modify a random database, you can impact the host process's integrity, and it might end up crashing.
If you're a law-enforcement agent and it's for forensic purposes, Microsoft should be able to assist you (I haven't done it myself, but I've heard that they'll do it).
-martin

How to debug shared xamarin project for sql lite operation?

We have common project which has written by c# and we are supporting both technology (IOS, Android). Now we are going to support offline manner in both as well. We want to debug the common project with the use of fetching data from sql lite, because i need some of the information from local storage during offline support. However I want to know is there any other way to debug the application in locally without adding any SDK project.
Edit : I do not want any Android/iOS sdk in my system to debug the shared Xamarin project. And I have to implement sqlite related offline features for Android/iOS app team.
#Daniel thanks for your quick response.
We got the another solution like saving the sqlite file in external or internal storage of the device and we can able to see the tables, records through third party s/w sqlite browser. Thanks

Save file in Windows Phone (pdf, csv)

I'm trying to find way to save files (pdf or csv) presented in application.
I want those files be available from outside the app.
From what I know it is impossible to save file to sdcard, only in isolated storage.
There is nothing like file manager in Windows Phone, right?
Maybe there is possibility to save file to some cloud from app?
Saving outside of your app doesn't appear to be coming until WP8.1.
In WP8 we do have a few alternatives.
Save the PDF locally and launch the associated app for viewing as per this SO answer.
Use a cloud service for saving the file. The easiest way I've come across is integrating with the CloudSix app for Dropbox. The details on how to integrate the nuget package are here. It's fairly simple if you just need fire-and-forget saving.

What is the best way to migrate online application to offline

I have a certain online application that generates reports(and prints them) based on some repository of information. Now I would like to make an offline application which is provides the same experience and in which the repository is pre-loaded into the users' computer. What is the best way to convert this online app to offline app. The first thing that came to my mind was setup a local server and database. This ensures the experience is consistent. But I'm open to other options, such as storing the data in a file system and then loading it via flash/flex based apps or C# or Java. The objective of this offline app is to provide the functionality(report generation) to users where internet is not feasible.
I am not sure about the windows aspect of your question, but if I was doing an offline web based page(s) I would be looking at a LocalStorage database (though it does have some downsides), but there are other alternatives such as WebSQL and IndexedDB.
If you have reports, do they still have value when they are out of date? Do you need to store the configuration of those reports or is it all just read only?
Shameless self promotion, I have a project that is designed to handle database synchronization, though it's not done, it's close. You can see it (with an ugly but very functional) demo at https://github.com/forbesmyester/SyncIt

Resources