Hi,
AndroidUIAutomator api takes “UiSelector” object represented as String.
In this post Getting selected text for a combobox in Android I have quoted such example [with chained UISelector strategy]
More details on UiSelector can be found @ http://developer.android.com/tools/help/uiautomator/UiSelector.html
Hope this helps!