I figure I'm doing something dumb in eclipse but I just can't figure it out.
I'm automating an activity with uiautomator. I needed to grab some info from a custom control that stored in the apk.
My file structure is something like this
myApp/java/com/fancy/ui/control/theview.java
myApp/uitests/src/com/fancy/ui/uitests.java
I only load the myApp/uitests into my workspace, not the activity code.
Anyhow I import the com.fancy.ui.control.theview;
In eclipse properties Java path I pointed to the class folder since it's an apk. (this is where I plead ignorance).
The test code I create a thread, a handler and a looper, within that handler.Post I am asking to print theview.getAdapter().getcount();
Everything compiles and when I push the jar and run it via uiautomator - it steps into the thread but complains about com.fancy.ui.control.theview being classref not found exception. - I figure it has something to do with the Java path stuff. Perhaps even with the fact the I'm loading only the uitest into the workspace and not the activity&control.
Any thoughts on setting it up right? Should I focus on the setting or am not allowed to access activity or controls from a thread via uiautomator?
Happy Holidays,
zombietoe