Save file in Windows Phone (pdf, csv) - windows-phone-7

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.

Related

2017 Xamarin Cross Plaform App Searching a filename

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.

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

Microsoft phone application attaching a image in email

Is it possible to attach a image file in windows mobile phone application developed in 7.5? i have searched many websites but can't find any solution . please help me if there is any.I have downloaded this code http://www.xdevsoftware.com/blog/post/File-Upload-in-Silverlight-3.aspx but ain't able to run. I faced a problem with silverlight convertion. They said i need to install some component which will match with them.
It's not possible.
The only solution is either send the email using some dedicated web service you can create, or encode the image into Base64 and add it directly to the body of the email.
Sadly nothing has changed in this matter in Windows Phone 8.
Another route you can take, which may not apply to your situation as you don't provide much detail on what your app does, is to use the Live SDK. If you integrate your app into Skydrive you can send images and video via proxy (a SkyDrive link).
This is how I've approached the issue in my app Video Journal.

Coverting VB.Net applications to services

I have a basic VB.Net application that gets data from some websites and then send them to a MS-SQL database automatically. I have developed it as a desktop application with a WinForm front end with logs writing to the WinForm continuously.
Now, is it possible to convert the Winform to a Windows services so that I do not need to keep it opening in front of my PC and watching the logs, instead, it runs quietly in the background and the data gets logged into the system log viewer?
Many thanks!
In Visual Studio choose File->New Project and in the Windows templates you'll see Windows Service. Choose that option and then start migrating your code. If you kept most to all of your non-UI code in a separate DLL it will be easy because then you can have your service reference that library.
The following MSDN link has step by step instructions on how to get started with Windows Services but the answer is it not possible to convert your application but you can create a new windows service and copy your code across. This should be quite trivial.
If you have a specific interval to run the project, then you can use windows schedular to have the executable invoked as per your requirement and interval. However, as answered earlier, to convert your project to win services, you need to create the windows services from scratch and what you can do is, keep your business logic classes seperate and have objects created from the component classes.

Automatic download/upload

We are going to develop a client-server application with web interface which will store office documents on server.
When we use browser as a client we need to perform these three steps to edit a document:
download document to the local machine;
open it in office program and edit;
upload document to the server.
It is very inconvenient. Sometimes it is hard to find where a document was downloaded to, when we need to upload it. Customers will also forget to upload document after editing.
Is there any way or technology to upload document automatically?
Or just any ideas how to make this process more convenient.
Thanks in advance!
I would, suggest, if applicable to store all documents as HTML then allowing editing in a web page powered by CKEditor or a similar tool.
If your documents must be in another format, like Office formats, you might start thinking at Office 365, or use ActiveX controls in your web application, something I believe should be deprecated but works in small (better restricted) enterprise environments.
These are just a couple of ideas.

Resources