. f 2012 ~ Android Developers Blog

Sunday, 23 December 2012

Open a new Activity on Receiving the notification in Android

Hello Droid Guys, In this tutorial , I am going to explain how to open a new activity class whenever a push notification comes on your device. Step 1. For this first of all follow Android Goggle Cloud Messaging  .              In this blog I already explain...

Android Goggle Cloud Messaging | GCM | Android push notification

Hello Droid Guys, This tutorial helps you to implement “Google Cloud Messaging for Android (GCM)"  and sending "Android Push Notification" using GCM.  According to Google, “Google Cloud Messaging for Android (GCM)" is a service which  helps developer in sending data from server to there "Android Application" whenever  there is new data added...

Android toggle button

Hello Droid Guys, Today ,I am sharing the code of custom toggle button in android. How to make a toggle switch button like iPhone. 1. Create a new project in Eclipse File New ⇒ Android ⇒ Application Project and fill the required details. 2. Create required files needed to show a toggle...

Friday, 14 December 2012

Photo capture Intent causes NullPointerException on Samsung phones only

Hello Dorid Guys, Yesterday, I came across  a weird situation . In my application ,I am capturing an image from camera and displaying it inside an imageview. I tested its functionality on many of android device and its working  fine except "Samsung Galaxy Tab". In Samsung device the capture...

Thursday, 6 December 2012

Close Popup window on click of backbuttun in android

Hello Dorid Guys, Yesterday, I stuck in a weird situation , the android popup button will not closed on pressing back button . On android physical back button pressed I am calling popupWindow.dismiss(); But it not works for me :( . After spending 1-2 hrs on it ,...

Tuesday, 13 November 2012

Android horizontal listview | horizontal listview | android listview | android custom horizontal listview

Hello Droid Guys, In android , there is ListView tag in xml, with the help of this we can show list view but its apperance is vertically not horizontally and if you want to show a horizontal listview then you have to make your custom view, 1. Create...

Thursday, 8 November 2012

turn on or off the wifi connection in android Programatically

Hello Android Guys, This is a simple tutorial which covers following parts:      1. Programatically  turn on or turn off the wifi connection without going to setting option          in android. For this you have to do two things      A. Passing Permission inside your...

Can't create handler inside thread that has not called Looper.prepare()

Hello Friend , Today, I Stuck with a Weird issue. Calling a thread inside ui thread handler. I am facing "Can't create handler inside thread that has not called Looper.prepare()" error. After spending lots of time finally , my problem is fixed. Here is my approach.      1....

Tuesday, 23 October 2012

Android Search Functionality with ListView same as Google search functionality

Hello Friends, Hello Friends , have you searching for Google like search functionality in your Android application ?? Search bar in android search icon inside edit text 1. Create a new project in Eclipse File New ⇒ Android ⇒ Application Project and fill the required details. 2. Create required files needed to...

 

Copyright @ 2013 Android Developers Blog.