How to use UiSelector with Appium in java

I think, only difference with using AndroidUIAutomator api through Appium is - passing “UiSelector” object as a String parameter. You should use escape characters correctly for double quotes.

One example can be found @ Getting selected text for a combobox in Android