So i don\'t know what the rules are here about double posts, anywho i didn\'t get follow up support on my other question.. anywho my problem is stated, heres my logcat
According to your error message:
05-28 19:45:04.425: E/AndroidRuntime(793): Caused by: java.lang.NullPointerException
05-28 19:45:04.425: E/AndroidRuntime(793): at xela.kasea.flyffresell.Main.onCreate(Main.java:31)
the problem must be the button "bReturn
" inside your layout
ret = (Button) findViewById(R.id.bReturn);
probably doesn´t exist.
Update: well i found the problem, why load the contentview again when you click the bReturn button?:
case R.id.bReturn:
setContentView(R.layout.display);