I know this might seem quite trivial, however, I've been tackling with it for quite some time.
I'm trying to simply display an error message through a TOAST in honeycomb. However, if I use the traditional Toast method, the app crashes.
From what I found (not very clear) the TOAST method must be in its own thread (?)?
Any help would be greatly appreciated and sorry if this is a really noob question...
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.hseactivity);
Toast.makeText(getApplicationContext(), "Sorry, an error occurred...", Toast.LENGTH_LONG).show();