Back to project page Easy-Weather-Android-App.
The source code is released under:
GNU General Public License
If you think the Android project Easy-Weather-Android-App listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.keepiteasy.easyweather; /* w ww .j av a 2 s.c o m*/ import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class ErrorActivity extends Activity { private static TextView message; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_error); message = (TextView) findViewById(R.id.error_message); Bundle extras = getIntent().getExtras(); if (extras != null) { String error = extras.getString("error"); message.setText(error); } } }