How to make a simple Phonegap App in an hour or less

  • Mar
    16

The objective of this project is to create a random gallery of images using Flickr API, in the first view we will select a category (tag) and in the next one we will start to see random images about that topic.

For this sample application I’m using Ubuntu 13.10 as my development environment. For starters we want to install node.js from Chris Lea’s PPA and then a few npm requirements:


add-apt-repository ppa:chris-lea/node.js
apt-get update; sudo apt-get install nodejs
npm install -g phonegap
npm install -g bower

Start project

To create a new application we need ...

Remote Debugging and Mobile Emulation in Chrome

  • Dec
    03

Google Chrome recently added some awesome tools for testing out Mobile Web sites and even for emulating a specific device from the desktop version of the browser. Also, for iOS, Safari has a similar tool for remote debugging.

They have some detailed tutorials on the Google Developers site.

For Remote Debugging on Android

https://developers.google.com/chrome-developer-tools/docs/remote-debugging#remote-debugging-overview

For Remote Debugging on iOS

http://moduscreate.com/enable-remote-web-inspector-in-ios-6/

For Mobile Emulation inside Chrome

https://developers.google.com/chrome-developer-tools/docs/mobile-emulation


Micro javascript library for touch events

  • Oct
    14

Quosjs is a micro javascript library (5-6k gzipped) for managing touch events in web mobile through HTML5, it doesn't require any third-party javascript libraries like jQuery, instead it has its own query methods, ajax methods and event handlers. Aditionally it exposes a useful environment variable with useful information about the device.

webpage: http://quojs.tapquo.com/

github: https://github.com/soyjavi/QuoJS