Tech I Enjoy Logo
Custom Search
   Log In    OR    Register  


Following Example is about showing a way to write thread that can run in background
and update back to the UI without getting any exception for unresponsiveness UI :

main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView  android:id = "@+id/txtView"
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:text=""
    android:textStyle="bold" android:textSize="50px"
    />
</LinearLayout>
<--- Android Examples
The above screen shows the last digit after incrementing through 0 to 9. and the Activity code is as follows: UIThreadExample.java
package com.techienjoy.example;

import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.widget.TextView;

public class UIThreadExample extends Activity {
    private Handler handler = new Handler();
    TextView txtView;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        ExampleRunnable runnable = new ExampleRunnable();
        Thread thread = new Thread(null,runnable,"thread");
        thread.start();
        txtView = (TextView) findViewById(R.id.txtView);
    }
    private class ExampleRunnable implements Runnable {
        int j=0;
        @Override
        public void run() {
            
            for(int i=0;i<10;i++) {
                j = i;
                handler.post(new Runnable() {

                    @Override
                    public void run() {
                        txtView.setText(j+"");
                    }
                    
                });
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException e) {
                   
                    e.printStackTrace();
                }
                
            }
            
        }
        
    }
}
<--- Android Examples
Writing a simple SAX Parser using Android Platform : In the following section I am going to walk you through a simple question on how to write some example using SAX Parser and URL file reader using Android Platform, and all these are to be performed in non-UI Thread using AsyncTask class from Android API. As of writing this page, I have written code for downloading a XML file from the URL passed to the class extending AsyncTask class from Android API. SAXParserExample.java
package com.techienjoy.example;

import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;

import android.app.Activity;
import android.content.Context;
import android.net.ConnectivityManager;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class SAXParserExample extends Activity {
    
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        final EditText editText= (EditText) findViewById(R.id.edtTxt);
        Button button = (Button) findViewById(R.id.button);
        button.setOnClickListener(new OnClickListener() {
            
            @Override
            public void onClick(View v) {
                ConnectivityManager conMgr = (ConnectivityManager) getApplicationContext()
                                                .getSystemService(Context.CONNECTIVITY_SERVICE);
                 if(conMgr != null && conMgr.getActiveNetworkInfo() != null 
                                   && conMgr.getActiveNetworkInfo().isAvailable()) {
                
                ParserHelper parserHelp = new ParserHelper(getApplicationContext());
                parserHelp.execute(editText.getText().toString());
                 } else {
                    Toast.makeText(getApplicationContext(), 
                                   "No Network Connection", Toast.LENGTH_LONG).show(); ;
                }
            }
        });
    }
    private class ParserHelper extends AsyncTask<Object, Integer, Long> {

        private Context context;
        public ParserHelper(Context ctx) {
            context = ctx;
        }
        private Long doWork(Object param) {
            URL url;
            URLConnection ucon = null;

            InputStream din = null;
            int total = 0;
            int count = 0;
            try {
                url = new URL((String) param);
                ucon = url.openConnection();
                din = ucon.getInputStream();
                StringBuffer stb = new StringBuffer();
                
                byte[] bt = new byte[din.available()];
                while((count = din.read(bt)) != -1) {
                   
                    total += count;
                    stb.append(new String(bt));
                    bt = new byte[din.available()];
                    publishProgress(total);
                }
InputSource inSource = new InputSource(new StringReader(stb.toString())); SAXParserFactory factory = SAXParserFactory.newInstance(); SAXParser saxParser = factory.newSAXParser(); saxParser.parse(inSource, new DefaultHandler() { @Override public void characters(char[] ch, int start, int length) { Toast.makeText(context,new String(ch),Toast.LENGTH_LONG).show(); } });
} catch (MalformedURLException e) { } catch (IOException e) { } return new Long(total); } @Override protected Long doInBackground(Object... params) { return doWork(params[0]); } @Override protected void onProgressUpdate(Integer... progress) { Toast.makeText(context, progress[0]+" ", Toast.LENGTH_LONG).show(); } @Override protected void onPostExecute(Long result) { Toast.makeText(context, result+" ", Toast.LENGTH_LONG).show(); } } }
<--- Android Examples
main.xml layout file of this example is as follows: main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#FFFFFF"
    >
    <TableLayout android:layout_width="fill_parent"
                 android:layout_height="wrap_content">
        <TableRow android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal">
           <EditText android:id="@+id/edtTxt" android:layout_width="wrap_content"
                  android:layout_height="wrap_content" android:width="200dp">
                  
           </EditText>
           <Button android:id="@+id/button" android:layout_width="wrap_content"
                  android:layout_height="wrap_content" android:text="Show"/>
        </TableRow>
    </TableLayout>
    
