Mobiletuts+ Quiz: Android Application Fundamentals

Mobiletuts+ Quiz: Android Application Fundamentals

A solid grasp of the application fundamentals is essential if you want to develop reliable Android apps. Have a go at the following quiz to see how well you understand the central features of Android app development and identify any potential problem areas in your knowledge.

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://www.vrallev.net Ralf Wondratschek

    Great quiz, I enjoyed it. However, it includes a mistake. In my opinion number four is wrong.

    Q: Which of the following would you use to handle background tasks in an Android app?

    My answer: Thread. Because then it really runs in the background and is not blocking the main thread. You said that the correct answer is Service. I think that is wrong, because by default a Service runs on the main thread and blocks the UI. In this case it only handles tasks, but not in the background!

    Anyways, there were some great questions.

    • http://benormal.info/ Sue Smith (author)
      Author

      Hi Ralf

      Thanks for the feedback. From the developer guide:

      A service is a component that runs in the background to perform long-running operations or to perform work for remote processes.

      http://developer.android.com/guide/components/fundamentals.html

      I agree that you might choose a thread for some background tasks but the aim of the quiz is really to test basic application fundamentals knowledge, i.e. what is the purpose of a service etc. Maybe the wording of the question is a little confusing.

  • ian

    “An orc would have performed just as good as you! You scored 55.56%”

    I think that’s decent considering I have been able to get no farther than installing the SDK in eclipse because my PC won’t run emulators. Was fun to see what I could guess based on logic though.

  • http://quickblox.com Igor Khomenko

    Woo! I got 100!

  • http://www.ricardof.com.br Fuhrmann

    Nice one! Thanks!