Backing up Isolated storage - windows-phone-7

Some of my users have asked to have their data backed up (off the phone). I'm using Isolated storage to store their data. I'm wondering if there is a way that I can somehow get that information package it up and send it to a off phone location.
Is there a way to do this? What is the best way to accomplish this?

I don't know if skydrive will handle backing up the type of data you have but there is an API now.
http://msdn.microsoft.com/en-us/windowslive/default.aspx
Examples on GitHub:
https://github.com/liveservices/LiveSDK
Someone posted a question on how to backup a SQLCE database to skydrive and there didn't seem to be an API to backup random things only specific things like Pictures or Music. I'm sure something for that could be figured out by storing some data from a browser and watching the traffic in Fiddler.
edit: side note, theres an AWS beta API for WP7 now.

If you don't know what the data is, you can search for it like this:
Find Existing Files and Directories in Isolated Storage
Then you can use SkyDrive to save users data onto it.
You can use the Live SDK.

Related

Is it possible to use Parse SDK and store database on my own server?

I want to store my app's databases on my own server.
Right now, I'm storing it on parse.com server.
Is there any way to move the databases to my own server and still get access to it using parse.com SDK?
No.
You could build something similar, but the Parse SDK allows for local device storage or storage within the Parse.com cloud only.
No Parse SDK will not allow that. For one obvious example, you cannot configure location for PFFile to be stored. You may consider opting for storing references to URLs rather than PFFiles in your Parse objects. However, I think there's still some issue with Parse SDK not allowing you to download multiple resources with a single method call.

User profile picture organization on Google App Engine

I am very new to storing pictures on a web server. Currently I am using Google App Engine's Cloud SQL for my database to house all of my user's information (username, password, etc). I was reading about how most people DON'T store pictures in a database.
I was looking at Cloud Storage or Cloud Datastore. I think the route people are taking is to use the Cloud Storage. If that is the case I need help with organizing the storage of the profile pics (user defined) for saving, retrieval, modification and deletion.
My thoughts are:
To save a profile pic: Save the .jpg to //profile pic/profile_pic.jpg on the Cloud Storage
I would have /1/profile pics/profile_pic.jpg, /2/profile pics/profile_pic.jpg, /3/profile pic/profile_pic.jpg where the would correspond with the primary key in the database.
Am I on the right track? Is there a standard way to do this that I don't know of?
Any help will be greatly appreciated!!!!
There are two different approaches. You described one of them, and it's perfectly fine.
The alternative solution is to save an image in a bucket and remember its key in a database.
The best solution by far is to use the Blobstore to save your images and store only the key of your image (and possibly url) in your cloud sql database. If you need sample code, let me know.

create google drive upload ability

I create a little web system, written on PHP. Now we want to allow our clients to access out little system. On each job, they must upload one or more files (100-200 mb max size per file). Till now, i upload them via PHP component to server, but we have a lot of trouble with our ISP, and i decide to use free Google drive account. So, i read tutorials, but i can not understand clearly:
Is there a way to upload file from client browser directly to Google drive, without upload to our server first? As far as I see, i can use php library to operate with my Google drive and upload files, but - unfortunately - files must be on out server first, which is my big problem.
Big thanks in advance for every one which can help us.
Direct upload from javascript to Drive is very easy. Check out the Drive Picker at https://developers.google.com/picker/docs/ which does everything for you.

Windows Phone7 Share data among applications

I searched everywhere and wondering whether any posible way available for share data among applications within the mobile phone itself. What I basically meant by that is, if there any way that can create a file from one application and allow other applications to access that file.
The problem is, If we save the file in application's isolated storage, then any other application won't be able to access it.
For example a scenario like this. One application produce a file and store it in a public location within the phone and later using the email client application need that file to be sent as an attachment.
Really appreciate any guidance/ help over this task. Thanks in Advance...!!!
Unfortunately, there's currently no way to share data between applications on Windows Phone. For this, you'll have to rely on an external server. Depending on what your apps are doing, you may want to consider using skydrive or dropbox integration to share the files.

How to share files created by an app?

How do I share files (music, video, image) create by my app? I am interested in sharing audio file specifically.
Imagine I have a program that generates wav file.
How do I take it from isolated storage?
Is it possible to sent an attachment with e-mail?
Save it on SkyDrive?
Share on Facebook?
Put it to media library?
At least in some convenient for a user way to take it out from WP7 device?
Any help regarding this topic would be welcome
You cannot directly send it as an attachment through the EmailComposerTask, however you can use your own implementation of an email sending mechanism.
You can save it to SkyDrive, but then again you have to use a custom API layer (developed by you or by a third-party) to achieve this.
A better choice in my opinion would be having a WCF service that will transmit the byte array of the generated content to a specific location - this will ultimately give you more control over the transmission layer.
You can save images to the MediaLibrary - from where you can access it via the Zune Software and transfer to PC, etc.
This can be done with the MediaLibrary.SavePicture method. (Yes, this is an XNA method but it can be used from within a Silverlight application also.)
The other alternative is to upload it to a webserver and send it from there.
There is currently no way to save songs or movies.
How to upload a file to a webserver very much depends on: the server; the software it is running; and any security concerns realting to the content.
There is the start of a discussion on this at Uploading XML files from WP7, possible, how to etc?

Resources