I am new to Android.  I have been working thru some examples in a book called  Head First Android Development.  I entered a small program using fragments and get a Casting Error.

cannot cast andoid.app.fragment to com.hilights.rsobol.workout.WorkoutDetailFragment

I am hoping someone can download the attached zip file and show me the error of my ways. It is most likely a simple error that someone with some experience can see.

Thank you in advance for your help,

Rob

rsobol@hilightsinc.com

Views: 182

Attachments:

Reply to This

Happy 10th year, JCertif!

Notes

Welcome to Codetown!

Codetown is a social network. It's got blogs, forums, groups, personal pages and more! You might think of Codetown as a funky camper van with lots of compartments for your stuff and a great multimedia system, too! Best of all, Codetown has room for all of your friends.

When you create a profile for yourself you get a personal page automatically. That's where you can be creative and do your own thing. People who want to get to know you will click on your name or picture and…
Continue

Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.

Looking for Jobs or Staff?

Check out the Codetown Jobs group.

 

Enjoy the site? Support Codetown with your donation.



InfoQ Reading List

HashiCorp Warns Traditional Secret Scanning Tools Are Falling Behind

HashiCorp has issued a warning that traditional secret scanning tools are failing to keep up with the realities of modern software development. In a new blog post, the company argues that post-commit detection and brittle pattern matching leave dangerous gaps in coverage.

By Matt Foster

10 AI-Related Standout Sessions at QCon San Francisco 2025

Join us at QCon San Francisco 2025 (Nov 17–21) for a three-day deep dive into the future of software development, exploring AI’s transformative impact. As a program committee member, I’m excited to showcase tracks that tackle real-world challenges, featuring industry leaders and sessions on AI, LLMs, and engineering mindsets. Don’t miss out!

By Hien Luu

Paper2Agent Converts Scientific Papers Into Interactive AI Agents

Stanford's Paper2Agent framework revolutionizes research by transforming static papers into interactive AI agents that execute analyses and respond to queries. Leveraging the Model Context Protocol, it simplifies reproducibility and enhances accessibility, empowering users with dynamic, autonomous tools for deeper scientific exploration and understanding.

By Robert Krzaczyński

Genkit Extension for Gemini CLI Brings Framework-Aware AI Assistance to the Terminal

Introducing Google's Genkit Extension for Gemini CLI: a groundbreaking tool that delivers framework-aware AI assistance directly to the terminal. Streamline your Genkit application development with context-aware code generation, debugging, and best practices—all without leaving the command line. Unleash productivity and innovation in building generative AI applications.

By Hien Luu

Presentation: Systems Thinking for Scaling Responsible Multi-Agent Architectures

Nimisha Asthagiri explains the critical need for responsible AI in complex multi-agent systems. She shares practical techniques for engineering leaders and architects, applying systems thinking and Causal Flow Diagrams. She shows how these methods help predict and mitigate the unintended consequences and structural risks inherent in autonomous, learning agents, using a scheduler agent example.

By Nimisha Asthagiri

© 2025   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service