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

Use SQLite In Ionic Instead Of Local Storage

Ionic 2 is becoming all the rage right now because of it using Angular. With the introduction of Angular, comes many differences in the language and framework itself. One of the most critical parts of any mobile application is its ability to save data and have it persisted when the application is launched at a later date. I demonstrated in Ionic Framework 1 how to use SQLite as a storage solution, so I figured it would be a good idea to demonstrate the same using Ionic Framework 2.

Let’s see why it might be a good idea to use SQLite in an Ionic 2 application rather than HTML5 local storage.

Read More

Create A Toast Notification In Android With NativeScript

Toast notifications are a common thing in Android applications. They are convenient because you can display a message to a user and have it disappear shortly after without blocking any of the UI that might exist within the application. I already demonstrated how to display these notifications in an Ionic Framework application, but this time I’m changing gears to explain how it is done using Telerik NativeScript.

I wanted to start off by saying that I was inspired to write this article after reading Brad Martin’s post regarding the Snackbar notification in NativeScript. Both are common and useful ways to display notifications in mobile apps.

Read More

Navigate Between Pages In An Ionic Android And iOS App

In most scenarios, when developing a mobile application, you’re going to want multiple pages or screens for displaying information. In Ionic Framework 1, you’d use the AngularJS UI-Router to navigate between pages, but things are different when it comes to Angular and Ionic 2. The UI-Router is not present in the latest version of Ionic Framework.

We’re going to take a look at navigating around an Ionic 2 application and see how easy it is.

Read More

Find The Application Version In Your NativeScript App

With all the buzz around NativeScript, I figured it was about time that I demonstrate how to access native features of a device without the use of any plugins. To start off slow I decided it might be convenient to see how to obtain the application version number and display it within the application.

To be clear, there are plugins to do all this for you, but the point I’m trying to prove is how easy it is to access core features of iOS and Android with limited knowledge of both.

Read More

Fix iOS 9 App Transport Security Issues In NativeScript

Since the release of iOS 9, a ton of stress has been put on mobile developers because of forced changes that Apple put in place. The most common problem developers are facing resides in the App Transport Security (ATS) policies that Apple now requires when accessing insecure resources external from the deployed application.

This article is actually very similar to the one I wrote regarding Ionic Framework and Apache Cordova. The only difference is that this will be more specific to Telerik NativeScript.

Read More

Navigate Between Routes In A NativeScript Mobile App

To continue my sprint on Telerik NativeScript related topics, I figured it was time I talk about how to handle navigation to different routes or views within an application. With platforms such as React Native you would use a Navigator component and in platforms such as Ionic Framework you would use the AngularJS UI-Router. With NativeScript, it is even easier to navigate between routes.

In this guide we’re going to look at what it takes to navigate a multiple screen Android and iOS application using NativeScript.

Read More

Make HTTP Requests In A NativeScript Mobile Application

As I mentioned in some of my other posts, I’ve been exploring NativeScript by Telerik. So far it has proven to be a nifty platform and my attention is still invested. Previously when writing about similar technologies such as React Native and Ionic Framework, I explained how to make HTTP requests to third party web services. I demonstrated how to make HTTP requests in Ionic Framework as well as how to make HTTP requests in React Native. This time I figured it was time to do the same demonstration with NativeScript.

In this guide we’ll take a look at how to make requests against a RESTful API server in an Android and iOS app using Telerik NativeScript.

Read More