Commit Graph

6 Commits

Author SHA1 Message Date
bootstraponline
afa2928ddf Fix long click on Android
Android's uiautomator has a broken long click implementation.
uiautomator will not pause long enough on long click which causes Android to detect the long click as a normal click.

This fix uses reflection to access uiautomator's private touchDown/touchUp methods to reimplement longClick correctly.

In theory I should be able to obtain a reference to android.app.UiAutomation without using reflection. However this doesn't seem possible when using uiautomator. getInstrumentation().getUiAutomation(); doesn't work because we're not using instrumentation.
2014-01-31 16:31:06 -05:00
rockbot
5d88a0eb48 Improves error handling in bootstrap's find.java (fixes #1549) 2014-01-03 11:52:26 -08:00
bootstraponline
f1f40fd66a Fix app not responding 2013-12-26 14:01:01 -05:00
Payman Delshad
36427cf6d1 Support for getClassName() from Android API level 18. 2013-10-21 13:40:31 +02:00
Saikat Maitra
00379af68d Fixed bootstrap build error to download dependencies
Below is error message. 

[ERROR] Failed to execute goal on project bootstrap: Could not resolve dependencies for project io.appium.android:bootstrap:jar:1.0.0-SNAPSHOT: The following artifacts could not be resolved: android:android:jar:4.3_r1, android.test.uiautomator:uiautomator:jar:4.3_r1: Could not find artifact android:android:jar:4.3_r1 in central (http://repo1.maven.org/maven2) -> [Help 1]
2013-10-18 17:57:14 +05:30
Jonathan Lipps
5ad5df488b move all android-related files together into devices/android 2013-10-17 12:33:49 -07:00