Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

NativeScript For The Angular Developer

After months of receiving requests, I am finally pleased to announce that my course, NativeScript for the Angular Developer, is now available on Udemy. This Angular and NativeScript course is similar to the previous course I released titled, NativeScript 101, with the exception that this time we’re using Angular instead of vanilla JavaScript. If you’re unfamiliar with NativeScript, it is a cross platform framework for developing native mobile applications. There needs to be emphasis on the native part because you’re not building hybrid web applications, you’re building native mobile applications.

So what can you hope to accomplish in this particular course?

Read More

Send Emails With Mailgun Using NativeScript And Angular

Sending emails from your mobile application is often a critical aspect. For example, what if you want to be able to collect user feedback, wouldn’t email be one of the better solutions? Now let’s add to this scenario and say that the user doesn’t have email configured on their mobile device. How does the user send emails to you from your application? This is where the Mailgun API comes into play.

The Mailgun API is a service, which includes a free tier, for sending emails via a RESTful API. No need for users to configure their email client and no need to maintain an email inbox. It is great for getting the job done.

Not too long ago I wrote about using the Mailgun API in a vanilla NativeScript application. One of my subscribers recently requested information on how to accomplish this task using Angular in a NativeScript application and I thought it would make a perfect tutorial.

Read More

Navigating A Web Application With The Angular Router

I’ve been keeping up with Angular since the beta releases and if you have too you’ll know that navigation has changed about one hundred times between then and the now stable release. Navigation with the Angular Router component is a tricky subject, but understanding it is necessary for pretty much every quality Angular web application.

I wrote a now obsolete tutorial on how to navigate between Angular routes back when Angular was in beta. Since Angular is now stable, I thought it would be a good idea to share how to navigate between pages with the stable Angular Router component.

Read More

Working With Shared Providers In A NativeScript Angular App

When building a NativeScript application with Angular, there are certain scenarios where you might want to share functions and variables across the pages of the application. There are other scenarios where you might want to pull similar functions into a class for code cleanliness. Both of these scenarios would find value in using Angular shared providers.

Shared providers can be injected into the constructor methods of each page that you wish to use them. The providers can act as a singleton where the data and functions are global to the application rather than local to any specific page.

We’re going to see how to create a provider for managing interactions with a database in an Angular NativeScript application.

Read More

Use A Pre-Populated SQLite Database With NativeScript And Angular

I recently wrote about how to use a SQLite database within a NativeScript Android and iOS application that was built with Angular. This was more or less a revisit to the vanilla NativeScript tutorial on the same subject I had written earlier in the year. What happens when you have a massive amount of data that you’d like to save your user from needing to download before using your application? Can a SQLite database be pre-populated and included within an application?

To keep the flow going, I figured it would be a good idea to demonstrate how to ship a NativeScript Angular application with a pre-filled SQLite database rather than populating it on-the-fly.

Read More

Using SQLite In A NativeScript Angular Mobile App

Quite a bit of time ago when I first started using NativeScript, I wrote a tutorial around using a SQLite database with it. Now just to be clear, this was with vanilla NativeScript, before Angular was available. Heck, the previous article was using JavaScript and not even TypeScript.

Well, times have changed and I figured it would be a good idea to revisit this NativeScript SQLite tutorial, but this time give it some TypeScript and Angular flair.

Read More

Passing Complex Data Through The Angular Router With NativeScript

I recently wrote a tutorial for navigating a NativeScript Angular application using the Angular Router. In this tutorial I demonstrated how to create a multiple page application, navigate between pages, and even pass simple string parameters between the pages during navigation. However, what happens when the data you need to pass isn’t so simple?

We’re going to take a look at some of the ways to pass data between routes in a NativeScript application that makes use of Angular.

Read More