[CODE] Ten (10) Phonegap Demo Apps with Source Code

Hey All,
Recently, I have created 10+ Phonegap Demo Apps, each of which uses at least one Phonegap core APIs. In addition, all the Apps run on Android or iOS devices (within the restraints of the devices). These Apps were all built using PhonegapBuild. The details are on my blog, with additional details on some of the respective github repos.

If you are considering adding a phone or tablet to control your device, Phonegap is very good choice. In a few days, I will b releasing another Phonegap App that will work with the Bridge Tutorial. The attached image is a screenshot of one of the Apps.

If you are reading this post, then you are free to copy and use these Apps as you wish. You MAY NOT publish them and take credit for them in any printed or electronic publication.

BLOG: http://codesnippets.altervista.org/blog/2015/BLOG.2015-05-12.codesnippets.html
CODE: http://codesnippets.altervista.org/examples/phonegap/demos/PUBLIC.Apps.html

I had not heard of PhoneGap before this, but I have had a quick look at the PhoneGap website.

It seems you have to install the Android SDK which immediately suggests it is not for the faint-hearted. Although I presume it gives you a nice smart looking App at the end of the process.

For simple and quick Android apps SL4A - which can be programmed in Python - is worth considering. It gives access to a lot of the Phone functionality. (There seems to have been a change to the website and I can't now find all the helpful web pages).

...R

Robin2:
I had not heard of PhoneGap before this, but I have had a quick look at the PhoneGap website.

It seems you have to install the Android SDK which immediately suggests it is not for the faint-hearted. Although I presume it gives you a nice smart looking App at the end of the process.

For simple and quick Android apps SL4A - which can be programmed in Python - is worth considering. It gives access to a lot of the Phone functionality. (There seems to have been a change to the website and I can't now find all the helpful web pages).

...R

@Robin2,
you actually don't have to install Android SDK, you can use Phonegap Build which builds the entire app in the cloud. However, mobile development is not for the faint-hearted, as you suggest. There are lots of gotchas in the mobile system - especially if you are trying to develop for all platforms at the same time. I do Android and iOS only. I'll likely do MS in the future.

Phonegap uses HTML5, CSS3, and Javascript. Then everything else is a plugin, which makes it easy. If however you use the CLI (Command Line Interface), it can be tricky, but still doable.

However, in a few days I'll post the code for the Phonegap Arduino/Bridge App that toggles LED 13. After you look at that code, you might change your mind.

Jesse

Very interesting, I'll be watching this... 8)

jessemonroy650:
However, in a few days I'll post the code for the Phonegap Arduino/Bridge App that toggles LED 13. After you look at that code, you might change your mind.

Am I correct to think that the main purpose of Phonegap is to allow access to features on the Phone such as the address book and the SMS database and, presumably, the hardware equipment such as the Camera, GPS and accelerometer. ?

...R

Robin2:
Am I correct to think that the main purpose of Phonegap is to allow access to features on the Phone such as the address book and the SMS database and, presumably, the hardware equipment such as the Camera, GPS and accelerometer. ?

...R

@Robin2,
Well, that is half the purpose of Phonegap. Phonegap has third-party libraries for SOA systems, which are known as MBAAS (Mobile Backend as a service), those include services for Parse.com firebase.com pubnub.com strongloop.com admob.com facebook.com twitter.com and twillio.com , just to name a few.

There is also other services waiting in the wings, ie. BLE (Bluetooth low energy), NFC (near field communications), USB host services. On the last, USB Host services was added by Google in Version 3 of Android. It requires a special On-the-go USB cable, but lets your mobile device work just like you desktop.

Jesse

Thanks Jesse. That context is very helpful.

Unfortunately, like so many other "modern" websites the Phonegap homepage tells you nothing useful - but it has a lovely moving spaceship.

...R