Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8259353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:50:31+00:00 2026-06-08T02:50:31+00:00

The Oreily Book Says: Programming for Android is conceptually different than programming for some

  • 0

The Oreily Book Says:

Programming for Android is conceptually different than programming for
some other environments. In Android, you find yourself more responding
to certain changes in the state of your application rather than
driving that change yourself.

It is a managed, container-based environment similar to programming
for Java applets or servlets.

[…]

So, when it comes to activity lifecycle, you don’t get to say what
state the activity is in but you have plenty of opportunity to say
what happens on transitions from state to state.

Two Questions:

  1. What do they mean you find yourself more responding to certain changes in the state of your application rather than the driving the changes yourself” Please give an example.

  2. Why don’t you get to say what the activity is but get to say what happens on transition from state to state?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T02:50:32+00:00Added an answer on June 8, 2026 at 2:50 am

    That wording is a little confusing, but here is what I’d say to your questions:

    1. The part about “responding” refers to the event-based nature of a lot of Android programming. For example, each Activity has standard methods like onCreate(..) and onResume(...) that are invoked automatically at certain stages in your application lifecycle. It is your job to respond correctly to these lifecycle changes.

    2. I am not sure what you mean by “don’t get to say what the activity is”, but I’ll take a guess. Basically, an Activity is not just some screen or action you define in a block of code and then display on the screen with a single call. You simple manage the state of the Activity and perform different actions at each point. For example, when the Activity starts and onCreate is called you should probably load your views and set the appearance of the Activity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get the FinchVideo example from the Programming Android book to work.
Where can I find more information/example about LoadFunc. Except for the http://web.archive.org/web/20130701024312/http://ofps.oreilly.com/titles/9781449302641/load_and_store_funcs.html I dont
I've read the book Programming Collective Intelligence and found it fascinating. I'd recently heard
The Oreilly book Learning OpenCV states at page 356 : Quote Before we get
I was trying learn lex and yacc using the oreilly book. I tried following
I've just been helping out with some interviews for a new developer and JavaScript
I am reading a book about Javascript and jQuery and using one of the
I'm using Eclipse to learn to develop Android applications in Java. I haven't used
The camel book suggests that V-strings can be used for representing IPv4 addresses: $ipaddr
I've only heard about what UIProgressHUD class do, but i cannot find the implementation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.