@Monday, April 13 10:45 AM, I will be speaking in ApacheCon North America conference (that will be held from 13 April to 17 April @Austin, USA) about Apache Cordova under the session title “Apache Cordova In Action”. My session will be a practical one, it will discuss why there is a need for Hybrid mobile development, the current challenges of mobile development, and how using Apache Cordova can help in overcoming many of these technical challenges. It also highlights the best practices of using Apache Cordova with jQuery mobile.... [More]
Very good introduction into Apache Cordova
“This book is a very good introduction into Apache Cordova. It basically guides you from the basics to the API integration, then to the most common APIs. After that you get an overview on how to unit test the application and how to write your own plugins and in... [More]
One of the most interesting mathematical stuff is Permutation. A permutation is the act of re-arranging all the members of a set into some sequence or order, such that the order of selection always matters (unlike combination).
Assume that we have 3 balls (Red, Green and Blue). If we want all the possible permutation then we will have the following 6 possible permutation:
Red, Green, Blue.
Red, Blue, Green.
Green, Blue, Red.
Green, Red, Blue.
Blue, Red, Green.
Blue, Green, Red.
One of the most interesting mathematical stuff is Combination. A combination is a way of selecting members from a grouping, such that the order of selection does not matter (unlike permutation).
For example, assume that we have 6 balls (numbered from 1 to 6), and a person can select only 4 balls at a time.
According to Combination, all the possible 4 ball selections from the 6 balls are (6 Choose 4) which equal to... [More]
One of the most common scenarios is to implement login forms. In this post, I will show my thoughts regarding implementing a usable iPhone login form in iOS using Swift. Let’s check them one by one.
Moving up login elements when keyboard is present
One of the nice to have things is to move up the login elements when the keyboard is present after focusing on a text field as shown in the screenshot below.
In order to implement this behavior, you need to do the following:
Creating a Center Y alignment... [More]
“The book is an easy and comprehensive guide to whoever is interested in multi platform mobile development with examples it shows the full life cycle of developing mobile cordova apps.”
The book in Amazon:
Attached below the review of Werner Punz (Senior software developer for Irian GmbH, Apache MyFaces Committer, and a member of the JSF Expert Group) about the “Pro JSF and HTML5″ book:
Good but not perfect
“The book itself is a crash course in JSF with extensive JSF 2.2 coverage and component coverage.
The first part of the book is an introduction into JSF and JSF 2.2, the second part walks you through component creation the third part covers two of the most widely used component libs and the fourth... [More]
A fine guide for web and native developers alike!
“Fabulous coverage of a powerful and mature cross-platform library. The book goes through the basics over the first five chapters, making sure native app developers aren’t alienated by the diaspora of... [More]
It is really not so early to start working with the upcoming JSF 2.3 and testing it. In this post, I will show you how to get started in JSF 2.3 by building JSF (Mojarra) jars from its source then use them for your JSF 2.3 application which will run in Tomcat 7.
Building JSF Jars from SVN:
First of all, you need to make sure that you have both SVN and Apache Ant installed and configured in your operating system.
Check out the source code using the following SVN command:
svn checkout https :... [More]
In order to avoid being surprised by the loss of your recorded audio file in iOS, you should be aware of how to properly record and store a media file in Cordova iOS.
Generally, in order to record an audio file in Apache Cordova, you can use the Cordova Media object as follows:
var recordingMedia = new Media ( mediaFilePath , recordingSuccess , recordingError );
// Start Recording Audio
recordingMedia . startRecord ();
// Stop Recording Audio
recordingMedia . stopRecord ();
// Release Media resource
If you use Apache Cordova for developing your Android and Windows Phone 8 mobile apps, you may need to exit the app when the user clicks on the back button on the app’s home page, and to navigate back when the user clicks the back button and the current page is not the home page.
Note that back button usually exists in Android and Windows Phone 8 devices.
In order to do implement this behavior, you can implement the “backbutton” event handler after the “deviceready” event is triggered. This is an... [More]
One of the common issues when you use jQuery Mobile with Apache Cordova in many of the platforms especially in the old versions Android platform is that you feel that the transitions between the app pages are slow.
In this post, I illustrated the solution of this problem:
I just get back from JMaghreb 2014 that was held in Casablanca, Morocco 05-06 November 2014. The conference organization was fantastic and there were a lot of attendees in the conference sessions.
The session went great and I was glad to give a... [More]
One of the common issues when you use jQuery Mobile with Apache Cordova in Windows Phone 8 is the following:
Trimmed header title.
Footer is not aligned to bottom.
As shown in the following screenshot:
The following post shows you how to fix these issues:
What this book is about
Mobile development is one of the hottest trends and a staple in today’s software industry. Almost every popular website today has its own equivalent mobile application version to allow its current users to access its functions from a mobile device. However, developing mobile... [More]