</LinearLayout>

<--- Android Examples
In the above code the portion of code marked in pink is doing the parsing activity for the XML data read from the URL, but to my observation, this code is not working and I don't know yet how to resolve this. If anyone has any saying on this, please write to me your response at "techienjoy @ yahoo.com" Today@ 23rd March 2012: I have managed to code a very simple example using SAX parser, only one thing is hard-coded, that the XML string is hard-coded in this example. One can write code to download required XML file and create a XML string from it. SAXParserDemo.java
package com.techienjoy.example;

import java.io.IOException;
import java.io.StringReader;
import java.net.MalformedURLException;

import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;

import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;

import android.app.Activity;
import android.content.Context;
import android.net.ConnectivityManager;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class SAXParserDemo extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        final EditText editText= (EditText) findViewById(R.id.edtTxt);
        Button button = (Button) findViewById(R.id.button);
        button.setOnClickListener(new OnClickListener() {
            
            @Override
            public void onClick(View v) {
                ConnectivityManager conMgr = (ConnectivityManager) getApplicationContext()
                                                .getSystemService(Context.CONNECTIVITY_SERVICE);
                 if(conMgr != null && conMgr.getActiveNetworkInfo() != null 
                                   && conMgr.getActiveNetworkInfo().isAvailable()) {
                     
                     runOnUiThread(new Runnable(){

                        @Override
                        public void run() {

                            try {
                                StringBuffer stb = new StringBuffer();
                                if(!editText.getText().toString().equals("")) {
                                  stb.append(editText.getText().toString());  
                                } else {
                                  stb.append("<books><title>test</title>" +
                                  		     "<datePublished>2012-03-21</datePublished>" +
                                  		     "</books>");
                                }
                                InputSource inSource = new InputSource(
                                                        new StringReader(stb.toString()));
                                SAXParserFactory factory = SAXParserFactory.newInstance();
                                SAXParser saxParser = factory.newSAXParser();
                                saxParser.parse(inSource, new DefaultHandler() {
                                  @Override
                                  public void characters(char[] ch, int start, int length) {
                                    Toast.makeText(getApplicationContext(),
                                                   new String(ch),Toast.LENGTH_LONG).show();
                                  }
                                });
                                
                            } catch (MalformedURLException e) {
                                
                            } catch (IOException e) {
                            } catch (ParserConfigurationException e) {
                            } catch (SAXException e) {
                            }
                            
                        }
                         
                     });
                 }   
            }
        });
        
    }
}
<--- Android Examples
This above code is going to show TOAST message containing data from the XML string or value from the tags. Android API for Bluetooth : Android Platform supports bluetooth, and so are the related class files from Android Platform is going to make interaction with Bluetooth functionality of the Smartphone real handy. android.bluetooth.BluetoothAdapter class file is providing basic Bluetooth functionalities of the device running on Android Platform. Some of these tasks are initiate device discovery, querying and finding list of already paired devices, instantiate a BluetoothDevice using an address, creates a BluetoothServerSocket for listening to incomming bluetooth socket connections from other devices. Android API for Phone Camera : In the following sections to come I shall try to walk you through an example with source code whereby I shall be using Camera Android API for doing basic operations, such as Camera Preview, Taking Pictures, Doing Face detection from within the picture captured using Camera hardware present in any Android based Camera Phones. main.xml - Layout for showing various Android widgets to be laid out:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <SurfaceView android:id="@+id/surfaceview" 
                 android:layout_width="200dp" 
                 android:layout_height="200dp"/>
    <TextView android:id="@+id/numfaces" 
              android:background="#FFFFFF" 
              android:layout_width="30dp" 
              android:layout_height="30dp"/>
    <Button android:id="@+id/stopbutton" 
            android:text="Stop Preview" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content"/>
    <Button android:id="@+id/startbutton" 
            android:text="Start Preview" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content"/>
    <Button android:id="@+id/picbutton" 
            android:text="Take Picture" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content"/>    
