Backendless Blog | Backend as a Service Platform

Message:

Subscribe rss
Blog categories

backendless kotlin1 150x150 - Using Kotlin for Cloud Code development with BackendlessBackendless Cloud Code officially supports Java, JavaScript and Codeless. Since Kotlin compiles to Java byte code, it is not an exception and can be used as well to build API Services, Event handlers and Timers. Check out an article by @vvsevolodovich describing how to configure your project so you can develop Cloud Code logic with Kotlin:

https://medium.com/@dzigorium/developing-serverless-applications-with-kotlin-and-backendless-com-ebd59dac8220

 

Posted in Server Code

backendless stripe1 - Introducing Stripe Integration Plugin

We just published a new product into our Marketplace which enables integration with Stripe. The product name is Stripe Integration Plugin and its purpose is to handle card payments submissions to Stripe. The plugin runs in Backendless business logic (Cloud Code) and uses your Stripe’s app signing and secret keys when communicating with Stripe. Below is a list of functions performed by the plugin:

  • Submits charge transactions to Stripe from a secure server-side environment. This function is initiated by an API call into the plugin from your mobile/web app.
  • Receives transaction information and returns it to the mobile/web app.
  • Receives webhook calls from Stripe and stores information about your Stripe app events in the Backendless database.
  • Sends out a real-time message when a webhook is received. This allows your mobile/web app to inform the customer that a transaction is complete.

For additional information, see the Stripe Integration Plugin documentation.

Posted in Marketplace

What does  “mobile-to-web cross login with a QR code” mean ? It is one of the approaches for the two-factor authentication. Suppose that a user is already authenticated in your application (in my example it would be an android app) and the user wants to use it’s actual session to perform an automatic authentication in another application (in my case it’s a web app). There are several examples of popular apps which use this approach. For example, to login into a web session with WhatsАpp, you must login on your phone and then scan a QR code in the web interface.login with qr1 - How to implement mobile-to-web cross login using a QR code

Continue reading

With the release of Backendless 5.1.0 we introduced a new feature called Landing Pages. With this feature you can easily create a web presence for your app. There are templates for both pre-launch and released apps. Once you provide information about the app, which includes app description, list of features, some screenshots, customer quotes and contact information, Backendless will generate a beautiful web page with design adaptable for mobile and desktop browsing. The web page can also be accessible through the custom domain feature. Check out the video below for an overview and a demo of the feature:

For more information about the Landing Page feature, see the Developer documentation at:
https://backendless.com/docs/rest/doc.html#mgmt_landing_pages

With the introduction of the real-time database, Backendless is a great platform for developing games, especially multi-user ones. In this series of posts, I will be showing to you how to build a game for iOS with Swift using Backendless. For a quick overview of the game in action, please watch the video below:

Continue reading
Posted in Examples, iOS

Backendless 5 is now released (hooray!) and it offers a bunch of new powerful capabilities. One of them is support for development of custom Amazon Alexa Skills. In this post I am going to demonstrate how easy it is to create a custom skill using JavaScript. You will learn how to control the dialogue flow between the user and Alexa using Backendless and custom Cloud Code.

An example we will build a trip planner skill, albeit a trivialized version of it, which will gather from the user the departure date, the departure and arrival cities. The collected information can be used to search available fares, hotels and make any other necessary arrangements.

What You Will Need

Continue reading

We did it! There is a new SDK in the Backendless family of libraries, please welcome the SDK for Amazon Alexa! Let’s get a few basic questions out of the way first:

Q: Can I build a custom Amazon Alexa skill without Amazon Lambda?
A: Yes, you can definitely do it by running your custom skill implementation in Backendless.

Q: Can I build a custom Amazon Alexa skill with JavaScript, Java or without any programming language?
A: Yes, with Backendless you can implement a custom Alexa skill using Java, JavaScript or Codeless, which is a visual programming environment.

Q: What is the simplest way to build a custom Alexa skill?
A: Great question! Read the announcement below:

Continue reading
Posted in Alexa, Server Code

Backendless SDK for iOS has received several improvements which increased the portability of our code. As a result, the same library you use for the iOS apps can also be used in tvOS and watchOS apps. All the functionality available in our SDK is available in these two environment, this includes real-time database and real-time messaging. The Backendless APIs are the same as for iOS when using them in tvOS and watchOS apps.  Below is a video with a demo of a tvOS app which shows the real-time database in action. The source code of the application demonstrated in the video is available at:

https://github.com/Backendless/AppleTvDemo

This is a very exciting improvement for the SDK as it opens up new opportunities for the developers who look to expand their reach to different types of Apple devices.

Posted in Examples, iOS, tvOS, Video

Today we will talk about how to monitor client’s Real-Time Connections in your Angular application. This tutorial continues the guide on how to build Angular apps with Backendless. It is recommended to check out the previous article in this series before you continue for the reason that we will use the application from the previous post as the starting point for this tutorial. Alternatively, if you just want to start working with the it right away, just download the source code from this GitHub commit.

In many cases we want to see how many application users are online or offline, for example, it might be useful in a chat application. For the demo purposes,  in our application we will add a simple counter for count all connected clients. As we explore adding that functionality,  you will meet with Backendless Business Logic, Backendless Counters, Codeless and keep discovering Real-Time features:

image11 - How to monitor Real-Time Connections in an Angular app

Continue reading

Since Backendless does not have native APIs to download files, today we’ll talk about how to implement this function in your Android application. In order to do that, we’ll need to combine Backendless file listing API and android.app.DownloadManager. There are several alternatives to this approach, but the selected one requires less code to write and has a well-thought structure.

Once a developer uploads files to the Backendless Files system, each file gets a public URL which can either be obtained using the Backendless Console or calculated using the following URL scheme:


publicURL 1024x472 - How to download a file stored in Backendless with your Android appThis public URI is the full path to the file in your Backendless file system. Directory listing API returns a list of the  FileInfo objects representing the files located in the directory, where each element in the collection contains the following properties:
Continue reading