Hello, Thanks for the replies!
"Just out of interest, what do you mean by 'test?'" - I mean GUI Robotium test - ActivityInstrumentationTestCase2 etc. Which should be run from the shell ot the CI Server. "Just remove the process attribute from your manifest while testing" - I have tried, but by this way we are able only to run the application, then it crashes without "separate process".. It has near 10 activities with "separate process", if I remove all of them it doesn't work anyway.. But looks like it is only the direction we can find any solution. I said that it is bug only because of it is illogical to have a huge testing infrastructure and cool big apps which are not testable due to the are no way to get control over the Activities which is run in a "separate process".. Please advise, is there any possible solution? Best regards, Yahor On Wed, Jan 18, 2012 at 8:45 AM, Diego Torres Milano <dtmil...@gmail.com>wrote: > Just remove the process attribute from your manifest while testing and > re-enable it when exporting a production APK. Probably you have to > remove others as well (i.e. debuggable), so why bother. > > On Jan 17, 2:03 am, Kristopher Micinski <krismicin...@gmail.com> > wrote: > > Just out of interest, what do you mean by 'test?' > > > > Do you mean, run in eclipse with the 'test' functionality in that IDE? > > Or perhaps you mean under something like monkeyrunner.. > > > > Depending on what you want to test, I don't see what your problem is, > > which I suspect is why few people responded. > > > > True, if something is running in a separate process it's not as easy > > to debug it, you could always attack a debugger to the other process, > > but this isn't a bug in Android, per se. > > > > P.s., there have been so many people on this list lately with "here, > > I've found an obvious bug in android" that doesn't really make sense, > > please think deeply before you blame a highly trusted framework > > (/system/framework/etc...) > > > > On Tue, Jan 17, 2012 at 1:54 AM, Yahor Paulavets > > > > > > > > > > > > > > > > <ypaulav...@agilefusion.com> wrote: > > > Anyone? > > > > > On Tue, Jan 10, 2012 at 5:12 PM, Yahor Paulavets > > > <ypaulav...@agilefusion.com> wrote: > > > > >> Hello, > > > > >> After the week of hard workaround I didn't find any possible solution > to > > >> test Activity if it is run with specified android.process=":process" > param > > >> (private, isolated process). > > > > >> Please help to find any possible solution to understand how to test > such > > >> Activities. > > > > >> Is it Android bug, that Activities in the separate process are not > > >> testable? :( > > > > >> Any help is highly appreciated. > > > > >> Best regards, > > >> Yahor > > > > > -- > > > 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+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > -- > Have you read my blog ? > http://dtmilano.blogspot.com > android junit tests ui linux cult thin clients > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en