In previous article Android Pick Multiple Image From Gallery Example we have learnt how to use Intent.ACTION_GET_CONTENT to open picture gallery to select and display images. We save all user selected image’s uri in a list. Then we can show them one by one when user want.
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.
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.