I have a problem creating a custom dialog. But I don\'t find the failure. Hopefully anybody can help me ...
protected Dialog onCreateDialog(int id) { Di
Dialog dialog = new Dialog(contex); dialog.setContentView(R.layout.help_content);
this works for me .. may be getapplicationcontext not getting context of the your main class.