What Is Machine Learning for the Enterprise – Video Recording

The San Francisco team hosted What is Machine Learning for the Enterprise Lunch-and-Learn event. This event was an absolute beginner’s guide to machine learning for the enterprise. Kanishk Priyadarshi, Head of Engineering and Innovation at IBM, covered strategic and design-thinking inspired conversation for beginners to explore and apply machine learning at your enterprise! In case you missed it, you can watch the video below. If you want to learn about Watson AI, Containers, Blockchain, Serverless, APIs and other topics, please check out our upcoming developer workshops.

 

My Last Day at Appery.io

Conference badges

Friday, May 5th 2017 was my last day at Appery.io. I’m taking a small break right now and will be starting my next adventure next week.

Exposing a SQL Database via REST APIs: A Video Guide for Developers

Many organizations that are building mobile apps need to connect and reuse existing (internal) systems. One of the most common system is a relational (SQL) database. The question is — how to a relational database from a mobile app.

I have prepared two short videos that will show you how to do that using Appery.io API Express.

API Express connects to a relational database and exposes the database tables via REST APIs. Once the APIs are created, the mobile app can easily consume the APIs.

There are two approaches exposing a database:

The first approach automatically generates CRUD-like APIs to work with a database table. In many apps, this is close to 80% of what an app might need. This automatic approach also comes with very sophisticated offline support. In other words, you app can work offline and sync data with a remote database when a connection is reestablished.

With the second approach, you get full control as you write the actual SQL query (or Stored Procedure) that will be executed. With this approach, you can use a visual service editor to orchestrate the REST API. In addition to the SQL component (connector), you can use connectors such as Web Service (WSDL), REST  and others.

Check out the API Express video playlist to learn more.

A Quick Guide to Sending Push Notifications

Being able to send Push Notifications to users is one of the fundamental capability in an enterprise mobile app. Appery.io platform comes with Push Notifications component out-of-the-box and allows you quickly to send targeted messages to iOS and Android devices. In this blog post we will show the four ways to send a Push Notification message to a user:

  1. Push Notifications Console.
  2. Server Code Push Notifications API (server-side).
  3. Push Notification REST API.
  4. Customer Console.

Push Notifications Console

This first option is probably the simplest way to send a Push Notifications once you have installed an app on a device. Select device types, enter the message and send. The Push Notification message should arrive on the registered device instantly.

 

PN_console.png
Push Notifications console.

 

Continue reading “A Quick Guide to Sending Push Notifications”

Here Is a Super Fast Way to Test Your Mobile App

When you are building a mobile app in Appery.io, you are starting with HTML/JavaScript app which then can be packaged as a Cordova (PhoneGap) app, published and installed on a device. You can also use any Cordova APIs in your app and add any 3rd party Cordova plugins.

Everyone knows that testing is one of the most important steps when building a mobile app and also the part that usually takes the most time. Luckily there is a very fast way you can test your app, let me show you how to do that.

When you are working on an app inside the Appery.io App Builder you are seconds away from testing your app. Simply click the “Test” button in the toolbar:

Screen Shot 2015-09-16 at 10.03.42 AM
Appery.io App Builder

When you click the “Test” button, a new browser tab will open where the app will be loaded. It looks like this:

Screen Shot 2015-09-16 at 10.07.12 AM
Testing the app in browser

This is important – this is the real app running in the browser. This is not an emulator or simulator. This is the actual app running in the browser. The phone frame is just to make it look like a mobile device. It can be easily removed by clicking the “Remove frame” button. The app looks exactly the same without the frame:

Screen Shot 2015-09-16 at 10.21.30 AM
Testing the app in browser without the frame

You can go back to the App Builder, make any changes you need and click “Test” again to see the newest changes. It’s that simple and fast. You don’t need to wait for the app to package or compile. You can see updates almost instantly.

Continue reading “Here Is a Super Fast Way to Test Your Mobile App”

Building a Barcode Scanner App with Backend Services

This video shows how to build a barcode scanner and covers:

  • Using the barcode scanner
  • Using cloud database to store and search for scanned products
  • Using server script for:
    • Searching the database to find products that have low inventory
    • Sending a push message to notify of low inventory
    • Sending an email (SendGrid API) to notify of low inventory
  • Scheduling server script (job) to run periodically to check for low inventory and perform the actions above

Instantly Build REST APIs with Server Code

The Appery.io Server Code allows to build any app logic and instantly expose it via REST APIs. You use Javascript to write the script which runs on the server. You don’t need to worry about deploying or running any servers, all is done in the Appery.io cloud. An example is the best way to show it, so let’s do that.

To keep the example simple, let’s say we wan to build an API (script) that takes a developer’s name returns a greeting and also returns the time when the greeting occurred. It’s basically your HelloWorld example.

To create a new Server Code script you just need to click Create script button:

Screen Shot 2015-04-16 at 2.29.54 PM

Continue reading “Instantly Build REST APIs with Server Code”

Sample Mobile App With Weather Underground API and Geolocation

We know developers love examples, we’ve just added one more example to Appery.io platform. When you create a new app, you can base it on the new Weather API and Geolocation Example. When you create a new app, click “More Create Options” to see the list of available examples:

Screen Shot 2014-09-15 at 3.34.50 PM

The example app demonstrates a number of features:

  1. How to use a 3rd part API – Weather Underground. You do need go sign up for a free developer account and set the API key.
  2. How to use the Geolocation service.
  3. How to handle different service responses (when an airport is found or not).
  4. How to show UI components on page based on a condition.

The app works in two modes. First, you can enter any 3-letter airport code to show the weather information:

Screen Shot 2014-09-15 at 3.39.31 PM

Second, instead of using the airport code, you can also use the Geolocation service. It will determine your location and use that to show the weather information (for this to work in a web browser, make sure to allow location tracking for the domain appery.io):

Screen Shot 2014-09-16 at 2.53.49 PM

 

Try this yourself at Appery.io.

Build Cross-Platform Mobile App With Facebook API in Appery.io [Video]

This video shows how to build a mobile app in Appery.io with Facebook API. You will learn:

  • How to import the Facebook API plugin
  • Sign into Facebook via OAuth 2
  • Display basic information about the user
  • Post to the timeline
  • Display the timeline

To learn more about using Facebook API, try Build an app with Facebook API tutorial. .

Creating Mobile App with Salesforce API, Barcode Scanner, PhoneGap [Video]

Check out this really awesome video created by Greg Wadley, Platform Architect. Greg shows how to build a mobile app in Appery.io thats uses Salesforce API, Barcode Scanner and PhoneGap. The app scans a barcode, reads data from the product table in Salesforce, and then updates an order table.