Block navigation tray from expanding android

August 27, 2014 / 0 comments

Source: The app is not made full screen. We put a overlay over the status bar and consumed all input events. It prevented the status from expanding. We could not prevent the status appearing in full screen mode in kitkat devices, so made a hack which still suits the requirement ie block the status…

Read more →

Hybrid App UI Framework Comparison

April 11, 2014 / 0 comments

The days of just native app are about to be extinct in mere future. The trend is turning over other alternatives to build rapid and native like apps. This is where cross platform Apps come into picture. As the name suggest cross platform apps are the apps that you develop (code) once and will be…

Read more →

Some useful tips to beautify and ease the use of git command line tool in OSX

April 9, 2014 / 0 comments

Prerequisites Make sure your git version is up-to date You can use the command git –version to check your current git version. The latest version for mac is 1.9.0, it was released about a month ago, on 17-feb-2014. You can download the latest git from here and install it to update the git version. Curl…

Read more →

Consuming SOAP services

April 1, 2014 / 1 comment

Consuming SOAP services in iOS SOAP, originally defined as Simple Object Access Protocol, is a protocol specification for exchanging structured information in the implementation of Web Services in computer networks. It relies on XML Information Set for its message format, and usually relies on other Application Layer protocols, most notably Hypertext Transfer Protocol (HTTP) or…

Read more →

Javascript Promises

March 6, 2014 / 0 comments

Promise is a method of resolving a value in an asynchronous manner. promises are the objects that represent the return value or thrown exception that a function may eventually provide. Promises are incredibly useful in dealing with remote objects, and we can think of them  as a proxy for our remote objects. Q : Why…

Read more →


February 18, 2014 / 0 comments

iBeacon is a micro locating indoor position system that Apple Inc. calls “a new class of low-powered, low-cost transmitters that can notify nearby iOS 7 devices of their presence.” They can also be used by the Android operating system. The technology enables an iOS device or other hardware to send push notifications to iOS devices…

Read more →

IOS Image Processing Libraries/Frameworks, OCR and Image Utilities

February 10, 2014 / 0 comments

  Simplicity is the ultimate sophistication. ~ Leonardo da Vinci   Let me keep it simple and direct. For those newbies, kindly go through the presentation here to learn the basics of image processing.   1) GPUImage library (>iOS 4.0) Description: This fantastic library allows you to recreate almost any effects you can do in Photoshop, limited…

Read more →

How to invoke a Javascript method from Objective C?

February 4, 2014 / 0 comments

If you are using .js files in your application, at times you may need to invoke methods in those files. You can achieve it in two easy steps. 1. Construct a NSString object containing “javascript:” followed by “methodName”. 2. Use the stringByEvaluatingJavaScriptFromString: method which will invoke the javascript method   Example:   Javascript Code:   var x…

Read more →

One of the ways to invoke Objective C code from Javascript code

February 4, 2014 / 0 comments

The UIWebView calls its delegate several times while loading content from the web. The webView:shouldStartLoadWithRequest:navigationType: is the one we are interested in. Consider the following Javascript code: var sendToApp = function(_val) { var iframe = document.createElement(“IFRAME”); iframe.setAttribute(“src”, _val); document.documentElement.appendChild(iframe); iframe.parentNode.removeChild(iframe); iframe = null; }; var requestType = function(_mssg){ sendToApp(“hello”); }; The above just takes a…

Read more →

Tips to get a rounded Image View

January 31, 2014 / 0 comments

We are aware that when we make use of UIImageView in our code, we get a rectangular image view. One of the recent Client requirements was to display a rounded image on the screen. With just a few lines of code and by using a method one can easily achieve that.   Setting up the…

Read more →