I am triying to do an app using the notepad tutorial of Android as a
guide. I can insert new elements in my expandable list (simple
expandable adapter)without problems, but if i want to update the
fields of one of this elements an error is prompted. I revisited the
tutorial lots of times but i cant find the solution.
I am using a context menu ,and when I clicked to me the index which
called the new activity, the app force close.
 So I added 4 groups, and when I clicked to the third group ,the new
activity had the extras of the first group.When I clicked to the first
one, the app forse closes and get the error above.
Then after looking for the solution in web I achieve not to force
close, but  the new activity doesn't get the any extras. Just dispaly
the new activity.
Why does this happen?
Any help?
I supposed tha the problem is in the way I bring the data from
database. Also, I tried to fix the cursor, but it doesn;t get the
extras.
If there is a problem in my database ? It returns a null  cursor?
Why ? How could I fix this?
I am trying this for a long time and I cant find the reason.
If you want to see my code, I could upload it.
 Thanks in advance, and forgive me for my english.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to