Saturday, 31 August 2013

What are Android Support Libraries & Differnces

Android Support Libraries
Sharing your stuff - Simpson What are these??
   
For Supporting  the old versions with new code. in layman it like new versions are giving their functionality  to old versions.

It will help coders to create code with new functionality  (that is not present in old versions) for devices with older versions as well.

 There are 3 main support versions for android libraries - V4, V7 ,V13
So you can say these libraries are there to help backward compatible.
Version 7 isn't used that much and was specifically for Grid Layout

Version4

Version 7

Version 13
This library is designed to be used with Android 1.6 (API level 4) and higher. There are several libraries designed to be used with Android 2.1 (API level 7) and higher This library is designed to be used for Android 3.2 (API level 13) and higher

The main features here are backwards-compatible versions of FragmentManager and LoaderManager.
click here for more info
This library adds support for the Action Bar user interface design pattern. Classes 
FragmentPagerAdapter   
FragmentTabHost
FragmentStatePagerAdapter   
FragmentCompat
This library is designed to be used with Android 1.6 (API level 4) and higher. his library is located in the <sdk>/extras/android/support/v7/appcompat/This library is located in the <sdk>/extras/android/support/v13/
follow the instructions for adding libraries without resources.

instructions for adding libraries with resources. To include it in your application project, follow the instructions for adding libraries without resources.

How to download Suppot libraies??
Right clicl your project in eclipse >select Android Tools> then click Add Compatibility Library.
then-
     Other way to download
    Eclipse -> Window -> Android SDK and AVD Manager -> Available Packages -> Download the compatibility library v4.

     Adding to project:
    • Project Menu > Properties > Java Build Path > libraries tab >Add external Jars
    • Done.

    Thursday, 1 August 2013

    Testing: Inspection vs WalkThrough


    Testing: Inspection vs WalkThrough

    Inspection: Inspect the code in planned meeting to verify the standard compliance
    Walk through of software product is a general/informal discussion with peers/colleagues to find issues/suggestions


    Inspection

    Walkthrough

    Formal / disciplined practice / Planned meeting
    Informal / no prep required / informal meeting with peers,collegues

    Used to verify the compliance of the product with specified standards
    Used to find any suggestions/improvements issues in the software

    Initiated by the project team
    Initiated by the author(developer)

    Reader reads the product code. Everyone inspects it and comes up with defects.
    We read the product code and our team mate comes up with defects or suggestions

    Friday, 12 July 2013

    Radio ROM vs Android ROM


    Radio ROM vs Andriod ROM




    Radio ROM Android ROM (or the ROM)

    In HTC Android phones the software that accesses the telephone electronics is called the Radio ROM.
    The Android ROM is the Android operating system.

    It is separate from the Android operating system
    The Android ROM is the Android operating system.

    The operating system access the telephone hardware via the Radio ROM.
    This is the User interface (Sense UI in HTC phones) and the file system for maintaining contacts etc.

    The Radio ROM may be updated independently of the Android operating system.
    It is composed of a Linux kernel and various add-ons to achieve specific functionality.

    Wednesday, 8 May 2013

    Difference between Units of Digital Information


    bit vs byte vs nibble

    1 bit = 1 or 0

    1 byte = 8 bits

    1 Nibble = 4 bits (semi- octet)

    Kilobit vs Kibibit

    1 kilobit = 103 bits = 1000 bits.

    1 kibibit = 210 bits = 1024 bits

    Symbol = kbit or kb

    Symbol = Kibit or Kib

    KiloByte Symbol = KB
    KibiByte Symbol = KiB

    Megabit vs Mebibit

    1 megabit = 106bits 
    = 1000000bits 
    = 1000 kilobits.
    1 mebibit = 220 bits 
    = 1048576 bits 
    = 1024 kibibits
    Symbol = Mbit or Mb
    Symbol = Mibit or Mib
    MegaByte Symbol = MB
    MebiByte Symbol = MiB

    Gigabit vs Gibibit

    1 gigabit = 109bits
     = 1000000000 bits.
    1 gibibit = 230 bits 
    = 1073741824 bits
     = 1,024 mebibits
    Symbol = Gbit or Gb
    Symbol = Gibit or Gib
    GigaByte Symbol = GB
    GibiByte Symbol = GiB

    Terabit vs Tebibit

    1 terabit = 1012 bits 
    = 1000000000000bits 
    = 1000 Gb
    1 tebibit = 240 bits 
    = 1099511627776bits 
    = 1024 Gibit
    Symbol = Tbit or Tb
    Symbol = Tibit or Tib
    TeraByte Symbol = TB
    TebiByte Symbol = TiB

    Petabit vs Pebibit

    1 petabit = 1015 bits 
    = 1000000000000000bits 
    = 1000 terabits.
    1 pebibit = 250 bits 
    = 1125899906842624bits 
    = 1024 tebibits
    Symbol = Pbit or Pb
    Symbol = Pibit or Pib
    PetaByte Symbol = PB
    PebiByte Symbol = PiB

      Exabit vs Exbibit

    1 exabit = 1018bits 
    = 1000000000000000000bits 
    = 1000 petabits
    1 exbibit = 260 bits 
    = 1152921504606846976bits 
    = 1024 pebibits
    Symbol = Ebit or Eb
    Symbol = Eibit or Eib
    ExaByte Symbol = EB
    ExbiByte Symbol = EiB

     zettabit vs zebibit

    1 zettabit = 1021bits
    = 1000000000000000000000 bits
    = 1000 exabits.
    1 zebibit = 270 bits
    = 1180591620717411303424 bits
    = 1024 exbibits
    Symbol = Zbit or Zb
    Symbol = Zibit or Zib
    Zettabyte Symbol = ZB
    ZebiByte Symbol = ZiB

     yottabit vs yobibit
    1 yottabit = 1024bits
    = 1000000000000000000000000bits 
    = 1000 zettabits.
    1 yobibit = 280 bits 
    = 1208925819614629174706176 bits
    = 1024 zebibits
    Symbol = Ybit or Yb
    Symbol = Yibit or Yib
    YottaByte Symbol = YB
    YottaByte Symbol = YiB


    UEFI VS BIOS


    BIOS or UEFI are interface which sits between OS  and Firmware

    UEFI =  Unified Extensible Firmware Interface
    BIOS = Basic Input/Output System
    Firmware :  it is "Software for hardware". A firmware is a software which communicates directly with hardware. Whereas Other softwares like OS and Application uses it for accessing input/output from hardware.

    UEFI
    BIOS
    Advanced GUI Based /Mouse supported
    Basic GUI support /keyboard Supported
    Secure Boot
    --
    Processor independent
    Specific to x86 Processor
    Works with GUID partition Table (GPT)
    Works with MBR
    Max Disk Size Supported =  8 ZiB (ZebiBytes)
    Max Disk Size  Supported= 2TiB (TebiBytes)
    Faster in Response
    --


    Secure boot :  It’s a kind of lock in that will not allow other (unsigned) OS to be loaded on the machine. Supported by Win8,2012, some linux distributions. We need to disable it to load other OS.
    MBR: Master boot record
    1 TiB = Tebi Byte (240 bytes)
    1 zebibyte = 270 bytes

    More to come
    Steps to open BIOS /UEFI on your system
    Bytes Table
    Using UEFI to boot
    Installing Linux on UEFI

    More info on UEFI : http://www.uefi.org/about/