change sdk target to 19
fix incorrect imports
review
Merge pull request #172 from Logan676/feature/documentprovider

review source code from forouher/feature/documentprovider