Tag Archives: Coderz

What is Scope and RootScope in Angular JS? with examples

By | August 10, 2017

Scope Scope is the binding part between the HTML (UI) and the Javascript (the Controller). Scope object contains the available properties and methods. Scope is accessible in both HTML and Javascript. Scope Example Root Scope Root Scope is created on the HTML element that contains the ng-app directive Root Scope is available for the entire… Read More »

How to pass an Object from One Activity to another in Android.

By | November 5, 2012

Hello all This is a simple post that shows How to pass an Object from One Activity to another in Android. I am going to pass the following object from One Activity to another. MyObject{ String name; String website; } This is the class that defines the Object. This is the first activity that sends… Read More »

How to override hardware Home button in android? OR How to listen to home button click in android?

By | June 2, 2012

Hello everyone… In this post I will show you how to listen to hardware button in an android smartphone. This post especially shows how to listen to the home button in android. But my advice is never override the home button in your app. Home button is to move the currently running process to background.… Read More »

New features in Android GingerBread OS version from Google

By | March 8, 2012

1. Support for Mobile Payments Android phones which have android gingerbread option will help you pay all your bills through your mobile phone. No need to wait in line or switch on your computer to pay bills. Sit in your office and pay your bills using android OS gingerbread. 2. One Touch Copy and Paste… Read More »

How to use global variables in android? -Part 2

By | February 20, 2012

Hello all…. In a previous post I showed a method to share global variables across your android application. Those were done using a static class. Now today I will show you another way of sharing global variables across the application Check these posts for sharing data across the application. 1. http://coderzheaven.com/2011/05/global-variables-in-android/ 2. http://coderzheaven.com/2011/05/global-variables-in-android%e2%80%a6/ 3. http://coderzheaven.com/2011/03/passing-data-between-intents-in-android/… Read More »