XAMARIN VS. CLOUD STORAGE

Giorgio Sfiligoi 146 Reputation points
2022-02-08T10:40:19.76+00:00

I created an application named "MyMoney" that runs on desktop PC. Now I would like to create a companion app for cellular phone, that I plan to develop with Xamarin.
Of course the two apps should share the database. For this purpose, I had in mind to use OneDrive. I installed it in my cellphone (android), providing my account credentials, and I can see a folder named "OneDrive"; my experience with that folder is very similar to a regular folder in a PC, for instance I can navigate through the subfolders, etc. So I think there is a folder with that name somewhere in the cellular phone - but I cannot figure out how to access it programmatically.

On the other hand, in the Xamarin documentation there is no reference to access to OneDrive, whereas the article "Store and Access Data in Azure Storage" shows methods that take advantage of this Azure service. Should I infer that Microsoft dropped OneDrive?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,810 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sreeju Nair 12,176 Reputation points
    2022-02-08T12:14:01.823+00:00

    When you access data in Azure Storage, you are using APIs to connect to the data. You can use Azure Storage or Azure SQL Database and both your web application and mobile application access the common database. Refer the following URL for more details

    https://learn.microsoft.com/en-gb/xamarin/xamarin-forms/data-cloud/web-services/rest?WT.mc_id=friends-0000-jamont

    For one drive, that is another app in the device, you will not be able to access it, imagine if it is possible, any app can access another app's data in a device, that will lead to security issues.

    0 comments No comments