8

andorid startActivity Nullpointer exception

view full story
linux-howto

http://stackoverflow.com – hi the function startActivity throws a nullpointer exception this is my class: package com.example.xxxx.fragments.frag4; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.Html; import android.util.Log; import android.view.Menu; import android.widget.TextView; import com.example.xxxx.R; public class DetailActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_detail); } public void showHtml(String p (HowTos)