Tag Archives: Mail

Samsung Galaxy Note 3 in India for Rs.49990

By | September 20, 2013

Here are Galaxy note 3 specs. General 2G Network GSM 850 / 900 / 1800 / 1900 3G Network HSDPA 850 / 900 / 1900 / 2100 4G Network LTE SIM Micro-SIM Announced 2013, September Status Coming soon. Exp. release 2013, September Body Dimensions 151.2 x 79.2 x 8.3 mm (5.95 x 3.12 x 0.33 in) Weight 168… 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 [xml] <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation = "vertical" android:id="@+id/tv" android:layout_margin="10dp"> </TextView> [/xml] This is the layout for the interface. activity_main.xml [xml] <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"… Read More »

Get All Details from Contacts in ANDROID.

By | June 13, 2011

Hi all.. In today’s post I will show you how to get all information from the ANDROID Contacts programatically. Just copy and paste this code to your mail java file and check the Logcat for output. [java] package pack.coderzheaven; import android.app.Activity; import android.content.ContentResolver; import android.database.Cursor; import android.os.Bundle; import android.provider.ContactsContract; public class GetContactsDemo extends Activity { /** Called when… Read More »

Working with SQLite Database in ANDROID.

By | February 14, 2011

Below is a straight forward example of how to deal with SQLite database in ANDROID. Go ahead and copy and paste the following code to your java file. The example has one database and performs functions like insert delete and listing of values in a textView. [java] package com.database; import android.app.Activity; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import… Read More »