Monday, 30 July 2012

Google Handwrite (On touch) search

Now Google search Handwrite feature

 Recently Google has added new feature in his search page i.e. You can now search Google using your touch screen. A feature like Touch and Type
 
  • I find an official announcement for Google Handwrite concept here.
  • Its still a Beta version
  1. What is Handwrite feature?
    HandWrite 
    feature that enable you to search Google by your own hand writing.
    It will search from Google what ever you are writing on Google search page using
    touch.
  2. How to use this feature?
    To use Handwrite
    feature in your device you need to enable
    HandWrite feature from setting.
  3. How to enable Handwrite feature ?
    Enable Handwrite 
    in your web-browser

    If you find Handwrite on home page Turn ON feature save... or

    On Any Touch Deive --> Go to Google Homepage --> Scroll Down Page --> click on setting --> Scroll Down --> In Handwirte  --> Select Enable --> Scroll Down --> Click on Save
    Or go to This  page  and enable Handwrite ....  and njoy..!!


  4. See the Demo video

Handwrite feature best works on ?

  • Android browser on Android 2.3+ phones
  • Android 4.0+ tablets
  • iOS 5+ phones and tablets
Related links :

Saturday, 9 June 2012

Button in android

Button demo

  • Button in android mostly used to get action from user.
  • You can get action from button in onClick() event.
  • In android button works same as it works in java.
  • Two ways to create Button in android
    • Using xml file in layout

               <Button
              android:id="@+id/button1"
              android:layout_width="
      wrap_content"
              android:layout_height="wrap_content"
              android:text="My Button"/>

       
    • Using java code in activity class
             
               Button btnDynamic = new Button(this);
              btnDynamic.setText("Dynamically created Button");
  • Types of Button in android
    • Button
       
    • ToggleButton
      • <ToggleButton
        android:id="@+id/toggleButton1"
        android:layout_width="77dp"
        android:layout_height="wrap_content"
        android:text="ToggleButton" />
         
    • ImageButton
      • <ImageButton
        android:id="@+id/imageButton1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/gtumcaicon" >
         
    • CheckBox
      • <CheckBox
        android:id="@+id/checkBox1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Select" >
         
    • RadioButton
      • <RadioGroup
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal" >
              <RadioButton
           android:id="@+id/red"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:text="Red" />

           <RadioButton
           android:id="@+id/green"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:text="Green" />
        </
        RadioGroup>

Friday, 8 June 2012

EditText in android

EditText in android



  • EditText in android is works as Text field.
  • You can get the data from the user.
  • Android gives facility to enter different type of data as per the requirement.
  • Two ways to create EditText in android
    • Using xml file in layout

               <EditText
              android:id="@+id/hello"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:hint="this is hint" />
       
    • Using java code in activity class
             
               EditText tvDynamic = new EditText (this);
              tvDynamic.setText("---> Dynamically created EditText ");
  • Types of EditText in android
    • Simple EditText
       
    • Password EditText
      • android:inputType="textPassword"
         
    • Number EditText
      •  android:inputType="number"
    • Password EditText
      •  android:inputType="textPassword"
    • Email EditText
      •  android:inputType="textEmailAddress"

    • MultiLine EditText
      •  android:inputType="textMultiLine"
         
    • Number EditText
      •  android:inputType="phone"
         
    • Time EditText
      •  android:inputType="time"
         
    • Date EditText
      •  android:inputType="date"
         
    • Number Signed EditText
      •  android:inputType="numberSigned"

Related links :

Thursday, 7 June 2012

TextView in android

TextView in android.

 

  • TextView in android are works as label. 
  • It enables user to display text on the screen.
  • Generally text display in textview are static but user can set text dynamically.
  • Two ways to create text view in android
    • Using xml file in layout

               <TextView
              android:id="@+id/hello"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:text="@string/hello" />
       
    • Using java code in activity class
             
               TextView tvDynamic = new TextView(this);
              tvDynamic.setText("---> Dynamically created TextView");
       
  • Types of TextView in android
    • Large TextView
      • android:textAppearance="?android:attr/textAppearanceLarge"
         
    • Medium TextView
      • android:textAppearance="?android:attr/textAppearanceMedium"
         
    • Small TextView
      • android:textAppearance="?android:attr/textAppearanceSmall"
         
    • Checked TextView
             
            <CheckedTextView

            android:id="@+id/checkedTextView1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="CheckedTextView"/>
           

Wednesday, 6 June 2012

How to install android (Step by step android installation)

