androidengineers.Book a session

PocketStories final assessment

PocketStories final assessment

articleSelf-paced

Explain without opening the solution

Answer these questions in your evidence log, then compare with the answer guide below. Use the pinned code rather than generic Android vocabulary.

  1. Which operation needs network access and which is intended to run locally?
  2. Why can a verified model still fail when a conversation is created?
  3. Why does the downloader truncate on 200 after requesting a Range?
  4. Why are draft text and accepted scenes stored separately?
  5. Does cancelling a Job guarantee that native generation has stopped?
  6. Is the 4,500-character selection budget equal to the model context window?
  7. What survives rotation versus process death?
  8. What does the emulator's 128 MiB limit actually measure?
  9. What proves offline inference rather than offline history viewing?
  10. What evidence is still missing before calling this a completed AI sample?

Answer guide

  1. Initial model acquisition uses the network; the intended inference path uses private files and local LiteRT-LM. There is no cloud fallback.
  2. Integrity checks establish exact bytes, not supported operators, memory allocations or device backend compatibility.
  3. A 200 response is a complete response; appending it after a saved prefix would duplicate bytes and corrupt the assembled file.
  4. Only explicit acceptance makes a draft part of story continuity. Stopped or rejected prose must not silently influence later scenes.
  5. No. The adapter requests SDK cancellation and waits for terminal callback before close. Real-device termination behavior remains to be checked.
  6. No. It limits selected scene text/actions; additional instructions, images and output occupy context too.
  7. Rotation retains ViewModel ownership. Process death destroys it and native state; Room restores persisted story data, with possible loss since the last checkpoint.
  8. One GPU buffer allocation, independent of free disk and different from total RAM.
  9. A newly generated scene after installing weights and disabling network, with observed output and runtime evidence.
  10. Successful real output, native stop/retry, offline inference, quality evaluation and device-specific performance checks remain outstanding in the author baseline.

Completion rubric

Award yourself one point for each correct explanation. Revisit the associated lesson for every missed answer. Then check the practical evidence: pinned build, downloader failure test, red/green context extension, saved-story recovery, diagnosis matrix and capstone tests. A score alone cannot replace those artifacts.

You may mark the learning material complete with a clearly documented blocked hardware track. Do not convert a self-reported completion certificate into a claim that Google certified the app, that a particular phone is supported, or that native inference passed. Keep author evidence and your own evidence separate.

What comes next

With working hardware, complete the live quality matrix and replace unverified rows with measured results. Future learning extensions can investigate CPU vision, retained engines, PDF export or retrieval, each with explicit scope and tests. Return to the codelab to reproduce the implementation exercise or the published preview to compare your changes.

Roadmap · Hands-on codelab · Pinned source

YOUR LEARNING JOURNEY

0 of 13 available lessons completed

Progress saved in this browser. No account needed.
PocketStories final assessment | Gemma on Android with PocketStories — Preview | Android Engineers