</LinearLayout>
<--- Android Examples
CapturePreviewImage.java
/**
* This code is provided "AS IS" without any
* thorough testing on real devices. If you are going to use it, 
* use it at your own risk.
* Contact Author in case willing to contribute: 
* reaching @ techienjoy . com 
* Copyright: 17th-Feb-2012
*/
package com.techienjoy.example;

import java.io.IOException;

import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.hardware.Camera;
import android.hardware.Camera.Size;
import android.media.FaceDetector;
import android.media.FaceDetector.Face;
import android.os.Bundle;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class CapturePreviewImage extends Activity implements 
                                              SurfaceHolder.Callback {
    private Camera camera;
    private TextView txtView;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        txtView = (TextView) findViewById(R.id.numfaces);
        SurfaceView surfaceView = (SurfaceView) findViewById(R.id.surfaceview);
        SurfaceHolder surfaceHolder = surfaceView.getHolder();
        surfaceHolder.addCallback(this);
        surfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
        surfaceHolder.setFixedSize(200, 200); //hard coded
        Button button = (Button) findViewById(R.id.stopbutton);
        button.setOnClickListener(new View.OnClickListener() {
            
            @Override
            public void onClick(View v) {
                camera.stopPreview();

            }
        });
        Button button1 = (Button) findViewById(R.id.startbutton);
        button1.setOnClickListener(new View.OnClickListener() {
            
            @Override
            public void onClick(View v) {
                camera.startPreview();

            }
        });

        Button button2 = (Button) findViewById(R.id.picbutton);
        button2.setOnClickListener(new View.OnClickListener() {
            
            @Override
            public void onClick(View v) {
                camera.takePicture(new CustomShutter(), null, 
                                              new CustomPictureCallback());

            }
        });

    }

    @Override
    public void surfaceChanged(SurfaceHolder holder, int format, int width,
            int height) {
    }

    @Override
    public void surfaceCreated(SurfaceHolder holder) {
        try {
            camera = Camera.open();
            camera.setPreviewDisplay(holder);
            
            camera.startPreview();
            
        } catch (IOException e) {
           
            e.printStackTrace();
        }
        
    }

    @Override
    public void surfaceDestroyed(SurfaceHolder holder) {
    }
    class CustomPictureCallback implements Camera.PictureCallback {
        private Bitmap bitmap;
        @Override
        public void onPictureTaken(byte[] data, Camera camera) {
            Size previewSize = camera.getParameters().getPictureSize();
            bitmap = BitmapFactory.decodeByteArray(data, 0, data.length);
            
            if(bitmap != null) {
           
            FaceDetector faceDetector = 
                   new FaceDetector(previewSize.width, previewSize.height, 2);
            Face[] faces = new Face[2];
            int facesNum = faceDetector.findFaces(bitmap, faces);
            txtView.setText(""+facesNum);
            } else {
             txtView.setText("0");
            }
            
        }
        
    }
    class CustomShutter implements Camera.ShutterCallback {

        @Override
        public void onShutter() {
            
        }
        
    }
    @Override
    public void onDestroy() {
        super.onDestroy();
        if(camera != null) {
            camera.release();
        }
    }
 }
<--- Android Examples
This is the main Activity that has code for controlling Camera previews, taking pictures and its related callbacks, camera shutter callbacks etc. In order to assemble and make this example run using Eclipse with Android Plugin, following steps would come handy I guess: 1. Create a project of Android Project type. 2. By using above code appropriately and building the final deployable *.apk file under bin folder, one can test it either by using Android Emulator or a real device/phone using Android Platform.
  

Examples on Android Platform:

Layout using Android Platform.
Example on Layout using Android Platform 
with source code.

Gallery Surfaceview Usage
Android Gallery Surfaceview Example
with source code discussed.

Text to speech example
Android Text to speech example
with source code for reference.

Application on Android Platform

Article Dated : 12 December 2011 : 
Expandable List Example on Android Platform

Article Dated : 17 December 2011 : 
Dynamically creating List Example on Android Platform

Article Dated : 19 December 2011 : 
Dynamically creating ExpandableListView Example on Android Platform

Article Dated : 21 December 2011 : 
ListView Example on Android Platform

Article Dated : 23 December 2011 : 
Hardware sensors on Android Platform

Article Dated : 26 December 2011 : 
Customized ListView on Android Platform

