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 about how to use intent to invoke android camera programmatically to take and save pictures. It will also tell you how to display those pictures one by one when user click one picture.
From previous article, you have learnt how to implement android custom content provider with example. This article will show you how to call it’s method to insert, update, delete and query data from it.
This article will show you examples about how to create you own custom android content provider.
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.
Previous article tell you how to add android contacts for each detail contact fields programmatically. This article will show you how to read contacts fields out from android contacts and print them in android monitor logcat console.
This article will give you an example about steps to create android contact programmatically and how to insert each android contact field into contact data table. When click the add contact button, it will generate a contact and insert it into android contact tables.