Message from discussion < Getting the logs from target application >
Received: by 10.224.33.76 with SMTP id g12mr8639893qad.21.1311147840198;
Wed, 20 Jul 2011 00:44:00 -0700 (PDT)
Received: by 10.224.174.3 with SMTP id r3ls36171qaz.1.gmail; Wed, 20 Jul 2011
00:43:59 -0700 (PDT)
Received: by 10.224.194.5 with SMTP id dw5mr8667174qab.5.1311147839435;
Wed, 20 Jul 2011 00:43:59 -0700 (PDT)
Received: by 10.224.176.139 with SMTP id be11msqab;
Tue, 19 Jul 2011 22:53:58 -0700 (PDT)
Received: by 10.220.117.68 with SMTP id p4mr1182223vcq.10.1311141238744; Tue,
19 Jul 2011 22:53:58 -0700 (PDT)
Received: by v12g2000vby.googlegroups.com with HTTP; Tue, 19 Jul 2011 22:53:58
Date: Tue, 19 Jul 2011 22:53:58 -0700 (PDT)
X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML,
like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30,gzip(gfe)
Subject: Re: < Getting the logs from target application >
From: marekdef <marek...@gmail.com>
To: Robotium Developers <firstname.lastname@example.org>
Content-Type: text/plain; charset=UTF-8
What is in the intent ?
Did you specified intent filter in your service ?
Is it in the manifest of your service ?
On 19 Lip, 00:38, garry <grv...@gmail.com> wrote:
> I had same problem. I wrote the service but It never binds, following
> lines always give returns false:
> boolean ret =3D getInstrumentation().getContext().bindService(intent,
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 mServiceConnection, Context.BIND_AUT=
> Am I doing something wrong to bind the service.
> On Jul 12, 12:59=C2=A0pm, marekdef <marek...@gmail.com> wrote:
> > I think that test takes permissionsfrom target app.
> > The only way of saving logs is to create a service that has the
> > permi=C5=9Bions and bind to it from test.
> > On Jul 12, 8:39=C2=A0pm, "Dev.SachiAndroid" <sachid...@gmail.com> wrote=
> > > Hi Everybody [Robotium Developer]
> > > i want to get the logs from the target application and save it to the
> > > storage system by including =C2=A0following permission in my robotium=
> > > application's manifest:
> > > <uses-permission android:name=3D"android.permission.READ_LOGS"" />
> > > <uses-permission
> > > android:name=3D"android.permission.WRITE_EXTERNAL_STORAGE" />
> > > I only have apk of the target application (source code not
> > > accessible).
> > > I tried to run robotium test application with above permissions but
> > > those doesn't work. How to achieve it?=C2=A0
> > > Thanks,