I'm trying to read the text from all the child nodes of an AccessiblityNodeInfo.
I tried getting AccessiblityNodeInfo.getParent()
and AccessibilityNodeInfo.getChildCount()
for(int i=0; i<accessibilityNodeInfo.getChildCount();i++){
accessibilityNodeInfo.getChild(i).getText();
}
Accessed the child nodes as mentioned above to get the text from the child nodes. but it is not providing the all the text on the screen.
Can anyone suggest me what to do get the text?