Friday, September 10, 2010

[android-developers] Re: onActivityResult never called on ActivityGroup

You found any solution for this?
because i have to call Gallery Activity from an Activity Group

A (Tab)
|
|__ B (Activity Group)
| |
| |__C (ListActivity)
| |__ D (ListActivity)
| |__ Gallery

and gallery doesn't result me anything

On Jul 21, 8:30 pm, pabbot <pabloabads...@gmail.com> wrote:
> Maybe this could help. When I show the dialog, the logcat logs the
> following:
>
> 07-21 20:26:58.790: WARN/ActivityManager(56): startActivity called
> from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK...
>
> On 21 jul, 20:15, pabbot <pabloabads...@gmail.com> wrote:
>
>
>
> > Hi all,
>
> > I'll be brief.
> > I have an application with the following Activities Schema:
>
> > A (ActivityGroup)
> > |
> > |__ B (Activity Group)
> > |   |
> > |   |__C (Activity)
> > |   |__ ... (Other Activities)
> > |
> > |__ D (ListActivity)
> > |   |
> > |   |__ ListView with a custom adapter with two buttons per row
>
> > All the Activities shown on the "diagram" are displayed and visible in
> > real time while the application is being executed.
>
> > Well, I'm pushing new list elements from C to the ListView in D. And
> > by clicking each row's buttons I'm trying to edit the data of the row
> > by means of a dialog. The problem is when, in the dialog activity, I
> > perform the setResult() and finish(); the D's onActivityResult() is
> > never called, and I do not know why.
>
> > Any clues?
>
> > Many thanks in advance.

--
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