Code Monkey home page Code Monkey logo

imt3673-lab01's Introduction

Lab01 in IMT3672

How to run

  • Get it on your machine with git clone https://github.com/tholok97/IMT3672-lab01.git
  • Open it in Android Studio (File -> Open, and select it).
  • Run it. It might take some time to build, but should work out-of-the-box.

Task description (copied from gitlab)

Create an application consisting of 3 activities.

The first, entry activity (A1), should have

  • editable text field (T1)
  • slider (S1)
  • a drop-down list of options (L1)
  • a button (B1)

The second activity (A2) should have:

  • non-editable text field (T2)
  • another non-editable text field (T3)
  • a button (B2)

The third activity (A3) should have:

  • a single editable text field (T4)
  • a single button (B3)

Tasks

  • When user presses B1, activity A2 becomes active.
  • When user presses B2, activity A3 becomes active.
  • When user presses B3, activity A2 becomes active again.
  • When user presses Back button from A2, she will go to A1.
  • When user presses Back button from A1, it will quit the app.
  • When user presses Back button from A3, it goes back to A2.
  • The field T2 shows "Hello " + the value of T1 from A1
  • The field T3 shows "From A3: " + the value of T4 from A3
  • The selection of the drop-down list L1 from A1 should be persistent between different runs of the application, such that, when the user changes the selection, upon the consecutive execution of the app, the selection is as the user picked it, not as the app had it initially as default when the app was executed for the first time.

Hints

  • use Intent to pass data between activities
  • use startActivityForResult() between A2 and A3

imt3673-lab01's People

Contributors

tholok97 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.