What Ted said is absolutely true, I just wanted to add a little tidbit.
In the AOSP sources, the code actually checks to see if finish was called
from within onCreate and short circuits the displaying any UI. This is so
that, if you determine your activity doesn't need to be run and call
finish()
Take a look at that AOSP sources. You can see that the built in contacts
app is saving the photos to the file system.
On the PhotoStore class in the contacts provider, here is the javadoc
comment on the class:
1. /**
2. * Photo storage system that stores the files directly onto the hard
Check this out.
http://developer.android.com/reference/android/os/Environment.html
For things like External Storage directory, you're going to need to use a
method, not a variable, as that can be dynamic.
On Sun, Jul 21, 2013 at 1:53 AM, Piren wrote:
> http://developer.android.com/reference/pa
Did you ever find a resolution for this? I'm seeing the same behavior in
the dredit sample Drive SDK code, and my code based off of it. I create a
pending intent out of the intent returned from getIntent(), but it doesn't
launch.
Here is my code, taken directly from the sample:
try {
GoogleA
I have a ListView which contains all of my TV Series in my Google TV app.
My goal is that when the user uses the d-pad to move to a different TV
Show, without selecting it (clicking the center button) the background of
the main view will change to match the currently focused show. Selecting
t
5 matches
Mail list logo