Monthly Archives: June 2012

Creating a custom Sliding GalleryView with Paging in android

By | June 28, 2012

This is a simple example showing A sliding Gallery in android. This example shows a sliding gallery with a paging Control and a changing page text which also indicate the page change. Create a new project named “SlidingGallery” and copy this code into “SlidingGalleryDemo.java“. My Activity name is “SlidingGalleryDemo.java” here. Now create a new class… Read More »

How to delete a contact in android?

By | June 23, 2012

Hello all previously I have shown how to list all contacts in your phone and in another post I showed how to programatically create a contact in android. In today’s tutorial I will show you how to delete a contact in android programatically. This simple code does that.

Microsoft Introduces Surface – May be an iPad Killer.

By | June 21, 2012

when Microsoft unveiled the Surface tablet (actually a pair of them) Monday, the software company clearly had one ultimate goal: to make a tablet that’s better than the iPad. Unlike some hasty competitors, Microsoft took its time getting into the tablet game. Earlier this year, the company rolled out the Windows 8 operating system, software… Read More »

How to add a new contact programmatically in android?

By | June 18, 2012

We all know how to add a new contact to our android devices without programming right. OK that’s a normal man’s use. But what from a programmer’s view. This is the sample java code that helps you to add contact programatically. After running this programs please switch to contacts application on your device to see… Read More »

Placing Controls in a Widget in Android and Listening to the events from them.

By | June 15, 2012

Hello everyone.. I have already shown how to create a simple widget and add it to the home screen in my previous posts. If you have missed these posts please check it here. How to create a widget in android? In the next post I showed you how to listen to a widget delete action… Read More »

iOS 6 Has Been Jailbroken

By | June 14, 2012

That didn’t take very long. Just three days after being announced, iOS 6 has been, as the cool kids say, pwned by the Dev-Team with Redsn0W 0.9.13dev1. As hinted earlier this week the jailbreak doesn’t work with the iPhone 4S, but only the iPhone 4, iPod touch 4G, and the iPhone 3GS. There are some… Read More »

Android hits 900k activations per day

By | June 11, 2012

The Google Android Army is coming again… Google’s Android platform sees 900,000 activations a day, according to a tweet from Android head Andy Rubin. The statistic, of course, doesn’t distinguish between smartphones and tablets, so it’s hard to get a clear picture of the Android ecosystem. See more about this new from here. http://www.washingtonpost.com/business/technology/android-hits-900k-activations-per-day/2012/06/11/gJQA1tlfUV_story.html

How to get Notified when a widget is deleted?

By | June 10, 2012

I have already covered a tutorial on how to start with widgets and how to create a simple widget here.. http://www.coderzheaven.com/2012/06/07/create-widget-android/ Today I will show you how to get notified when a widget is deleted. if you have already gone through my previous post, then there is only a small change in the “MyWidget.java” file.… Read More »

Phone storage is getting low problem solved OR How to install apps on the SDCARD by default in your android device?

By | June 8, 2012

Often our android phones may get warning that “Phone storage is getting low” because your apps dont have space to be installed on the phone. I too had this problem. Then I found out the answer, after doing this all apps installed will go to the sdcard. First you have to enable USB debugging on… Read More »

How to create a widget in android?

By | June 7, 2012

Hello everyone… Today I will show you how to create a simple widget in android? First create a new project and name it “Widget1” and name the activity “WidgetDemo1“. Actually we dont need the activity class here. You can delete it and delete the corresponding entry of it from the AndroidManifest file also. Now we… Read More »

CoderzHeaven on Facebook, New Fan Page

By | June 3, 2012

Hai Friends.. PLease find us on Facebook for more updates. This is our new Fab page Url. http://www.facebook.com/CoderzHeavenFans By adding us on Facebook, you can get access to our new updates fast and get answers to your questions quickly. So please add us on Facebook. Please find us on Twitter also. https://twitter.com/coderzheaven

How to Check whether is GPS is enabled in your android device?

By | June 3, 2012

This simple code checks whether GPS in enabled in your android device or not. If the GPS is not enabled the user is redirected to the settings page. Turn off the GPS on your device and running it will display this screen. Please test GPS on the device because emulators don’t have GPS. But anyway… 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 »

WaterProof, DustProof and scratch resistant Smartphones arriving in the market – Xperia Go and Xperia Acro S

By | June 2, 2012

Sony has introduced two new durable and waterproof handsets. For once, rugged doesn’t equate with bad design. The two Android-powered handsets are svelte and streamlined but feature extra protection like scratch-resistant displays and wet finger tracking. Sony announces Xperia S, Xeria P, Xperia U and Xperia Sola in India Sony Xperia U goes on sale… Read More »