[Java for Android App Development] addemod:
What means with "com.example.app"? Is that just my package? And where should the file be placed in eclipse before running?

If I got like a number that is changing each time I click a button, and then I timer that counts from 60 down to 0, when it's on 0 I have onFinish method, what should I put there to make the text inside highscore.txt file to edit to what my int is (clicked)?

It's hard to explain.. :/

Edit:

I have this code:

SharedPreferences prefs = getSharedPreferences("com.SAH.clickr", Context.MODE_PRIVATE);
String highscore = prefs.getString("highscore", "0");

final TextView text2 = (TextView) findViewById(R.id.highscore);
text2.setText("Highscore: " + highscore);

When running it has to force close upon start (this code is in the onCreate method).

I get this error in the logcat:

06-24 14:03:58.187: I/Process(275): Sending signal. PID: 275 SIG: 9
06-24 14:04:05.886: W/ActivityThread(290): Application com.SAH.clickr can be debugged on port 8100...
06-24 14:04:06.226: D/AndroidRuntime(290): Shutting down VM
06-24 14:04:06.226: W/dalvikvm(290): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
06-24 14:04:06.236: E/AndroidRuntime(290): FATAL EXCEPTION: main
06-24 14:04:06.236: E/AndroidRuntime(290): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.SAH.clickr/com.SAH.clickr.MainActivity}: java.lang.NullPointerException
06-24 14:04:06.236: E/AndroidRuntime(290):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
06-24 14:04:06.236: E/AndroidRuntime(290):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
06-24 14:04:06.236: E/AndroidRuntime(290):	at android.app.ActivityThread.access$2300(ActivityThread.java:125)
06-24 14:04:06.236: E/AndroidRuntime(290):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
06-24 14:04:06.236: E/AndroidRuntime(290):	at android.os.Handler.dispatchMessage(Handler.java:99)
06-24 14:04:06.236: E/AndroidRuntime(290):	at android.os.Looper.loop(Looper.java:123)
06-24 14:04:06.236: E/AndroidRuntime(290):	at android.app.ActivityThread.main(ActivityThread.java:4627)
06-24 14:04:06.236: E/AndroidRuntime(290):	at java.lang.reflect.Method.invokeNative(Native Method)
06-24 14:04:06.236: E/AndroidRuntime(290):	at java.lang.reflect.Method.invoke(Method.java:521)
06-24 14:04:06.236: E/AndroidRuntime(290):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
06-24 14:04:06.236: E/AndroidRuntime(290):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
06-24 14:04:06.236: E/AndroidRuntime(290):	at dalvik.system.NativeStart.main(Native Method)
06-24 14:04:06.236: E/AndroidRuntime(290): Caused by: java.lang.NullPointerException
06-24 14:04:06.236: E/AndroidRuntime(290):	at com.SAH.clickr.MainActivity.onCreate(MainActivity.java:72)
06-24 14:04:06.236: E/AndroidRuntime(290):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
06-24 14:04:06.236: E/AndroidRuntime(290):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
06-24 14:04:06.236: E/AndroidRuntime(290):	... 11 more

NullPointer, where is that?