The following is a list of the most popular questions. Please find answer for your questions in the following list, otherwise you can explore our discussion site where you can search for other questions or post new ones.
cloud4apps services are RESTful web services that expose data as JSON or JSONP and therefore can be consumed from any device or platform. In fact, you can find sample code in the download section that shows how to consume our services from different programming languages and platforms.
The easiest thing to do to integrate cloud4apps services into your app or website is to check the sample apps and SDKs that we have put together that show different ways to integrate them into an app or website. The sample apps and SDKs can be accessed from the downloads section.
cloud4apps services run on Microsoft Azure, which is a very robust and scalable enterprise level cloud solution. This platform allows us to dynamically grow based on demand and maintain a very high SLA for availability of about 99.9%.
We incorporate Transport-layer Security (TLS) with 128-bit encryption in all our web site and web services transmissions making it virtually impossible for a thrid-party to listen to any communications between your apps and our services; Additionally, we control access to our website using the latest specification of OAuth (Open Authentication), which is an popular open standard for authorization used by companies like Google, Twitter, Facebook, etc. By using OAuth we rely the sensitive data such usernames and password to be managed by the third-party authentication provider that our users prefer and rely the most.
You can find sample code along with the software development kits (SDK) from the download section in this site.
The Software Development Kits (SDKs) we provide include mechanisms for locally caching data so that in the case our services can't be reached cached data is used; once services are reached the cached data is automatically updated in the background. The fequency of updates of cached data is fully configurable and the source code is open source making this process as customizable and transparent as possible for you.
App stores such as Android Market, Apple iTunes, and Windows Phone Marketplace have specific policies regarding the sales of apps that are distributed through them; in particular the prohibit the sale of the app outside their authorized payment providers. However, once the app is purchased or acquired by the end consumer they do not impose any particular policy for enhancements, such as add-ins, additional content, or subscription services for the app. That's how we encourage the use of the Payment and Licensing system from cloud4apps in your app.
In addition to being decoupled from a specific payment system, you allow your customers to choose from a wider variety of payment processors. As our services grow we will be adding more payment processing systems without you having to do additional code changes, thus allowing your users to select the payment method that better suits their needs.
The following picture shows the normal flow of events of how an app checks for its license and is activated by the user purchasing it.
The following video shows a step bt step example of how to integrate an Android app with the cloud4apps services.
First you need to open a developer account from the cloud4apps portal; here's how:
You can download an open source sample project that consumes the cloud4apps services
from the following link:
https://sourceforge.net/projects/cloud4apps/files/
The project includes a set of libraries you can incorporate into your apps that
facilitate the consumption of the cloud4apps API Services
cloud4apps works by facilitating app consumers to buy or upgrade apps they have installed in their mobile devices from a simple user interface that guide them through the purchase process. The following shows the flow of actions that a user goes through to buy or upgrade an app.
cloud4apps services are exposed through REST and responses are sent back to clients in JSON format. You can see a detailed list of API services that are exposed through cloud4apps from the API section.
private OnClickListener buttonBuy = new OnClickListener() {
public void onClick(View v) {
String appKey= "[Enter Here the App Key from
previous step]";
String clientId = Utils.GetClientId(context);
String email = Utils.GetEmail(context);
LicenseServices.Purchase(Main.this, appKey,
clientId, email, false);
}
}
LicenseInfo lic = LicenseInfo.GetActiveLicense(context, appKey, clientId);
String versionKeyPremium = "";
String versionKeyBasic = "";
if (lic.VersionKey.contentEquals(versionKeyPremium)) {
// Activate app's premium features
} else if (lic.VersionKey.contentEquals(versionKeyBasic )) {
// Activate app's basic features
}
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />