Android development tutorial sharing images application: Part 4 – Easy Share Action

Android development tutorial sharing images application: Part 4 – Easy Share Action

For any questions I provide paid support here https://www.codementor.io/mobapptuts

In this android development tutorial series we will be creating an android project which shares images and videos.

Part 4 describes how to add an easy share for the andriod ActionBar

In this tutorial we will cover:
– Adding the ShareActionProvider to the menu xml file
– Getting the MenuItem from the menu xml file
– Creating the ShareActionProvider
– Creating a shared intent
– Providing the shared intent to the ShareActionProvider

API’s covered:
– MenuItem.FindItem
– MenuItemCompat.getActionProvider
– ShareActionProvider.setShareIntent
– Intent.setType
– Intent-putExtra

Youtube playlist:

https://www.youtube.com/playlist?list=PL9jCwTXYWjDI27h27TD6FEvt3CSeyCHaD

For questions, training and consultancy support I can be contacted here https://www.codementor.io/mobapptuts

Disclaimer – The only support provided on this channel which includes questions, will be submission of suspect bugs that are reproducible on android Nexus hardware on the github code base.

For much more information checkout
Website – https://www.nigeapptuts.com
Codementor – https://www.codementor.io/mobapptuts
Twitter – https://twitter.com/MobAppTuts
Facebook – https://www.facebook.com/nigeapptuts
Google+ – https://plus.google.com/b/115884642086760882044
Pinterest – https://www.pinterest.com/mobapptuts/

Android development tutorial sharing images application: Part 3 – Adding menu item to activity

Android development tutorial sharing images application: Part 3 – Adding menu item to activity

For any questions I provide paid support here https://www.codementor.io/mobapptuts

In this android development tutorial series we will be creating an android project which shares images and videos.

Part 3 describes how to create a menu for an activity and add a menu item. This menu item will ultimately be used for sharing the image.

This video https://youtu.be/aCAxDS1c3qk describes how to import the code from github using android studio and also how to use git tags

In this tutorial we will cover:
– Adding a icon to the android project
– Creating a menu resource folder
– Adding a menu resource file
– Adding a menu item to the menu resource file
– Inflating the menu in the activity
– Adding a click listener to the menu

API’s covered:
– onCreateOptionsMenu
– getMenuInflater().inflate
– onOptionsItemSelected

Youtube playlist:

https://www.youtube.com/playlist?list=PL9jCwTXYWjDI27h27TD6FEvt3CSeyCHaD

For questions, training and consultancy support I can be contacted here https://www.codementor.io/mobapptuts

Disclaimer – The only support provided on this channel which includes questions, will be submission of suspect bugs that are reproducible on android Nexus hardware on the github code base.

For much more information checkout
Website – https://www.nigeapptuts.com
Codementor – https://www.codementor.io/mobapptuts
Twitter – https://twitter.com/MobAppTuts
Facebook – https://www.facebook.com/nigeapptuts
Google+ – https://plus.google.com/b/115884642086760882044
Pinterest – https://www.pinterest.com/mobapptuts/

Channel: Mobile Application Tutorials
Published: 2017-05-22 04:58:02
Duration: 12M38S
Views: 93
Likes: 2
Favorites: 0

Android development tutorial sharing images application: Part 2 – Android 7+ support

Android development tutorial sharing images application: Part 2 – Android 7+ support using FileProvider

For any questions I provide paid support here https://www.codementor.io/mobapptuts

In this android development tutorial series we will be creating an android project which shares images and videos.

Part 2 describes how to share files with other applications. Note using this method is required for Android 7+ or later where a File Uri can no longer be passed to other applications using intents.
In this android development tutorial we will be describing how to setup a FileProvide to pass a content://URI with temporary access permissions to other applications.

Check the accompanying website tutorial here –

Github details:

This video https://youtu.be/aCAxDS1c3qk describes how to import the code from github using android studio and also how to use git tags

