Back to project page WhatsOnTV.
The source code is released under:
GNU General Public License
If you think the Android project WhatsOnTV 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 net.oncaphillis.whatsontv; // ww w . j a va 2 s .c o m import android.app.Activity; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.widget.TextView; public class ErrorActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); String txt = this.getIntent().getExtras().getString("txt"); setContentView(R.layout.activity_error); TextView tv = (TextView) findViewById(R.id.error_text); if(txt!=null) tv.setText(txt); } }