Problem in the Notepadv3 tutorial code...

by Raymond Ingles » Wed, 12 May 2010 15:12:57 GMT


Sponsored Links
 I've been working through the Notepad tutorial (
 http://developer.android.com/guide/tutorials/notepad/index.html  ) and
it's been helpful. I'm aware that the second version has a bug, that
is fixed in the third stage. However, the third stage (Notepadv3)
still has a problem:

 Choose "Add Note", then change the orientation. The note editing
activity crashes when the orientation changes, in
ActivityThread.performPauseActivity() with a NullPointerException. I'm
not quite familiar enough with this platform to figure out what the
issue is. I thought it had something to do with saving the row, but I
thought I fixed that and it still bombs out.

 It's easy to reproduce the problem in the debugger. Can anyone
explain what causes the crash? This might be a very good thing to get
fixed; I presume a fair number of developers are going to look at that
code and assume it's "the way to do it"... Thanks for any help y'all
can provide!

--



Other Threads

1. Announcing First MP3 & OGG Recorder for Android

Hi Folks

Just released the first MP3 recorder available on Android:

URL: http://hifirecorder.codejanitor.us

Supports MP3, OGG. Sending files over email.

W@@T!!

2. updating mobile phone OS

Hello,

I'm a newbie to Android, and have a newbie question.

If I purchase a phone with Android 1.x or 2.0, etc... will I be able
to upgrade the OS on the phone to 2.1, 2.X, etc.?

Also, I feel perhaps this may be related to all the 'ROM' posts I find
on the internet when trying to understand this process better. What
exactly are ROMs?

Thank you,
john

3. How does the Google calendar sync be triggered after you create an event on the phone ?

4. moving Views and View.getWidth(), getHeight(), etc..

5. change security permissions of any application

6. Installing android SDK

7. moving Views and View.getWidth(), getHeight(), etc..