| Oct 11 | 9:55 AM |
| Mark M. | has entered the room |
| Mark M. | turned on guest access |
| Oct 11 | 10:40 AM |
| scottt | has entered the room |
| Mark M. |
howdy, scottt!
|
| Mark M. |
greetings from Android Open!
|
| scottt |
hello. i wasnt sure you'd notice me enter with all the activity in here
|
| Oct 11 | 10:45 AM |
| Mark M. |
the crickets got tired of chirping
|
| Mark M. |
damn lazy crickets
|
| scottt |
i'm envious. i'd would have loved to go
|
| Mark M. |
anything in particular that I can help you with today?
|
| scottt |
has their ever been an east coast conference? i
really dont think all the android devs are in silicon valley (or
particularly want to go there)
|
| scottt |
no, i just popped in for some and dev inspiration
|
| Mark M. |
I am not aware of a US East Coast conference
|
| Mark M. |
I argued with the AnDevCon folks that if they're going to do two a year, they should be bi-coastal
|
| Mark M. |
lost that fight, at least for 2011
|
| Oct 11 | 10:50 AM |
| fitz | has entered the room |
| fitz |
morning
|
| Mark M. |
howdy, fitz!
|
| fitz |
I thought you were in CA this week?
|
| Mark M. |
I am
|
| Mark M. |
running this chat from my hotel room
|
| fitz |
you talking otday?
|
| Mark M. |
conference doesn't start for another hour and change
|
| Mark M. |
yes
|
| Mark M. |
The Action Bar: Front to Back
|
| fitz |
was trying to get comp ticket - did not happen
|
| fitz |
so is this conference worth going to next year?
|
| scottt |
i'd pay for tix, but not tix + cross-country travel
|
| Mark M. |
I'm a fairly lousy judge of that
|
| Mark M. |
I'm not really a conference-goer in general
|
| brian | has entered the room |
| fitz |
ok have a great day
|
| Mark M. |
this conference is a bit different than others, in that it has more hardware/firmware coverage, rather than plain development
|
| Mark M. |
howdy, brian!
|
| brian |
hi
|
| fitz |
need to jet - thought I would pop in and say HI
|
| brian |
got time for a question?
|
| fitz | has left the room |
| Mark M. |
brian: go ahead
|
| scottt |
have a great show
|
| Mark M. |
thanks!
|
| brian |
Have you tried migrating ActivityGroups to Fragments for use in a TabActivity like setting?
|
| Oct 11 | 10:55 AM |
| Mark M. |
I've avoided ActivityGroup like the plague
|
| scottt | has left the room |
| Mark M. |
with tabs, I've long advocated views-in-tabs, not intents-in-tabs
|
| Mark M. |
and I've never implemented any other form of ActivityGroup
|
| brian |
ok
|
| Mark M. |
off the cuff, each activity that had been in the group would turn into a fragment
|
| Mark M. |
what you then do with those fragments depends a bit on how you were using the ActivityGroup
|
| brian |
second question, then. For an app that uses a
database, is it advisable to open and close for each Activity that uses
it in onResume/onPause or to create a singleton and somehow manage the
db in another way
|
| Mark M. |
ah, we were just discussing that on [android-developers] today
|
| Mark M. | |
| brian |
I'm doing the former because I can't really figure a way to keep track of how to know when to close.
|
| Mark M. |
I need to update my Tutorials book for this
|
| brian |
Ok, cool. Thanks for the link.
|
| Mark M. |
either you don't close (which, by all reports, is
safe), or you use the reference-count trick outlined by one of the posts
in that thread, or something
|
| Mark M. |
a content provider never closes, for example, so it never has a chance to close the database
|
| Mark M. |
but, to answer the question, use the singleton
|
| Mark M. |
at least if you're using background threads
|
| Mark M. |
which, for a database, ideally you would
|
| Mark M. |
BTW, a chapter on the loader framework will show up in the next Advanced Android update, probably coming out on Monday
|
| Oct 11 | 11:00 AM |
| brian |
OK. Awesome. Thanks for the time. I'll try to duck in a little earlier next time. :)
|
| Oct 11 | 11:00 AM |
| Mark M. |
no problem -- another chat is Thursday, same time
|
| brian |
cya.
|
| Mark M. |
have a pleasant day!
|
| brian | has left the room |
| Mark M. | turned off guest access |