Sorry..Here is my Question..

We have a application which initiates a call using the Intents to
Android Dialer

In a normal context, the user of the application makes the call and
ends the call by red button press.


We are looking to automate such actions of the users though the
testcase api. We are using robotium to send the key press events.. but
it says permission error as Applications can't send key events to
other applications (in this case Android Dialer)

We did try to add <assign-permission
android:name='android.permission.INJECT_EVENT'/> and
<uses-permission android:name='android.permission.INJECT_EVENTS'/>

but this does not seem to help. Permission error continues te be
shown.


Regards,
Nagendra



On Jun 25, 3:01 pm, MobDev <developm...@mobilaria.com> wrote:
> I'm afraid you will have to do better in explaining your problem ? Or
> is it a question ?
>
> On 25 jun, 06:57, RajaNagendraKumar <nagendra.r...@tejasoft.com>
> wrote:
>
>
>
> > Hi,
>
> > Has any has success of pressing the redbutton of the dialpad, which is
> > launched my their own application.
>
> > We want to do press read button from ActivityInstrumentationTestCase2
> > testses on our own application.
>
> > Regards,
> > RajaNagendraKumar,
> > C.T.Owww.tejasoft.com- Hide quoted text -
>
> - Show quoted text -

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

Reply via email to