On Fri, Jul 08, 2011 at 07:59:20AM -0400, Mark Murphy wrote:
> On Fri, Jul 8, 2011 at 7:10 AM, Jim Graham <[email protected]> wrote:
> > A bit of background: ?I am working on a brewer's grain/malt
> > specifications database app (and after that, similar for hops
> > and yeast).
> 
> Great. Just what we need: a bunch of drunk Androids wandering around.
> 
> :-)

Nope, they wouldn't get that far.  See, you'd have to combine all
three databases into one app (I'm assuming that there would be no
wild yeast inside the 'Droid) and let the Androids get wet.
Spontaneous fermentation would naturally occur once the warm, wet
'Droids finished converting the grains.

But here's the problem:  as the Androids are fermenting, CO2 would
not have a way to escape, and they'd quickly become grenades, causing
severe injury or death to anyone holding them.

:-)

\newif\ifofftopic \offtopictrue
   Seriously, though, for a moment; fermenters, naturally-carbonated
   bottled beers that are not done correctly, containers that are
   not designed to handle pressure used to force-carbonate beers,
   etc,  do have the very real ability, if too much pressure
   builds, to become what we brewers very seriously refer to as
   "glass grenades".  They can send shrapnel flying that will slice
   through human skin and muscle as if they were wet tissue paper.
\offtopicfalse


> > Question: ?Given that the database is read-only, and the fact that,
> > in order to copy it from one location to another, I already have to
> > be able to read it, can I just leave it in the assets directory and
> > read from it in that location instead of making a copy?
> 
> AFAIK, no. SQLite needs a file. The asset is merely a hunk of space
> inside the APK file (which is really a ZIP archive).

Ah, ok.  Yes, that makes sense now.  I was picturing the in-memory
copy while the app was running.  That's fine...just a bit more code
to run the first time around.

Thanks for setting me straight (and helping me avoid wasting a lot of
time!) on that one!

Later,
   --jim

-- 
73 DE N5IAL (/4)        MiSTie #49997  < Running FreeBSD 7.0 >
[email protected] ICBM/Hurricane: 30.44406N 86.59909W
Point Lobos Photography Set 1 (Photo-posters):  http://jdgapps.com
                "sigh, once upon a time T-1 was fast...."
                           --seen in alt.sysadmin.net-abuse.email

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

Reply via email to