# Can Intent be used to provide data to a ContentProvider? Why or why not?

URL: https://answers.mindstick.com/qa/32782/can-intent-be-used-to-provide-data-to-a-contentprovider-why-or-why-not

Can Intent be used to provide data to a ContentProvider? Why or why not?

## Answers

### Answer by Prateek sharma

no the data to content provider can be provided by the use of content resolver, not by an intent.the reason is that intent can be used to provide data to other activity and a content provider can only accept data in the form of content URI. so you needand to build a content URI which may be in the form -content://com.example.app.provider/tableand

