No. User interaction is always required in this case. Try using
monkeyrunner I think can do GUI stuff.



On Sep 15, 11:07 am, Alpha <[email protected]> wrote:
> In my app, I try to make the bluetooth device in discoverable
> state.The suggested solution is to send the REQUEST_DISCOVERABLE
> intent and the system will deal with it to make the bluetooth device
> discoverable 。The problem is after i send the intent .My application
> will create a permission  dialog to let the user to choose allow the
> bluetooh discoverable  or not.Is there any solution to avoid the
> dialog and make the bluetooth deive discoverable .Because i  write a
> junit case to test some fuction ,we want to make the application more
> automation,it means less man coperation.How  to  fix it .Any idea will
> be apreciated!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to