Tag Archives: Interface

How to write a custom content provider in android? with a sample application using our own custom content provider.

Hello all we all know what are content providers right? Those who are unaware of content providers please visit this link http://developer.android.com/guide/topics/providers/content-providers.html In a breif content Providers are Content providers manage access to a structured set of data. They encapsulate the data, and provide mechanisms for defining data security. Content providers are the standard interface that connects data… Read More »

How to extend a Dialog class and write it’s button click on your activity using Interfaces in Android?

Hello all……. This tutorial is all about writing your own Dialogs and implementing the click or touch on any of it’s views in another class (say another activity). This is primarily useful if we have a common dialog and have to handle it’s button click in different ways in different activities. Here what we will do is 1.… Read More »

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

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 on this post… Read More »

PhoneEasy 740, the world’s simplest Android phone!

The latest device to be unveiled by Doro is probably their most interesting ever, as it combines Android’s functionality with an easy to use interface and pretty decent hardware. The PhoneEasy 740 is still in the last stages of pre-production, but the manufacturers are hoping to iron out all the little kinks in time for a US release… Read More »

How to get the SMS sent to your emulator within your application? OR Get notified when an SMS arrives to your phone.

Actually these are done using services in ANDROID. These are called BroadcastReceivers.Your class has to extend the BroadcastReceiver class to get these broadcast events. But note that these services need to have an interface. So you will not see any UI on the device. But don’t think your application is not running or not installed. Look at the… Read More »