Skip to main content

Posts

Showing posts from 2012

SQ Lite Concepts

reference : http://www.vogella.com/articles/AndroidSQLite/article.html Table of Contents 1. SQLite and Android 1.1. What is SQLite? 1.2. SQLite in Android 2. Prerequisites for this tutorial 3. SQLite Architecture 3.1. Packages 3.2. SQLiteOpenHelper 3.3. SQLiteDatabase 3.4. rawQuery() Example 3.5. query() Example 3.6. Cursor 3.7. ListViews, ListActivities and SimpleCursorAdapter 4. Tutorial: Using SQLite 4.1. Introduction to the project 4.2. Create Project 4.3. Database and Data Model 4.4. User Interface 4.5. Running the apps 5. ContentProvider and sharing data 5.1. ContentProvider Overview 5.2. Own ContentProvider 5.3. Security and ContentProvider 5.4. Thread Safety 6. Tutorial: Using ContentProvider 6.1. Overview 6.2. Create contacts on your emulator 6.3. Using the Contact Content Provider 7. Activities, Loader and ContentProvider 7.1. Activities and Databases 7.2. Loader 8. Tutorial: SQLite, own ContentProvider and Loader ...

Android Reference Websites

Reference 1   - http://iserveandroid.blogspot.in/2010/11/using-canvas-to-draw-text-whereve-click.html Reference 2 -    http://iserveandroid.blogspot.in/ Reference 3- http://iserveandroid.blogspot.in/2010/11/using-canvas-to-draw-text-whereve-click.html Reference 4 - http://moorandroid.blogspot.com/ Reference 5- http://developer.android.com/ Reference 6- http://saigeethamn.blogspot.in/ Reference 7- http://www.bogotobogo.com/Android/android.php Reference 8 - http://w2davids.wordpress.com/ Reference 9- http://www.techienjoy.com/Android-interview-questions.php Reference 10- http://myandroidsolutions.blogspot.in/ Referebce 11- http://www.techgig.com/skillpage/Android/ Reference 12- http://blog.blundell-apps.com/ Reference 13- http://www.anddev.org/ Reference 14 -  http://www.androidpeople.com/ Reference 15 - http://www.devdaily.com/java/jwarehouse/android-examples/platforms/android-2/samples/ApiDemos/src/com/example/android/apis/view/index.shtml Reference 1...

Gridview with Custom Dialog

GridView with CustomDialog Here i'm giving example on GridView with Custom Dialog . main.xml:  <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_width="fill_parent"     android:layout_height="fill_parent"     android:orientation="vertical" android:background="#449444">     <GridView         android:id="@+id/gridView1"         android:layout_width="fill_parent"         android:layout_height="fill_parent"         android:columnWidth="90dp"         android:numColumns="auto_fit"         android:horizontalSpacing="10dp"         android:verticalSpacing="10dp"         android:stretchMode="columnWidth"         android:gravity="center" >     <...

Barcode Scanner sample

  main.xml  <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_width="fill_parent"     android:layout_height="fill_parent" android:orientation="vertical" android:layout_gravity="center"> <TextView     android:layout_width="fill_parent"     android:layout_height="wrap_content"     android:text="@string/hello"     android:gravity="center" android:textSize="25sp"/> <Button android:text="Scan QR Code" android:id="@+id/scanner" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" android:layout_gravity="center_horizontal"></Button> <Button android:text="Scan BAR Code" android:id="@+id/scanner2" android:layout_width="wr...