Article Dated : 27 December 2011 : 
Customized TabActivity on Android Platform

Article Dated : 28 December 2011 : 
Gallery Widget and ImageView example on Android Platform
   
Article Dated : 29 December 2011 : 
Gallery Widget and ImageView example Enhanced on Android Platform
   
Article Dated : 01 January 2012 : 
File and Folder Explorer designed using Android API

Article Dated : 08 January 2012 : 
DatePickerDialog from Android API

Article Dated : 10 January 2012 : 
TimePickerDialog from Android API
This is an example showing
a simple way to use 
TimePickerWidget from Android API.

Some of the other Articles you may would like to read :
Android Intent Broadcast Receiver Example :
Example using Intents from Android Platform
using a Broadcast and Receiver Example
Android Grids :
Grids on Android Platform
Android Canvas Draw Example :
Example using Canvas for drawing multiple shapes
and using touch event listener as well.
Android Internal memory :
Internal memory on Android Platform
Android Custom View Example :
Example using Custom View using Android Platform
and source code implementing this example.
Android Data Example :
Example on using Android Data Example.
Android ImageButton Example :
Example using ImageButton using Android Platform
and source code implementing this example.
Android Smartphone list :
Android Smartphone list.
Android Batch Projects :
Projects Batch on Android Platform
Android View LayoutParams Example :
Example using View LayoutParams using Android Platform
and source code implementing this example.
Android RelativeLayout Example :
Example using RelativeLayout using Android Platform
and source code implementing this example.
Android Sensors Example :
Example on Android Sensors Listed and
explained with a very simple scenario 
and article with appropriate screens 
captured and shown.
Receiving Intent Notification Example :
Using Intent to send a notification 
on receiving an Intent on Android Platform
Android GridView Example :
Example using GridView Widget using Android Platform
and source code implementing this example.
Google GWT Example :
Example using GWT and some design patterns and various
ways of implementing this example.
Android ListView Example :
Example on Android ListView 
explained with a very simple scenario
whereby showing folder and files with
structure and appropriate screens 
captured and shown.
Android Robots Example :
Example using Borots using Android Platform
and source code implementing this example.
Android SQL Example :
Example on using Android and SQL Example.
Android NFC Example :
Example using NFC using Android Platform
and source code implementing this example.
Android Smartphone online :
Android Smartphone online.
Wizard Framework using Java Platform :
Example using Custom Wizard Framework 
with code and explained
Example of using Log4J Part 2 :
Log4j example with source code on Java Platform.
Android Clouds :
Clouds Projects on Android Platform
Android Edittext Example :
Example using EditText using Android Platform
and source code implementing this example.
Android ListView Example :
Example on Android List View
explained with a very simple scenario 
and article with appropriate screens 
captured and shown.
Using Different Logger Files :
Example on using different log files 
using Apache Log4j Framework.
Android Customize Example :
Example using Customized Android Platform
and source code implementing this example.
Android Developments Projects :
Projects Development on Android Platform
Android DatePickerDialog Example :
Example on Android DatePickerDialog
explained with a very simple scenario
and appropriate screens captured and shown.
Android TextView Link Example :
Example using a hyperlinked Text using Android TextView
Android Draw Example :
Example using Draw using Android Platform
and source code implementing this example.
Android Span Undelined Text Example :
Example using span for creating 
a hyperlinked Text using Android TextView
Android Tech Example :
Tech related discussion on Android Technology
Android Gallery Example Enhanced :
Example on Android Gallery View
explained with a very simple scenario
and appropriate screens captured and shown.
Android Questions :
Questions on Android Platform
Android Preferences Example :
Example on using Android Preferences.
Android ViewGroup Example :
Example using ViewGroup using Android Platform
and source code implementing this example.
JSF example on validation :
JSF Validation with example with source code 
on Java Platform.
Web Load Test with example :
Example using Load test functionalities 
with code and explained
Android Answers :
Answers of Questions on Android Platform
Android User Interface :
User Interface on Android Platform
Android Smartphone reviews :
Android Smartphone reviews.
Android Smartphone guide :
Android Smartphone guide.
ESB Interview Questions Answer :
ESB Interview Questions Answer
JSF example with source code :
JSF example of Tags and checkboxes 
with source code on Java Platform.
Example of using Mule ESB JMS Transport :
Example of using Mule ESB JMS Transport with simple
to explain source code.
Android Service :
Android Service details
Android Data Access Example :
Example on using Android Data Access.
Android Intent Example :
Example using Intent from Android Platform
and source code implementing this example.
Android Tests :
Tests on Android Platform
Android Smartphone OS :
Android Smartphone OS.
Android Performance :
Performance on Android Platform
DOJO Dialog Example :
Example on using DOJO Dialog
explained with a very simple scenario
Android Database Example :
Example on using Android Database.
Android Smartphone apps :
Android Smartphone apps.
Android Smartphone comparison :
Android Smartphone comparison.
Android Interview Questions Answer :
List of Interview Questions and answer on Android Technology
JSF example with source code :
JSF example with source code on Java Platform.
Android UIThread Animation Example :
Example using UI Thread for animating multiple images
in a sequence of flow.
Android Example on Expandable List :
Example on using Expandable ListView
on Android Platform.A step by step source code
explained.
Android Canvas Example :
Example using Canvas using Android Platform
and source code implementing this example.
DOJO Tree Widget Example :
Example on using DOJO Tree Widget
explained with a very simple scenario
Android Process :
Processes on Android Platform
Android Text to Speech Example :
Android Example on using Text
2 Speech conversion explained with
source code Explained.
Android Benchmark Projects :
Projects Benchmark on Android Platform
Android Content Provider Example :
Example on using Android Content Provider.
List of Examples on Various Technologies :
List of Examples on Various Technologies and Frameworks.
Android Orientation Sensor Example :
Example using Orientation Sensor using Android Platform
and source code implementing this example.
Android Menu and MenuItem Example :
Example using Menu and MenuItem using Android Platform 
with code and explained
Android ListView Example :
Example on Android ListView and
explained with a very simple scenario 
and article with appropriate screens 
captured and shown.
JSF example on Resource Bundle :
JSF example of Resource Bundle with source code 
on Java Platform.
Android Designs :
Designs on Android Platform
Android Shared Preferences Example :
Example on using Android Shared Preferences.
Android Architectures :
Architectures on Android Platform
Android Examples :
List of ANDROid examples
with source code and output
screens captured and shown.
Using Apache Commons Log With Example :
Example using Apache commons log 
with code and explained
Android SQLLite Example :
Example on using Android SQLLite Example.
Android Security Features :
Security Features on Android Platform
Using Quartz Scheduler Example :
Example on how to use Quartz Scheduler.
Android Interface :
Interfaces on Android Platform
Android ListView with Click Event :
Example on using Android ListView with Click Event.
Android Encryption :
Encryption Features on Android Platform
Android ViewFlipper Animation Example :
Example using ViewFlipper for animating multiple images
in a sequence of flow by appropriate flippering.
Android Students Projects :
Students Projects on Android Platform
Android Tab View Example :
Example on Android Tab View
explained with a very simple scenario
and appropriate screens captured and shown.
Android Image Gradient Merge :
Example using Images and Gradient Shape using
Android Platform.
Android Spinner Example :
Example using Spinner using Android Platform
and source code implementing this example.
Android Customized ImageButton Example :
Example using ImageButton and customized to show
a different view altogether and source code implementing
this example.
JDBC Transaction Isolation Levels :
A short write-up on JDBC Transaction
Isolation showing ways to achieve
various Isolation levels using JDBC.
Android Example on Downloading AnyFormat :
Example on ways to download any file with
any format using Android Platform.
Android Deploy :
Deploy Projects on Android Platform
JSF example with source code :
JSF example of Tags and SelectBoxes 
with source code on Java Platform.
Android Animation Example :
Example using Animation using Android Platform
and source code implementing this example.
Android SQLite Example :
Example on using Android SQLite Example.
Android ImageView Example :
Example on using ImageView using 
Android Platform. A very simple to setup
and see it working.
Android Gallery with SurfaceView :
Example showing Android Gallery
with SurfaceView and Spinner
Example of using Mule ESB File Transport :
Example of using Mule ESB File Transport with simple
to explain source code.
Log4j Interview Questions Answer :
List of Interview Questions and answer on Apache Log4j
Android Testers :
Testers on Android Platform
Android WebView Example :
Example using WebView using Android Platform
and source code implementing this example.
Android AlertDialogExample :
Example using AlertDialog from Android Platform
and source code implementing this example.
Android Example on Expandable ListView :
Example on using Expandable ListView
on Android Platform.A step by step source code
explained.
Android Layout Example :
Android Example on using Layout
with source code Explained.
Android Interview Questions :
Interview Questions on Android Platform
Android Debug :
Debug Projects on Android Platform
JSF example with source code :
JSF example of Tags and Code Walk-through 
with source code on Java Platform.
Android Smartphone features :
Android Smartphone features.
Android TimePickerDialog Example :
Example on Android TimePickerDialog
explained with a very simple scenario
and appropriate screens captured and shown.
Android DevelopersProjects :
Students Projects Developers on Android Platform
Android Cartoon Example :
Example using Cartoon using Android Platform
and source code implementing this example.
Android Gallery Example :
Example on Android Gallery View
explained with a very simple scenario
and appropriate screens captured and shown.
Android Smartphone Note :
Android Smartphone Note.
Android Storage Example :
Example on using Android Storage.
Example of using Log4J Part 1 :
Log4j example with source code on Java Platform.
Android Views Example :
Example using Views using Android Platform
and source code implementing this example.
JSF example with source code :
JSF example of Tags and Data Table 
with source code on Java Platform.
Example using Tag Library :
Example on how to code and use
Custom Tag Library on Java Platform.
Android Interview :
Interview on Android Platform
Android DDL Example :
Example on using Android and DDL Example.
Android Drawing Example :
Example using Drawing using Android Platform
and source code implementing this example.
Android Intent Broadcast Example :
Example using Intents from Android Platform
using a Broadcast Example
Android Bluetooth Example :
Example using Bluetooth using Android Platform
and source code implementing this example.


