Articles > Mobile

Google unveils early, surprise preview of Android N

If you’ve been following Android N-related news over the last, little while, you’d have been forgiven for thinking that Google would only begin publicly talking about Android N in May, when it holds its I/O developer conference. Android N is the company’s codename for its Android mobile operating system’s upcoming release. In a completely surprise move, however, Google preempted this expectation by throwing the development world a curveball. The company just announced the Android...

A simple introduction to Swift

At the WWDC 2014 Apple introduced a brand new programming language called Swift,. It's a language that has been created by Apple from the ground up to be both very efficient and very beautiful. Swift uses the same API's as C but in my opinion is easier to learn and get a grasp if you come from a web development background like me. If you are just as exited about this language as I am, then this is the article for you. Variables and constants ... Declaring variables in Swift, if you come from a Javascript background,...

Getting started with PhoneGap, part 3

With the first and second parts of this tutorial we have gotten pretty far when it comes to understanding PhoneGap and in this last part we will take a look at some more device API’s that we can make use of when creating our mobile applications with PhoneGap. The Contacts API ... The name in this API is pretty self explanatory , with this API we can access the device’s contacts database and it allows us to either create , find , clone or delete a contact. To create a contact we need to use the contacts.create...

Getting started with PhoneGap, part 2

The first part of this mini-series showed you what PhoneGap is, and how it can help you develop mobile applications with familiar technologies. In this second part we’ll look at some more device APIs. The geolocation API ... This API is used on a variety of websites to make the site (or in this case the mobile application) location aware. A simple example that would get you the user’s latitude, longitude and altitude coordinates and show them on the screen would look something like: document.addEventListener("deviceready",...

Getting started with PhoneGap

Creating Mobile applications is something a lot of web developers are keen to get into. The problem with creating these applications when coming from a web background is that new languages need to be learned. With PhoneGap that need is gone, PhoneGap allows you to build web applications with languages you are already familiar with like HTML, CSS and JavaScript. What is PhoneGap ? ... PhoneGap is an open source framework that aids in the development of cross-platform applications with languages familiar...

HTML5 Geo-location API and Google Maps API

In this weeks tutorial we'll be creating a jQuery plugin that serves as an introduction to the HTML5 Geo-location API to request your current location. Once we have the location, we will then draw a route from there to Dublin, Ireland (or wherever you tell it to) using the Google Maps API. This could be used in a HTML5 web application or on a site to tell your customers how to get to you. Getting Started ... First of all we'll need to create our jQuery plugin wrapper. The $.extend function will allow us to provide...

Check for Internet Connection in a UIWebView iPhone App

This is an important part of programming a UIWebView iPhone App, the App Store will turn down your app if you cannot check for internet connectivity! The code below checks for Internet connectivity (from Wi-Fi AND wireless network), and if there is no connection, we throw a UIAlertView notification with a button that closes the app: (note: we place this code in the viewController.m file) //No Internet Connection error code -(void)webView:(UIWebView *)myWebView didFailLoadWithError:(NSError...

7 Tools for Responsive Web Design

The move towards developing responsive websites has introduced a set of new tools that help can developers learn the ropes fast and start producing cross-browser and non-device specific websites quickly and more efficiently. Let us see some of these tools and resources that you can leverage as we get deeper into responsive web design: Adaptive Images ... Your website is increasingly being viewed on smaller screens that consume low bandwidth. In addition to other challenges associated with developing...
Load more
Home CSS Deals HTML HTML5 Java JavaScript jQuery Miscellaneous Mobile MySQL News PHP Resources Security Snippet Tools Tutorial Web Development Web Services WordPress