Implement A Barcode Scanner Using Ionic Framework

I recently found myself needing to scan barcodes in one of my apps.  More specifically I needed to scan quick response (QR) codes.  After doing some searching I found that ngCordova had an extension for the Apache Cordova plugin BarcodeScanner which has the ability to scan barcodes in the following formats:

  • QR Code
  • Data Matrix
  • UPC E
  • UPC A
  • EAN 8
  • EAN 13
  • Code 128
  • Code 39
  • ITF

Pretty much all the formats anyone would ever need.  The plugin itself makes use of the very popular ZXing library.

(more…)

Create An Android App Start To Finish

It was recently requested that I show how to create an Android app from start to finish using a text editor and command line.  Although the process isn’t difficult, it might not be so straight forward for a first time developer.  The scope of this article should cover the following:

  1. How to create a new Android project using a terminal window
  2. Creating a signing keystore for deployment to the app store
  3. How to submit to the app store and be successful

(more…)

Manage Files In Android And iOS Using IonicFramework

You may one day find yourself needing to make an IonicFramework Android and iOS app that downloads media or in-app purchase content from a remote web server to the users device.  Maybe you created an audio app that plays music from the cloud and you decided to cache upcoming songs in your playlist like Google Music does.  This will involve downloading the media files to your device in the background so it is ready to go.

Lucky for us, Apache Cordova has a set of File APIs that we can use in our Ionic project for exactly this.

(more…)

Handling Apache Cordova Events With IonicFramework

There will often come a scenario where you need to determine when your application enters the device background and comes back into the foreground.  For example, let’s say we wanted to require a password every time the application is shown.  We would need to listen for when the application enters the foreground.

Lucky for us, we can make use of the Apache Cordova event listeners to accomplish this task.

(more…)

Create an RSS Reader Using AngularJS and IonicFramework

This article was designed to help you apply your knowledge of AngularJS and IonicFramework and create a functional app rather than learn new concepts.

This tutorial should help you with the following concepts:

(more…)

Make HTTP Requests In Android And iOS With IonicFramework

As a modern developer, at some point in time you’re going to find yourself needing to work with a RESTful API.  You’re going to need to make HTTP requests to get data into your app or even change data on a remote database.

Lucky for us, making HTTP requests with IonicFramework is a heck of a lot easier than making them with native code.

The following will show you how to make GET requests for JSON data at some fictional API endpoint.  It is for Ionic Framework 1.  If you’re looking for how to make HTTP requests using Ionic 2, check here.

(more…)