Using Geolocation in a Mobile App: A Video Guide

Geolocation is one of the most widely used APIs in mobile apps today. From weather to Uber and Lyft, the device location is crucial information and many APIs use it to determine what services and products are available in a given location. When building a mobile app in Appery.io, using the Geolocation API is simple. Apache Cordova library is built-in in every new Appery.io app. Invoking Geolocation will return the latitude, longitude (and other) information which can then be passed to any REST API. The following two short videos show how to use and invoke Geolocation in an Ionic and jQuery Mobile apps:

Looking for more videos like that? Check Appery.io YouTube channel for many more videos.

Find Out How to Build Cordova Apps Fast

One of the core components in Appery.io platform is a cloud build service which builds a binary file (hybrid) for iOS or Android. Appery.io leverages Apache Cordova (PhoneGap) to create a binary file. Launching the build process is very simple. Right from inside the App builder, clicking the Export button you will see the option to create a binary file for iOS or Android.

 

apperyio_export
Export menu

 

Once Binary (.ipa) or Binary (.apk) is selected, the build process starts. The build process usually takes one minute. When the build is completed, the file is downloaded to your computer. From there you can publish the app to an app store, using the standard publishing process for each store.

Learn more about how to use Apache Cordova in Appery.io to build hybrid apps and use native APIs.

 

Appery.io Now Makes It Simple to Import Any Cordova Plugin

Every app created in Appery.io comes with Apache Cordova library installed. This means you have access to device APIs such as the Camera, Contacts,  Geolocation and more. Now it’s also very simple to add any 3rd party Cordova plugin to your app. The Appery.io team introduced a new wizard that allows you to install any Cordova plugin.

cordova_plugins_list
Cordova plugins

In addition to making it simple to install any Cordova plugin, there is a new visual service build for API Express to create custom services connected to enterprise data source.

condition-component.png
Custom service logic

Plus, you can now drag and drop a service into AngularJS scope editor and the service invocation code will be automatically inserted.  Learn more about this and more from the Appery.io blog.

Learn How to Add Barcode Scanner with Database Search to Your App

We know that developers love examples. One of the most requested example is how to build an app with barcode scanner and search the database. We created an app example that does exactly that.

This example shows how to use the barcode scanner to scan a product then search the database for that code. If a product is found, then you can edit the product (name, quantity). If the product is not found in the database, you can add the product to the database.

Appery.io plugins
Appery.io plugins

Continue reading “Learn How to Add Barcode Scanner with Database Search to Your 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

Build a Mobile App with Geolocation and Google Maps in 5 Minutes

This video shows how to build a mobile app with Geolocation and display the location on Goole Maps in 5 minutes.

Check out other videos in Build in 5 Minutes series.

Build a Mobile App with Barcode Scanner in 5 Minutes

This video shows how to build a mobile app with barcode scanner in 5 minutes using Appery.io platform:

Check out other videos in Build in 5 Minutes series.

Video: Using Cordova APIs to Build a Hybrid App in Appery.io

This webinar shows:

  • Building a hybrid app in Appery.io
  • Using Apache Cordova APIs:
    • Alert
    • Geolocation
    • Barcode scanner
    • Camera
    • FileTransfer –  use plugin for quick file upload to Appery.io database
  • Fast testing with Appery.io Tester app

Check out many other videos on Appery.io YouTube channel.

What is the Difference Between Appery.io and PhoneGap?

A common question we get asked is: “What is the difference between Appery.io and PhoneGap?”. The simple answer is Appery.io platform uses PhoneGap (actually Apache Cordova). But let’s look into this more.

First, what is difference between PhoneGap and Apache Cordova?. Cordova is an open source framework that has two core capabilities:

  • It allows to package an HTML/JS app as hybrid mobile app. Basically you run HTML/JS app inside a native wrapper (hybrid app) but it basically looks and behaves like a native app. This allows you to target multiple mobile platforms using a single code base.
  • It provides a simple Javascript API to access native device features such as Camera from HTML/JS app

PhoneGap is owned by Adobe and the name it uses for the product. Adobe acquired Nitobi in 200x the maker of PhoneGap and donated the library source to Apache under the name of Apache Cordova. PhoneGap today is Adobe’s product that consists of Cordova plus some extra features around the framework (to make it a product and brand name).

Even thought most people use the names PhoneGap and Cordova interchangeably, Appery.io bundles Cordova in every app.

Cordova allows to package the app as hybrid and provides API to access native device features. You still need a development tool (IDE) to build the app with Cordova. You need a Javascript framework that provides UI components for your app. You still need to connect to REST API services in your app and you need an API backend for your app such as a cloud database, push notifications and server code.

All these features and more are provided by Appery.io. Cordova is just a component within Appery.io platform which enables to build hybrid apps. Appery.io and Cordova don’t complete but compliment each other.

Get Hackathon Ready: Learn How to Build a Complete Hybrid App with Appery.io

Happy New Year!

Get hackathon ready. This video shows how to build a complete HTML5/hybrid mobile app. This video was recorded as part of AT&T Bootstrap Week in preparation for the AT&T Summit 2015 in Las Vegas. The video shows:

  • Building the app UI with Appery.io visual app builder
  • Integrating with Twilio API to send SMS messages from the app
  • Integrating with Appery.io backend services to save SMS messages into a cloud database
  • Testing the app
  • Exporting the app for iOS or Android