The previous article Android Pick Multiple Image From Gallery Example has told us how to browse an image gallery to select and show images use Intent.ACTION_GET_CONTENT intent. In that example, we save all user-selected images android file path URI in a list. Then we display those images one by one.
Android Content Provider
This example contains two buttons and one image view. When user click the first button, it will popup file browser which let user choose image. The image will be displayed in the image view.
Android FileProvider is a sub class of ContentProvider. It is used to share files between different android apps. It is implemented in android v4 Support Library. So before use it please make sure that you have include supported library in android project build.gradle file as below.
This article will show you an example of how to use intent to invoke an android camera programmatically to take and save pictures. It will also tell you how to display those pictures one by one when the user clicks one picture.
From the previous article, you have learned how to implement an android custom content provider with examples. This article will show you how to call it’s methods to insert, update, delete and query data from it.
This article will show you examples of how to create your own custom android content provider.
The android content provider is used to share data between different android apps. Generally, android app data is saved in SQLite database tables. Use content provider, you can choose which table or view’s data to be shared with other apps. This can make your android app data more safety.
This article is one of the Android contact management series, it will tell you how to update or delete android contacts programmatically. If you need to read previous articles, you can read below two first.
The previous article tells you how to add android contacts for each detailed contact field programmatically. This article will show you how to read contacts fields out from android contacts and print them in the android monitor Logcat console.
This article will give you an example of how to create android contact programmatically and how to insert each android contact field into the contact data table. When clicking the add contact button, it will generate one contact and insert it into android contact tables.