Friday, November 20, 2015

How to make an mobile app with PhoneGap and Crosswalk

How to make an mobile app with PhoneGap and Crosswalk


What is Crosswalk?

The Crosswalk Project is open source, released under a BSD licence. The project was founded by Intel's Open Source Technology Center. One can use WebGL via three.js and webrtc


By using the Crosswalk Project, an application developer can:


  • Use all the features available in modern web browsers and get over the old standard Android browser limitations..ugh
  • Access the latest recommended and emerging web standards.
  • Use experimental APIs not available in mainstream web browsers.
  • Control the upgrade cycle of an application by distributing it with its own runtime.
  • Add custom extensions to an application, to leverage platform features not exposed by Crosswalk or the standardized web platform.

Why we used it?

We made a elevens 2048 game which worked great in the latest Android but
not in older versions  < 4

Workflow


Install the Cordova Command Line Interface (CLI)

$ npm install -g cordova   //Check that the version of Cordova CLI is >= 5.0.0:

$ cordova -v
5.0.0

Install the Crosswalk WebView plugin

$ cordova plugin add cordova-plugin-crosswalk-webview

This adds the Crosswalk WebView cordova plugin into the app.

Build with Crosswalk WebView engine for Android


$ cordova build android

It is as simple as that.

This automatically fetches the stable Crosswalk WebView libraries from the Crosswalk Project download site (https://download.01.org/crosswalk/releases/crosswalk/android/) and build for both X86 and ARM architectures. 
For example, building a HelloWorld project generates:

/path/to/hello/platforms/android/build/outputs/apk/android-x86-debug.apk
/path/to/hello/platforms/android/build/outputs/apk/android-armv7-debug.apk
The Crosswalk WebView library will be embedded in your app. This adds about 18 MB to the APK size which may be a problem



Download the Elevens 2048 Crosswalk mobile game app here and enjoy the mobile game game Elevens like 2048






Monday, November 16, 2015

Phonegap Apache Cordova now supports Android Marshmellow



Cordova Android 5.0.0


Apache Cordova has released Cordova Android 5.0.0 November 9th. Great
As they say with this release,' there is now support for Android Marshmallow permission checking in plugins. Due to the nature of the recent Android changes, the major version has been incremented to reflect the new API changes. Only plugins that use certain permissions as defined by Google are affected by this change. The following core plugins needed to be updated:'
  • cordova-plugin-camera
  • cordova-plugin-geolocation
  • cordova-plugin-contacts
  • cordova-plugin-file
  • cordova-plugin-media
"We are in the process of releasing these plugins to npm. If you decide to update to cordova-android@5.0.0 before we release the plugins, please install these updated plugins via gitfor now."
cordova plugin add https://github.com/apache/cordova-plugin-camera.git
Information on how to use the new Android Permission APIs can be found in the Cordova documentation.
Just started using it, will update on the bleeding edge bugs and broken wings in a week!
                             Hire Phonegap programmer







Thursday, November 12, 2015

Quadruple Benefits to help Boost Your Sales

Get Quadruple Benefits from Cross Platform Mobile Development Applications

With the rise of the Mobile First economy and as the app world rules, most software development companies have teams of developers to work on rising demands from customers.  As app ideas skyrocket they have to code apps for each of the varied  smartphone operating systems –viz iOS , Android, Windows, Firefox etc. Only savior for these hordes of smartphone app development companies is the cross platform mobile development applications to meet demand with its quadruple benefits


With a single code base with minimal  changes and customization it helps develop apps that can be used on all the mobile platforms using the cross platform mobile application development.  The prime goal of cross platform app development is to cater to as many consumers as possible in as many operating systems as possible

Cross platform development techniques especially with Adobe PhoneGap has the following advantages:


Much Greater Reach
The cross platform techniques helps reach a large number of customers using the many different mobile operating systems with comparatively less effort and higher quality for all the different mobile environments.  It is obvious that the more platforms that a company covers, the more people will it be able to target. When an app is available on all the leading platforms, the software development company shall have an added advantage of targeting a greater market potential. More the customers the merrier!


Slightly Easier Marketing
When there is a larger fan base, the cross platform development company’s marketing team need put less effort in the promotion of the app.

One Instead of Many
When releasing an update, it becomes very easy to do so as changes have to made at a single code base only. The updates would be released at the same time for all the different platforms. 

Uniform Look and Feel

The overall design and feel of the apps for all the platforms is more uniform as there is a single block of code (almost) that is executing for all the different platforms. When the same app is developed independently on different platforms, it is difficult to maintain a sync between the different developers but this situation does not arise or is minimal in cross platform app development .

Slightly Reduced Development Costs
When cross platform development is used, there is reduced development cost when making apps for multiple platforms. Along with development, the maintenance costs are also reduced as there is almost single code base with minimal customization to the operating system. There is no need to have bug tracking for a number of code bases or it is minimal
  
The leading cross platform mobile app development solution companies offer PhoneGap Development that helps you to create great native applications (mobile and desktop) for iPhone, iPad and Android . contact us for more information on how we can help you. Call the PhoneGap experts now, check out our apptitude for web programming also


Who Uses PhoneGap for mobile app development ?