Blackberry 10 App Development

Embed Size (px)

Citation preview

  • 8/12/2019 Blackberry 10 App Development

    1/4

    !"#$%&'$() +Roll No. A043 Name: Veerdhwaj Singh Rathore

    Class: B.Tech IT 3rdYear Batch: A3

    Date of Experiment: 27 Jan 14 Date of submission: 01 Feb 14

    1. Program Scenario and Program code:scenario: to prepare an app in whichwith the movement of the slide bar the image displayed changes from night to

    day and vice-versa.

    !! #$%&'() $*+), +-./$0) )$*+(&)$

    !"#$%&1120&30&4$3 526

    !! 0-$&)$3 .7$ +&8$ 9:); & (&1$(

    .7)&:7$-=

    (&,.')? @)&0AB&,.')=.-:$7)&):.7? B&,.')C-:$7)&):.72D.+D.E.)).*

    F

    1&0A8-.'74? >.(.-2E(&0A

    ;.-:G.7)&(H(:87*$7)? I.-:G.7)&(H(:87*$7)2>$7)$-

    >.7)&:7$-=

    (&,.')? #.0AB&,.')=

    F

    (&,.')$7)$-

    ).+N&-8:7? 626

    ).+$7)$-

    ;.-:G.7)&(H(:87*$7)? I.-:G.7)&(H(:87*$7)2>$7)$-

    .+&0:),? 626

    F

    F

    >.7)&:7$-=

    (&,.')? @)&0AB&,.')=

    .-:$7)&):.7? B&,.')C-:$7)&):.72B$%)D.R:8;)

  • 8/12/2019 Blackberry 10 App Development

    2/4

    !"#$%&'$() +F

    (&,.')

  • 8/12/2019 Blackberry 10 App Development

    3/4

    !"#$%&'$() +

    3. !"#$%&'()*+: The application is a combine display of containers image and slidebars. The movement of the slide bar changes the display image from night to day

    as it is linked to the images via signal onImmediateValuechanged.

    4. Questions:a. Draw & Explain the Scene Graph of the experiment.Page

    Container

    Container

    Imageview

    Imageview

    Container

    Imageview

    Slidebar

    Imageview

    The main container is divided into two different containers in which the first

    container consists of the day/night images and the second container consists of

    the sun/moon image and the slider which initiates the change in the image

    present in the first container.

    b. Explain the significance of using dock and stack with properties used theexperiment.

  • 8/12/2019 Blackberry 10 App Development

    4/4

    !"#$%&'$() +Dock: helps one image to superimpose on the other such that they change

    gradually with a move on the slidebar. Stack: helps the components in the

    last container i.e. the image of moon, slidebar and sun to appear in a

    specific pattern (space quota) that would not change with change in

    orientation.c. Explain the slider component with its properties and signals.

    Slider is a component which is more less like a seek bar in music player.

    It has many properties such as borders margins etc. The one main signal

    used here w.r.t. slider and the image is

    onImmediateValueChange: shows a gradual movement. A slowtransformation in the opacity of the image in this application.

    onValuechanged: shows abrupt change in the image i.e. at either

    maximum or minimum values.

    5. Conclusion:Through this experiment we have successfully studied andimplemented the slider component and also studied how we can change the

    image present in an Imageviewwith another Imageviewusing the variation in thevalues of the slider.