Mobile Develop

How to load a remote page into a cordova Android app and able to access cordova plugins

I use Ionic Framework to develop a mobile app. This project needs loads a page (JavaScript application) into its main webView from a remote server, but also maintain access to the cordova/phonegap plugins. After many test, i finally make it works. Here is the solution Edit config.xml Running to build Copying cordova.js, cordova_plugins.js files, the plugins and lib directory to the remote server from the cordova projects platforms\android\assets\www direcory Add following sc...

Install PhoneGap on Fedora 17

Download and Install Eclipse IDE Android offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT). Following steps in link to install ADT Plugin into Eclipse ** If you can not find Android SDK Manager in Window --> Android SDK Manager, go to Window --> Customize Perspective --> Tool Bar Visibility. Enable options in Android SDK and AVD Manager. Install NodeJS on Fedora NodeJS is currently not part of the standard repo's, you can not install dire...

How to use the W3C Geolocation API

Introduction Imagine visiting a city for the first time. You're hungry, but don't know where the nearest restaurants are and which of them are any good. Wouldn't it be nice if some app could detect your location and provide you with a list of restaurants closest to you, along with reviews and ratings for each one? And this is not the only consideration — could it detect your location accurately, keeping in mind your privacy as well? This is where the W3C Geolocation API comes in, suppo...

iPhone App Dev with Titanium – Event Listeners

In this lesson, Dr. Rafael Hernandez will teach you how to add simple interactivity to an application through the use of an event listener. Here is the code in video, you may need it.