References :
Tags: TabHost and TabActivity Example on Android Platform
Tags: ListView Example on Android Platform
Tags: android sensors list
Tags: android listview example
Tags: android imageview example
Tags: Android example download any file sourcecode
Tags: android expandable list dynamically created example
Tags: android expandable list example
Tags: Android Gallery surfaceviews spinner
Tags: Android example download any file sourcecode
Tags: Android Layout Example
Tags: Android Text To Speech Example

Tags: DOJO Example Dialog
Tags: DOJO Example Tree Widget
Tags: different logger file log4j
Tags: JDBC Transaction isolation
Tags: event handling java code
Tags: example quartz scheduler
Tags: example tag library web application
Tags: Flex
Tags: index
Tags: inmemory image creation java awt
Tags: JSF Example Main
Tags: JSF Example Tags CheckBoxes
Tags: JSF Example Tags dataTable
Tags: JSF Example Tags SelectBoxes
Tags: JSF Example Tags Walkthrough
Tags: JSF Example Validation
Tags: JSF Resource Bundle
Tags: log4j example 1
Tags: log4j example
Tags: Miscellaneous
Tags: Mule ESB File Transport
Tags: Mule ESB JMS Transport
Tags: stream download batch
Tags: sychronized block wait notify
Tags: thread wait notify example
Tags: using apache commons log
Tags: web load test
Tags: Wizard Framework Idea Java


