HiHo!

I suppose close()ing a DB is expensive.

So, is it a good idea to pass the DB opened in the main activity to the
second activity that is fired using a directed Intent (named instead of
filtered) as a serialized or a parceled object?

If not, what is the best practice? ContentProvider? Isn't it overkill
when the DB is only accessed by another activity in the same app?

Thank you.

-- 
Best regards,
Eus (FSF member #4445)

In this digital era, where computing technology is pervasive, your
freedom depends on the software controlling those computing devices.

Join free software movement today! It is free as in freedom, not as in
free beer!

Join: http://www.fsf.org/jf?referrer=4445

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to