Sunday, February 26, 2012

Re: [android-developers] Re: camera app FC/no FC dep. on startup method

At this point it might be useful if you manage to create a very small sample app that has this problem, so that you can share that source code and I/we can try it and figure out what's going on.


I'm sorry I can't be more helpful...

On Sun, Feb 26, 2012 at 2:15 AM, Jim Graham <spooky130u@gmail.com> wrote:
On Sat, Feb 25, 2012 at 06:44:31PM -0600, Jim Graham wrote:
> On Sat, Feb 25, 2012 at 06:35:06PM -0600, Jim Graham wrote:
> > On Sun, Feb 26, 2012 at 01:31:08AM +0100, YuviDroid wrote:
> >
> > > I'm not sure as to what is going wrong exactly...but you might want to
> > > check the launchMode of your activity/ies.
> > > http://developer.android.com/guide/topics/manifest/activity-element.html#lmode
> >
> > I will...thanks.
>
> And there it is...99% sure that's the issue.

And I was wrong...no change.  :-(

In the manifest, between the <application> and <activity> tags, I added
  android:allowTaskReparenting="true"
and
  android:launcherMode="singleTop"  (as opposed to the default, standard)

I added the reparenting one first, tested it...force close.  Then I
re-read what you wrote above, and changed launchmode from standard (it
wasn't specified, thus was the default) to singleTop.  Still force
closes on exit given the very specific sequence of events I listed
earlier.

So, I'm back to being confused again.....  :-(

Here's a question:  can I assume that installing from the Market, and
using "Open" from there, pause, resume via icon, and exit will result
in the same force close as side-loading does?  Or am I most likely
chasing a ghost...a non-issue that only affects it when side-loaded?
I'm inclined to believe that if I'm seeing it, someone else will, too.

Thanks,
  --jim

--
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)        MiSTie #49997  < Running FreeBSD 7.0 >
spooky130u@gmail.com ICBM/Hurricane: 30.44406N 86.59909W

     "'Wrong' is one of those concepts that depends on witnesses."
    --Catbert:  Evil Director of Human Resources (Dilbert, 05Nov09)

Android Apps Listing at http://www.jstrack.org/barcodes.html

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



--
YuviDroid
Check out Launch-X (a widget to quickly access your favorite apps and contacts!)
http://android.yuvalsharon.net

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

No comments:

Post a Comment