[Solved] Android fragment null pointer exception on rootView [closed]


Would you mind moving

Intent checkTTSIntent = new Intent(); checkTTSIntent.setAction(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA); startActivityForResult(checkTTSIntent, MY_DATA_CHECK_CODE); 

To the onViewCreated methode?

And where is the part where you setOnInitListener to the fragment implementation?

7

solved Android fragment null pointer exception on rootView [closed]