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