Having your mobile application generate some kind of revenue is usually critical. Not many people want to spend endless hours slaving over an app without some kind of profit. Luckily, using Ionic Framework with Apache Cordova device APIs in addition to a nifty and easy to use Admob plugin, you can take full advantage of Google Admob in your cross platform application.
To use Admob with Ionic Framework we will be using the floatinghotpot Cordova plugin.
If you’re using Ionic 2, you should visit the revised tutorial I wrote to accommodate the Angular differences. Otherwise, continue for Ionic Framework 1 and AngularJS.
Read MoreThreads and asynchronous tasks have never been pleasant in Android. It is a nightmare to handle screen orientation changes or update the UI from a common thread. However, the guys at Google came up with Volley and it is an excellent way to make Android HTTP requests.
Out of the box you have the ability to make a request that will return a JSONArray or JSONObject which is pretty slick because most APIs use those as a standard.
Read MoreUnity3D offers a ton of great features for Android projects, but often there are gaps that must be filled with plugins.
Let’s take the example of Toast popups for Android. In your game you might like to show a popup message that explains an error, or states that you are signed in to a server.
Read MoreComing from native Android and SQLite, the concept of universal data storage on local devices has been different. Apache Cordova and Ionic Framework, being as awesome as they are, support HTML5 local storage calls. This allows us to store and retrieve data without the use or knowledge of SQL and on any platform we plan to use.
Read MoreWhen creating a mobile app, specifically one that makes heavy use of the internet, it is often necessary to make sure an internet connection exists at launch and possibly display a message or perform an action if one does not exist.
The following is for an Ionic Framework 1 application. If you’re using Ionic 2, you will want to check here.
The following chunk of example code is typically found in your Ionic Framework project’s js/app.js file. It demonstrates how to check if a network connection exists on application load and how to display an Ionic popup that is nicely styled in comparison to a JavaScript alert dialog.
Read MoreIn an effort to improve the efficiency of Chartboost users, I’ve released a mobile application titled Admate for Chartboost. Admate makes use of the Chartboost API in order to deliver app and campaign analytics directly to your mobile device.
Read MoreI’ve recently switched from using Admob in my games to Chartboost. This switch made sense because most of the ads that were filling with Admob were not relevant to gaming. For example, many of the ads Turbo Prop was receiving were dating and real-estate related. This resulted in very poor eCPM.
The following is a great (and quick) way to get Chartboost ads for iOS and Android in your Unity3D 4.3+ game.
Read More