For any of the content, if you would like to bring it to notice for removal from this web site, please write to this web site administrator @ EMAIL-ID,
with appropriate concern and supporting proof(s). After thorough review and if found genuine concern, we would take appropriate action and 
remove disputed content from this web site within 24 hours starting from the time it has brought to our notice.


The content provided in this page is not warranted and/or guaranteed by techienjoy.com. techienjoy.com is not liable for any negative 
consequences that may result/arise from implementing directly/indirectly any information covered in these pages/articles/tutorials.

All contents of this site is/are written and provided on an "AS IS" basis, without WARRANTIES or conditions of any kind, either express
or implied, including, without limitation, merchantability, or fitness for a particular purpose. You are solely responsible for determining 
the appropriateness of using or refering this and assume any risks associated with this.

This web site is optimized for learning and training. Examples might be simplefied to improve reading and basic understanding only. 
This web site content are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. 
In spite of all precautions taken to avoid any typo in these pages, there might be some issues like grammatical mistakes and typos 
being observed in these pages, techienjoy.com extends sincerest apologies to all our visitors for the same.

While using this web site, you agree to have read and accepted our terms of use and privacy policy.


Android Examples || Android Training

© Copyright 2010-2012, TECHIENJOY, All Rights Reserved.      Privacy Policy     Disclaimer & Terms & Conditions