Home » page 10

Click home icon with Espresso

February 23, 2018 Android Leave a comment

Questions: I am trying to click the home icon in some Espresso tests via: onView(withId(android.R.id.home)).perform(click()); This works fine for Android > 3.0 – but fails for older versions ...

Repeat android animation

February 23, 2018 Android Leave a comment

Questions: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.vitesse); gpsManager = new GPSManager(); gpsManager.startListening(getApplicati...

ListView in AlertDialog

February 23, 2018 Android Leave a comment

Questions: I am using a ListView in an AlertDialog to display a list of items. When the user clicks on one of the items, I want the dialog to close. I would not have any action buttons on the dialog. ...