In this tutorial we will cover:
– Adding the FileProvider to the AndroidManifest using the provider tag
– Creating an xml file which will specify the location of the files to be shared
– How to use the FileProvider API to get a content URI

API’s covered:
– Activity.getPackageName
– FileProvider.getUriForFile

Youtube playlist:

Website series:

For questions, training and consultancy support I can be contacted here https://www.codementor.io/mobapptuts

Disclaimer – The only support provided on this channel which includes questions, will be submission of suspect bugs that are reproducible on android Nexus hardware on the github code base.

For much more information checkout
Website – https://www.nigeapptuts.com
Codementor – https://www.codementor.io/mobapptuts
Twitter – https://twitter.com/MobAppTuts
Facebook – https://www.facebook.com/nigeapptuts
Google+ – https://plus.google.com/b/115884642086760882044
Pinterest – https://www.pinterest.com/mobapptuts/

Channel: Mobile Application Tutorials
Published: 2017-05-17 12:11:19
Duration: 9M44S
Views: 121
Likes: 2
Favorites: 0

Upgrading android camera intent app to nougat (7.0+) replacing File://Uri with content://Uris

For any questions I provide paid support here https://www.codementor.io/mobapptuts

In this android development tutorial series we revisit the camera intent tutorial series https://youtu.be/8t_CMkJ_f40?list=PL9jCwTXYWjDJ5Lok6Lba8U_629xeegj_h

For those of you who are using devices using android OS version 7.0 or later the camera intent application will fail. This is due to how android now enforces how files are shared from one application to another.
Applications now have to implicitly specify which files can be spared to other applications. This is done by creating a content:Uris which have temporary sharing permissions.
The android FileProvider is used to specify which files can have temporary sharable permissions applied to them.

Check the accompanying website tutorial here – https://goo.gl/4Bgg3k

Github details:

The code is now on github you can get it from here

https://github.com/mobapptuts/camera_intent.git Tag camera-intent-nougat

or else run this command

git clone https://github.com/mobapptuts/camera_intent.git –branch camera-intent-nougat

This video https://youtu.be/aCAxDS1c3qk describes how to import the code from github using android studio and also how to use git tags

In this tutorial we will cover:
– Adding the provider to the android manifest
– How to get the package name in the android manifest
– Adding meta-data to specify the files with shareable permissions
– Creating a filepaths xml file
– How to get the package name in source
– Creating a content:Uri using the FileProvider

API’s covered:
– getApplicationContext().getPackageName()
– FileProvider.getUriForFile

Youtube playlist:
https://youtu.be/8t_CMkJ_f40?list=PL9jCwTXYWjDJ5Lok6Lba8U_629xeegj_h

Website series:
https://goo.gl/04RKuR

For questions, training and consultancy support I can be contacted here https://www.codementor.io/mobapptuts

Disclaimer – The only support provided on this channel which includes questions, will be submission of suspect bugs that are reproducible on android Nexus hardware on the github code base.

For much more information checkout
Website – https://www.nigeapptuts.com
Codementor – https://www.codementor.io/mobapptuts
Twitter – https://twitter.com/MobAppTuts
Facebook – https://www.facebook.com/nigeapptuts
Google+ – https://plus.google.com/b/115884642086760882044
Pinterest – https://www.pinterest.com/mobapptuts/

Channel: Mobile Application Tutorials
Published: 2017-04-28 03:06:49
Duration: 14M9S
Views: 440
Likes: 14
Favorites: 0

Android development tutorial creating media thumbnail viewer – Part2 RecyclerView adapter

In this android development tutorial series we will be creating a thumbnail viewer for the Mediastore. Which will display the thumbnails for both videos and images.

This tutorial series will introduce the viewers to android ContentProviders. Which in this example will be the MediaStore ContentProvider.

It will also cover android cursor loaders and the android RecyclerView.

Part 2 Explains to how create the RecyclerView adapter which is responsible for providing the image bitmap data to the UI ImageView.
This tutorial will just cover creating the initial framework for the RecyclerView adapter.

