Implement Social Media Sharing With Ionic Framework
So you’ve made a great app, but need some help marketing it. Adding social media features to your application is a great way help spread the word, without actually doing anything. Social media can bring good traffic for you, the developer, and provide useful features to your user at the same time.
Take for example, you made a mobile app that finds funny pictures on the internet. You might want to add a share button that shares a particular funny picture on your users social media account while including reference to your app so all their friends can use it too.
The following will show you how to make use of social media sharing in your Android and iOS mobile application using Ionic Framework.
Read MoreUse Crosswalk With Ionic Framework Android Apps
It is no secret, that many Android devices handle web pages poorly. Unless you have Android 4.4, your device is using whatever proprietary browser your manufacturer has decided to give you. The lucky ones who are running Android 4.4 tend to have higher end Nexus or Motorola devices.
This isn’t the end of the road for your hybrid development journeys. Using Crosswalk in your application replaces the default web runtime with the runtime 4.4 users are already enjoying. The best part is that this will work with Apache Cordova, Phonegap, and Ionic Framework. For the sake of this article I’m going to aim it towards Cordova and Ionic Framework, but Phonegap should be pretty similar.
Read MoreImplement AES Strength Encryption With JavaScript
I recently started playing around with the Dropbox Datastore JavaScript API and decided that I wanted an extra layer of security in the data I store on the Dropbox server. I figured the best way to accomplish this would be to encrypt all data in my application before syncing.
It took me a while to find an encryption library that I liked, but in the end, I chose the JavaScript library Forge. This library has plenty of cryptography tools that extend beyond just AES encryption, thus making it very worthy to check out.
Read MoreImplement Google Maps Using Ionic Framework
One of my Twitter followers recently asked me if I could write an article regarding Google Maps and Ionic Framework. I am always up to learning and sharing things, so I’ve taken on this challenge.
The following will get you a fresh Ionic project with geolocation and a fancy Google Map.
Read MoreGenerate Time-Based One-Time Passwords With JavaScript
I recently released an iOS and Android application called OTP Safe to iTunes and Google Play. OTP Safe makes use of the time-based one-time password (TOTP) algorithm commonly used with two-factor authentication (2FA). How exactly, does this algorithm work, and how can we make it work with JavaScript?
Using the following resources as our framework, we can make use of the TOTP algorithm quickly and easily:
- http://blog.tinisles.com/2011/10/google-authenticator-one-time-password-algorithm-in-javascript/
- https://code.google.com/p/google-authenticator/source/browse/libpam/totp.html?r=a852f172b62bf58d436e942e59f6439224b1477d
Aggregate SQL Data From Multiple Rows Into A Single Row
Recently I found myself needing to aggregate my multiple row SQL data into a single row. This was because the parent data was more useful to me than the multiple row’d data, but I still needed to include it because it was still an essential part of my report. The data looked something like the following:
| firstname | lastname | department |
|---|---|---|
| Nic | Raboy | Engineering |
| Maria | Campos | Emergency Room |
| Nic | Raboy | Operations |
| Nic | Raboy | Design |
Syncing Data With Dropbox Using Ionic Framework
Storing or syncing data remotely is often a need in modern apps. This generation is all about the cloud and how to be a part of it. Ionic Framework is a great way to make hybrid cross platform mobile Android and iOS applications, but how about sharing data between them? Dropbox is one of a few cloud storage services that happens to have great APIs and documentation.
The following won’t necessarily show you the best way for syncing data in Ionic Framework using Dropbox’s Datastore API, but it will show you how I did it with success.
Read More