BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Deploying Chrome Apps on Android&iOS with Cordova 3.3.0

| by Abel Avram Follow 4 Followers on Jan 29, 2014. Estimated reading time: 1 minute |

Developer can now deploy Chrome apps on Android and iOS with Apache Cordova 3.3.0.

Six weeks after Adobe made available PhoneGap 3.3, Cordova 3.3.0 was made available on PhoneGap Build. Beside supporting Android KitKat, Cordova 3.3.0 adds support for remote webview debugging from Chrome on Android,  and remote debugging with Safari on iOS. The release notes contain details for each operating system supported: iOS, Android, Windows. Cordova 2.5.0 and 2.7.0 will be deprecated in the near future, Blackberry, WebOS, or Symbian developer being invited to use version 2.9.0.

Back in September, Google announced the possibility to create Chrome applications that can be deployed to the desktop (samples of such apps can be found here). These apps can run on Windows, Mac or Linux either in online or offline mode. Recently, Google has expanded Chrome apps’ reach to mobile platforms, Android and iOS, via Cordova 3.3.0.

To create their Chrome app for mobile, developers need to use a tool-chain based on Node.js, JDK 7, Android SDK 4.4.2, and Apache Ant for Android, or Xcode 5, ios-deploy, ios-sim for iOS, and use Cordova to wrap the application in a native shell, then publish it on Google Play or Apple App Store.

The following Chrome APIs have been made available for mobile apps:

  • identity - sign-in users using OAuth2 without prompting for passwords
  • payments (currently Android only) - sell virtual goods within your mobile app
  • pushMessaging - push messages to your app from your server
  • sockets - send and receive data over the network using TCP and UDP
  • notifications (currently Android only) - send rich notifications from your mobile app
  • storage - store and retrieve key-value data locally
  • syncFileSystem - store and retrieve files backed by Google Drive
  • alarms - run tasks periodically

Beside those, developers can make use of a large number of Cordova APIs providing wide access to native functionality.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

iPhone safari tips by Alex Pierce

Here are some iPhone Safari tricks for you.
www.leawo.org/tutorial/iphone-safari-tips-and-t...

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT