With My Cloud Home SDK, you can develop two kinds of applications: On-Device and Off-Device. These applications can interact with user’s content to create, access, modify, store, and sync content on the My Cloud Home device.
Off-Device applications access user's content using the My Cloud Home REST APIs. You can develop your apps using any cloud or application architecture. These apps can run in the cloud, on mobile, or on a desktop application and can access the My Cloud Home device over the network like any other cloud service. You need to be aware that access to the content is over the network and will have associated latencies.
Refer to the Off-Device Applications page for more information on building off-device apps.
When should you develop an off-device application?
You should develop an off-device application in the following scenarios:
- Your familiarity with cloud or other application technologies enables you to develop applications faster.
- You want better control over providing new updates.
- You have an existing cloud, mobile or desktop app and you want to integrate My Cloud Home access into your application.
On-Device applications refer to the android apps that run on the My Cloud Home device. You can build on-device apps in Java or native languages using NDK. Since the My Cloud Home device is display-less, your applications cannot use the standard Android UI elements. However, you can use most Android APIs and libraries directly in your applications.
You can use the My Cloud Home Device SDK to develop your apps and install them on the My Cloud Home device. Users can access these apps through the App catalog of the Services menu in the My Cloud Home mobile app or MyCloud.com web app. Users can configure, enable, or disable these services as required.
Refer to the On-Device Applications page for more information on building device apps.
When should you develop an on-device application?
You should develop an on-device application in the following scenarios:
- The application needs direct and fast access to user's content. Since a device application installs and runs on the My Cloud Home device, it can access user's content directly without having to transfer data over the network.
- You want to minimize infrastructure set up and expenses. On-device applications do not need a cloud infrastructure.
- The application has to be distributed through the App Catalog.
- The application needs to run on user's home network.