If I understand you correctly, you just need to call Activity.getIntent
() within Activity.onCreate().
Thing is that onCreate does not get called. That activity starts,
resume gets called. At the point when resume gets called the intent
has changed from my intent with extras to the
some additional details in case someone here does not go there ...from
logcat ...
Starting activity: Intent { comp={com.blah.blahs/com.blah.blahs.Blahs}
(has extras) } *** notice ... this is my intent called from the
status bar ***
startActivity called from non-Activity context; forcing
Be sure you read app fundamentals, especially about tasks:
http://developer.android.com/guide/topics/fundamentals.html#acttask
The entity launching the intent (the status bar) is not part of a task, so
it is starting an activity outside of a task, so the system forces the
NEW_TASK flag on the
Hi Dianne,
This worked! You rock. My forehead and desktop thank you for the break.
Not to sound too defensive but ...
I have read the documentation thoroughly and repeatedly. I have also
watched any and all videos from the conference, etc. I have been
developing with Android since
Like I said before, the Activity gets called - fine - thing is that I
want to have to get focus and then change based upon the info in
extra. I cannot figure out where to receive the intent data in this
situation.
If I understand you correctly, you just need to call Activity.getIntent
()
Giving this a little more thought ... of course this must be possible
- when an email appears in the NotificationManager it knows to open
and show the email that is announced. So, can someone please give me
a clue as to how this flows?
Here is my code from the Service:
public void
6 matches
Mail list logo