Check the accompanying website tutorial here https://www.nigeapptuts.com/?p=982

Github details:

The code can be found on github from the following instructions below

https://github.com/mobapptuts/media-thumbnail-viewer.git Tag

media-viewer-adapter

or you can run this command

git clone https://github.com/mobapptuts/media-thumbnail-viewer.git –branch

media-viewer-adapter

This video https://youtu.be/aCAxDS1c3qk describes how to import the code from github using android studio and also how to use git tags

In this tutorial we will cover:
– How to include RecyclerView support in the build.gradle file
– Adding an ImageView to a RelativeLayout
– Creating the RecyclerView.Adapter class
– Adding a ViewHolder class to the RecyclerView.Adapter class
– Adding the required overriden methods
– How to inflate the ImageView that is provided to the ViewHolder

API’s covered:
– RecyclerView.Adapter
– RecyclerView.ViewHolder
– ImageView
– findViewById
– onCreateViewHolder
– LayoutInflater.from
– LayoutInflater.inflate
– onBindViewHolder
– getItemCount

Youtube playlist:
https://www.youtube.com/playlist?list=PL9jCwTXYWjDJ6o1uabT54z1YmYYBh9US6

Website series:
https://www.nigeapptuts.com/category/media-viewer/

For questions, training and consultancy support I can be contacted here https://www.codementor.io/mobapptuts

Disclaimer – The only support provided on this channel which includes questions, will be submission of suspect bugs that are reproducible on android Nexus hardware on the github code base.

For much more information checkout
Website – https://www.nigeapptuts.com
Codementor – https://www.codementor.io/mobapptuts
Twitter – https://twitter.com/MobAppTuts
Facebook – https://www.facebook.com/nigeapptuts
Google+ – https://plus.google.com/b/115884642086760882044
Pinterest – https://www.pinterest.com/mobapptuts/

Channel: Mobile Application Tutorials
Published: 2016-06-01 13:35:55
Duration: 11M31S
Views: 1639
Likes: 17
Favorites: 0

Android development tutorial creating media thumbnail viewer – Part1 Read storage permissions

In this android development tutorial series we will be creating a thumbnail viewer for the Mediastore. Which will display the thumbnails for both videos and images.

This tutorial series will introduce the viewers to android ContentProviders. Which in this example will be the MediaStore ContentProvider.

It will also cover android cursor loaders and the android RecyclerView.

Part 1 covers the original android studio project creation. Adding read external permission in the AndroidManifest file. And adding runtime permission support for the read external storage permission.

Check the accompanying website tutorial here https://www.nigeapptuts.com/?p=979

Github details
The code can be found on github from the following instructions below

https://github.com/mobapptuts/media-thumbnail-viewer.git Tag

media-viewer-permissions

or you can run this command

git clone https://github.com/mobapptuts/media-thumbnail-viewer.git –branch

media-viewer-permissions

This video https://youtu.be/aCAxDS1c3qk describes how to import a project from github using android studio and also how to select a git tag.

Youtube playlist:
https://www.youtube.com/playlist?list=PL9jCwTXYWjDJ6o1uabT54z1YmYYBh9US6

Website series:
https://www.nigeapptuts.com/category/media-viewer/

For questions, training and consultancy support I can be contacted here https://www.codementor.io/mobapptuts

Disclaimer – The only support provided on this channel which includes questions, will be submission of suspect bugs that are reproducible on android Nexus hardware on the github code base.

For much more information checkout
Website – https://www.nigeapptuts.com
Codementor – https://www.codementor.io/mobapptuts
Twitter – https://twitter.com/MobAppTuts
Facebook – https://www.facebook.com/nigeapptuts
Google+ – https://plus.google.com/b/115884642086760882044
Pinterest – https://www.pinterest.com/mobapptuts/

Channel: Mobile Application Tutorials
Published: 2016-05-31 13:48:14
Duration: 14M49S
Views: 2835
Likes: 28
Favorites: 0

Leave a Reply

Your email address will not be published. Required fields are marked *