Working with Panels, laying out components – Sencha Touch

It has been long since I am writing something on Sencha Touch as I was busy working on HTML5 mobile apps without using Sencha Touch. Soon I will be posting a tutorial on how to build mobile apps using plain JavaScript and HTML5 and not any external library. Ok, let’s get started, in some of the previous tutorials on Sencha Touch we have seen how to work mostly with List controls and customizing the List control to give it a look that you always wanted. However, the List control is a component and to host it, rather display it correctly we need some container element such as the Panel. In this tutorial we will see how to work with Panels.

Continue reading “Working with Panels, laying out components – Sencha Touch”


Calling phone numbers from web page – iPhone and Android

Ever wandered how to call a person’s number from your mobile phone browser by clicking a link or by pressing some button in your web page. Here is a quick example of how to call a phone number from your HTML page. The same technique works fine for both iPhone and Android’s web kit browsers.

From HTML (hyperlink)

<a href="tel:555-678-1234">Click to call</a>

From JavaScript

  function call() {
      window.location.href = 'tel:555-678-1234';

And then you can add your custom styles using CSS. Pretty simple but very effective sometimes.

Dennis Ritchie – creator of C language dies at 70

Dennis Ritchie, the designer and principal creator of the C language and co-creator of Unix operating system is no more and  was found dead on Wednesday (12th October 2011) at his home in Berkeley Heights, N.J. He was 70. He spent much of his career at Bell Labs. He was awarded the Turing Award in 1983, and the National Medal of Technology in 1999. He shaped the modern digital era by creating software tools that powered things as diverse as search engines like Google and smartphones. Many of the modern operating systems have been inspired by the C language and tools created by Ritchie. My special tribute to him as the C language was the first language that I learned during my college days and even got my first job based on a C interview test. The C language let me get going into the beautiful world of computer programming. Here is my small programming tribute to him,

printf(“Thank you !”);

Here is Dennis Ritchie’s home page from Bell Lab’s website : , you can read more about his works and about him.