Office Hours — Today, October 11

Tuesday, October 4

Oct 11
9:55 AM
Mark M.
has entered the room
Mark M.
turned on guest access
10:40 AM
scottt
has entered the room
Mark M.
howdy, scottt!
greetings from Android Open!
scottt
hello. i wasnt sure you'd notice me enter with all the activity in here
10:45 AM
Mark M.
the crickets got tired of chirping
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)
no, i just popped in for some and dev inspiration
Mark M.
I am not aware of a US East Coast conference
I argued with the AnDevCon folks that if they're going to do two a year, they should be bi-coastal
lost that fight, at least for 2011
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
running this chat from my hotel room
fitz
you talking otday?
Mark M.
conference doesn't start for another hour and change
yes
The Action Bar: Front to Back
fitz
was trying to get comp ticket - did not happen
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
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
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?
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
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
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
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
a content provider never closes, for example, so it never has a chance to close the database
but, to answer the question, use the singleton
at least if you're using background threads
which, for a database, ideally you would
BTW, a chapter on the loader framework will show up in the next Advanced Android update, probably coming out on Monday
11:00 AM
brian
OK. Awesome. Thanks for the time. I'll try to duck in a little earlier next time. :)
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

Tuesday, October 4

 

Office Hours

People in this transcript

  • brian
  • fitz
  • Mark Murphy
  • scottt