Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion < Getting the logs from target application >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
marekdef  
View profile  
 More options Jul 20 2011, 1:53 am
From: marekdef <marek...@gmail.com>
Date: Tue, 19 Jul 2011 22:53:58 -0700 (PDT)
Local: Wed, Jul 20 2011 1:53 am
Subject: Re: < Getting the logs from target application >
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 = getInstrumentation().getContext().bindService(intent,
>                                 mServiceConnection, Context.BIND_AUTO_CREATE);

> Am I doing something wrong to bind the service.

> On Jul 12, 12:59 pm, 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śions and bind to it from test.
> > On Jul 12, 8:39 pm, "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  following permission in my robotium test
> > > application's manifest:

> > > <uses-permission android:name="android.permission.READ_LOGS"" />
> > > <uses-permission
> > > android:name="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? 

> > > Thanks,
> > > Sachi.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.