Author: Nic Raboy

Make HTTP Requests In An Ionic Android And iOS App

January 13, 2016 Nic Raboy

Anyone looking to build a mobile application is going to find themselves needing to make HTTP requests to some remote web service at some time. It is just how the modern web and modern app development process is now. Previously I had demonstrated how to make HTTP requests in an Ionic Framework 1 application, but since Ionic 2 is all the rage right now, we’re going to switch gears and see how it is done in the latest framework version.

The bulk of this tutorial will be demonstrating how to make these web service requests in Angular since it is fairly different from the first AngularJS version.

Read More

Native Android 101: A Quickstart to Building Android Apps

January 12, 2016 Nic Raboy

I am pleased to announce that my third full length quickstart course, Native Android 101: A Quickstart to Building Android Apps, was published on the learning website Udemy. The course follows in the same direction as my Ionic Framework 101 and NativeScript 101 quickstart courses, but this time instead of a hybrid technology we’re using the native Android SDK.

If you’re unfamiliar with the native Android SDK, it is the development kit that Google published for developing Android applications using the Java programming language.

A little background on what I had hoped to accomplish in this course.

Read More

Use ng2-cordova-oauth For All Your Ionic Oauth Needs

January 12, 2016 Nic Raboy

Previously I wrote about using Oauth within an Ionic 2 mobile application. However, for the typical user that can be a real hassle because it by far isn’t short. This is why I created the library ng2-cordova-oauth on GitHub. This library has numerous web service providers bundled in, making the authentication flow as short as three lines of code.

Now some of you might be familiar with the ng-cordova-oauth library that I wrote for Ionic Framework 1. That library was designed to work with Apache Cordova and AngularJS. This time around I did the same thing for Angular and Apache Cordova.

Let’s take a look at how easy this new library really is.

Read More

Launch Websites With Ionic Using The InAppBrowser

January 11, 2016 Nic Raboy

With Ionic 2 development in full force, I figured it would be a good idea to update one of my more popular blog articles. Previously I had written about using the Apache Cordova InAppBrowser to launch external URLs using Ionic Framework 1. This time I’m going to accomplish the same, but using Ionic 2 and Angular.

Like with the previous tutorial we will be using the Apache Cordova InAppBrowser plugin. The only change is in our framework.

Read More

Include External JavaScript Libraries In An Angular TypeScript Project

January 8, 2016 Nic Raboy

I’ve been a JavaScript developer for a while now, but with the release of Angular, I’ve been inspired to pick up TypeScript. However, what happens when I want to use one of my hundreds of available external JavaScript libraries in my project?

I’m going to share how to use your favorite JavaScript libraries in a TypeScript Angular application.

Read More

Show Native Toast Notifications In An Ionic Mobile App

January 6, 2016 Nic Raboy

A popular way to display notifications within a mobile app is through Toast notifications. Previously I demonstrated how to display these notifications using Ionic Framework 1, but with Ionic 2 being all the rage, I figured it would make sense to demonstrate how to do this again.

iOS has no true concept of a Toast notification like Android does, but using the great plugin by Eddy Verbruggen, we can make it possible in iOS. This is the same plugin we make use of in the Ionic Framework 1 tutorial.

Read More

Create A Real Time Chat Application With The CEAN Stack and Socket.io

January 5, 2016 Nic Raboy

I’ve always wondered what it took to develop a real-time chat application. Being able to broadcast messages instantly to other people using the same application is a pretty cool concept. Since I’ve been playing around a lot with the Couchbase, Express, Angular, and Node.js (CEAN) stack, I figured it would be pretty awesome to try to make a chat application using those technologies. To make life easy, I found a pretty sweet library called Socket.io, which will do a lot of the tough broadcasting work.

We’re going to see how to create a very simple chat application, that with a little imagination, can become something incredible.

Read More