android - Robotium & system dialogs -


when try pair bluetooth device, system confirmation dialog pin appears. there buttons "cancel" , "ok". can't click them robotium. how can work android os dialogs in robotium? thanks.

this works me:

solo.clickonview(solo.getview(android.r.id.button1));  

where 'positive' button android.r.id.button1, 'negative' button android.r.id.button2 , 'neutral' android.r.id.button3.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -