Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Paste from AccessibilityService works in API22 does not work in API17

 
Rehan Zahoor
Ranch Hand
Posts: 83
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Infact there is an action in class AccessibilityNodeInfo that can be used in API 18 onwards in such a manner.



but I want it done in APIs after API15, so I am using version 4 compatibility support library. After getting the library in the project by using a gradle statement (I am using android studio)
I tried using this code


Now in principal it should work alright even on API 17. But it does not. Even after using the version 4 compat support library. I am all at loss now.

This is my code so far



Kindly help if you have some experience and knowledge of using compatibility support library.
 
Rehan Zahoor
Ranch Hand
Posts: 83
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For those who are interested in the post:-
The question was result of a misunderstanding that I can use level4 compatibility library to provide API 22 features. In fact one can use API 4 compatibility library to provide some features that were added after API4 in < API 4 apps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic