Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Vivek Reddy](https://secure.gravatar.com/avatar/23dc086e969c6212855017a04166a1df?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Vivek Reddy
Courses Plus Student 5,486 PointsI'm unable to navigate from MainActivity to DailyForecastActivity, onClick of the "7 Day" button.
The code that I have put in, for the navigation is:
@OnClick(R.id.dailyButton)
public void startDailyActivity(View view){
Intent intent = new Intent(MainActivity.this, DailyForecastActivity.class);
// Log.d("before","before intent call");
startActivity(intent);
// Log.d("after","after intent call");
}
When I click the button, I get a blank (white) screen. Nothing is coming up, neither the TextView, nor the gradient in the back.
In fact, the log statements aren't displayed on my Logcat either. (I did not comment them out when I was running the code).
Vivek Reddy
Courses Plus Student 5,486 PointsVivek Reddy
Courses Plus Student 5,486 PointsThis is the error I see:
02-16 16:32:04.830 1734-1909/system_process W/InputDispatcher: channel '49803bc com.example.vuesol.stormy/com.example.vuesol.stormy.ui.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 02-16 16:32:04.830 1734-1909/system_process E/InputDispatcher: channel '49803bc com.example.vuesol.stormy/com.example.vuesol.stormy.ui.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 02-16 16:32:04.837 1734-6823/system_process I/WindowManager: WIN DEATH: Window{49803bc u0 com.example.vuesol.stormy/com.example.vuesol.stormy.ui.MainActivity} 02-16 16:32:04.837 1734-6823/system_process W/InputDispatcher: Attempted to unregister already unregistered input channel '49803bc com.example.vuesol.stormy/com.example.vuesol.stormy.ui.MainActivity (server)'