Category Archives: ANDROID

Samsung’s New Galaxy Grand with Dual-SIM, 5-Inch Display

By | December 19, 2012

Samsung has added the Grand, a new midrange smartphone, to its Android-running Galaxy lineup. At a glance, it strongly resembles the Galaxy S III, though Grand features a larger, though lower-resolution display—a 5-inch WVGA TFT LCD compared with the 4.8-inch HD Super AMOLED on the Galaxy S III—and will be available in a dual Subscriber… Read More »

A better Google News experience on tablets

By | December 18, 2012

There’s something special about reading news on your tablet. Indeed, swiping through articles brings to mind the familiar feeling of flipping through a favorite magazine or newspaper. Starting today, Google News feels even more natural and fluid on tablet devices. For example: You can find new articles, news sources, and even topics of interest with… Read More »

Samsung Galaxy S3 will get Android 4.1 Jelly Bean this Friday

By | December 17, 2012

US Cellular has announced that it would be rolling Jelly Bean out to its Samsung Galaxy S3 starting this Friday, December 21st. This would make it the fifth and final upgrade needing to go out to the Samsung Galaxy S3 here in the United States as all major carriers, including Verizon, will have been offering… Read More »

CoverFlow in Android – Complete implementation with source code.

By | May 12, 2013

Have you seen the coverflow in iPhone. This is the Android implementation of CoverFlow. Please leave your comments if this article is helpful for you. Let’s see how. This is the CoverFlow class that extends the Gallery. Now the main activity that implements the coverflow. OK Done. Now go on and Run your project. Download… Read More »

Best Buy offering Samsung Galaxy S III for $49 on December 16th

By | December 16, 2012

” Best Buy has been known to have some pretty good deals, but this one should have any Android fan pretty excited. Tomorrow only, Best Buy will be offering the famed Galaxy S III for only $49.99 with a new or renewed contract. This offer is good for all four major carriers: Verizon, AT&T, Sprint… Read More »

How to crop an Image in Android?

By | February 12, 2016

This is a sample program that launches the camera and crop the captured image. Check this link to another crop image example. http://www.coderzheaven.com/2011/03/15/crop-an-image-in-android/ This is the layout xml. activity_main.xml Now this is the Main Java File that implements the crop functionality. Here we are using the “com.android.camera.action.CROP” Intent to crop the Image passing the captured… Read More »

How to call a function using a String in Android and also pass parameters along with it.

By | December 12, 2012

Hi all … Today’s post is all about calling functions using Simple Strings. Here we will do two things. 1. Call a function without parameters. 2. Call a function with parameters. This is the class which contains the functions that we are going to call using “simple Strings”. Now this is the main activity that… Read More »

How to create Swiping Windows in Android from Android 2.1 onwards?

By | February 21, 2013

Have you seen the Google Play application in your Android phone. Wondered about how they implemented swiping windows in it. Don’t Worry, Here is an example which implements it. Here we will create three pages which can be swiped to access it. These are the three layouts for the three sections. section1.xml section2.xml section3.xml Now… Read More »

How to load a spinner with values from SQlite Database in android?

By | November 18, 2012

Here is a simple example showing how to load a database values in a spinner in android. OK we will start. This is the layout for the spinner row. spinner_row.xml This is the layout for the interface. activity_main.xml Now this is the MainActivity.java file that uses the spinner and the database. Join the Forum discussion… Read More »

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

By | October 22, 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 pass an arraylist value from one activity to another in android?

By | January 9, 2018

This simple example shows how to pass an ArrayList from one activity to another in Android. This is the first activity on which we are sending the arrayList. MainActivity Now this is the Second activity in which we are receiving the passed arrayList. SecondActivity Please check the Logcat for the Output. Source code You can… Read More »

ActionBar with Search Option and other options in Android.

By | May 9, 2013

I have already shown some examples with ActionBar. This is the example showing how to start with ActionBar in android. 1. Android removes the need of Menu button from devices with ActionBar. 2. How to start with ActionBar in Android? 3. Dynamically Adding, Removing, Toggling and Removing all ActionBar Tabs in Android – Part 2?… Read More »

How to use NumberFormat Class in Android? – Rounding a number in android, formatting, getting decimal values etc in android.

By | September 25, 2012

Dynamically Adding, Removing, Toggling and Removing all ActionBar Tabs in Android – Part 2?

By | September 25, 2012

Hi all.. In today’s post I will show you how to add actionbar tabs dynamically, remove one by one , hide and unhide them, removing all tabs at once etc. This simple java code does that. First create a project and in the MainActivity, paste this. You may be getting many errors, we will be… Read More »

How to find your Google Plus ID

By | May 6, 2013

This is so simple 1. Go to your Google + account (https://plus.google.com/). 2. Click on the Profile icon on the Left. 3. If you look at the URL in the address bar, it should look something like this: https://plus.google.com/104653270154306099169/posts 4. The long numerical string in the URL is your Google+ ID. Here is CoderzHeaven’s from… Read More »

How to get table values from a MySQL database and show it in Android as Tables.?

By | January 18, 2017

Here we are accessing a mysql database and get the table values and show it in the Android side as tables. These are some tutorials that I have posted on connection with php and getting tablevalues. 1. Android phpmySQL connection redone. 2. Simplest Lazy Loading ListView Example in Android with data populated from a MySQL… Read More »

Simplest Lazy Loading ListView Example in Android with data populated from a MySQL database using php.

By | September 25, 2012

Hello all… You may have seen many implementations of Lazy Loading ListView. Today I will show you my method to create Lazy Loading ListViews. I dont know whether it can be any more simple than this. In this I am using AsyncTask to download each image. So we will start. Here we have 6 classes.… Read More »

How will you create a custom Notification in Android with a custom Layout?

By | September 13, 2012

This sample application does that. First create an xml for your notification. custom_notification.xml Now the java code.

How to create a Scrolling Text (marquee) in android using TextView?

By | September 15, 2012

OK At first we will create the XML that contains a TextView. marqueetext.xml Now the java code Note : The XMl alone will not create the marquee. For that the most important thing is to do this in java code. Now run the project and see the result.

How to Uninstall Avast Anti Theft for Android?

By | August 23, 2018

If you have installed Avast and the Avast anti theft application on your Android and decide you no longer need it, you may find it difficult to remove. It is protected so you first need to remove it’s protection. Here’s how to do it. Go to Device Settings Security Select Device Administrators – you can… Read More »

How to create a blinking text in Android?

By | September 13, 2012

Hello everyone… Here I am explaining two methods on how to create a blinking textview in Android. One with the help of Animation class and other with a Logic. Now let’s see that.. Place a textview with an id of “tv” in your layout and attempt this. Download the complete android source code from below.… Read More »