Step-by-step process of android installation.
How to install android in windows 7? step by step installation of android in windows. simple way to install android. How to install android in PC? how to install android in laptop ? how to install android in eclipse? how to configure eclipse in android ? how to install android plug-ins in eclipse. How to download and install android in windows. Steps to install android,
  1. First of all download following things
  2. Install JDK
    • Set java class path
      RightClick on My Computer --> Properties --> Advance System setting --> Environment variable --> In System Variable Edit path variable --> put your directory path of JDK installation directory here up to bin folder
      Note: Don't  delete old values of path variable. Just add your dir path.

      for example: C:\Program Files\Java\jdk1.6.0_24\bin;
  3. Extract all zip files
    • Create folder in d:\android
    • Extract android-sdk-windows.zip in d:\android folder
    • Extract eclipse.zip in d:\android folder
    • Create one folder d:\android\myworkspace
    • Now you have structure like this
      • d:\android\
        • android-sdk-windows
        • eclipse
        • myworkspace
  4. Configure eclipse for android
    • Install ADT plug-ins in eclipse
    Go to d:\android\eclipse --> double click on eclipse.exe
    --> Click on Help menu --> Install new software --> 
    Click on Add button --> click on Archive button --> Select file ADT 17.zip --> Mark all checkboxs --> Click on next button --> Select I accept all --> Click on next button --> Finish
    •  Setting android SDK path
      Go to Windows menu --> select preference --> click on Android
      (in left side list) --> set SDK path (in our case d:\android\android-sdk-windows) --> click Apply --> Click Ok button
  5. Create new android project
Go to File menu --> new --> other --> Android Project --> Give Project name --> Select android version (for example Android 2.2) --> Click Next button --> give package name (for example com.gtumca.myname) --> Click on Finish

Related links :

Wednesday, 30 May 2012

Android versions


Android 2.1
Platform Codename  API Level 
Android 1.5 Cupcake 3
Android 1.6 Donut 4
Eclair 7 Android 2.2
Froyo 8 Android 2.2
-->
Android 2.3
Android 2.3.2
Gingerbread
9
Android 2.3.3
Android 2.3.7
Gingerbread
10
Android 3.0
Honeycomb
11
Android 3.1
Honeycomb
12
Android 3.2
Honeycomb
13
Android 4.0
Android 4.0.2
Ice Cream Sandwich
14
Android 4.0.3
Android 4.0.4
Ice Cream Sandwich
15
Android 4.1
Jelly Bean
16
-->
  • Versions of android available in market.
  • API level of android version.
  • Codename of android version.
  • Android name with version available in market.
  • Highest version available in android.
  • Lowest version of an android.
  • Widely used android version.
  • Latest available android version.
  • Latest android API. 
Related links :

Tuesday, 29 May 2012

What is Android ?


Is Android an operating system ?
Is Android a programming language ?
" Android is a software stack for mobile devices that includes or combination of
                Applications + Framework + Libraries + DVM + LINUX Kernel. "


Android Features 

  1. Application framework
    •  An application framework that allows you to build an application or customize an already developed application.
    • It gives you easy-to-use(easy-2-use)tools to edit your data and edit the scope of your data.

  2. Dalvik virtual machine
    • The Dalvik virtual machine(DVM) is a register-based virtual machine, designed and written by Dan Bornstein with contributions from other Google engineers as part of the Android mobile phone platform.
    • The  Dalvik virtual machine (DVM) is a Register-Based virtual machine, which is designed by Dan Bornstein with other Google engineers as a part of the Android Platform.
       
  3. Integrated browser
    • Android has integrated the WebKit for browser behavior.
    • WebKit is an open source web browser engine.
       

  4. Optimized graphics
    • Custom 2D graphics library.
    • 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional)
       
  5. SQLite
    • As it's name implies Lite database for small device like mobile phones and smart phones.
    • SQLite is a Relational Database Management System with small programming libraries.
         
  6. Media support
    • Audio (.MP3, .AAC, .AMR)
    • Video (.MPEG4)                             // does not supports .AVI
    • Images(.JPG, .PNG, .GIF)
       
  7. GSM Telephony
    • Hardware Dependent
       
  8. Bluetooth, EDGE, 3G, and WiFi
    • Hardware Dependent

  9. Camera, GPS, compass, and accelerometer
    • Hardware Dependent
       

  10. Rich development environment
    • Includes a device emulator
    • Tools for debugging 
    • Memory and performance profiling
    • Plugin for the Eclipse IDE (Integrated Development Environment)
Related links :

Twitter Delicious Facebook Digg Stumbleupon Favorites More