Posts

Showing posts with the label share image

Share Image | Android Studio | Kotlin

Image
How to Share Image on button click - Android Studio In this tutorial, we will learn how to share the Image. You will be able to share image picked from Camera/Gallery as Uri or bitmap also. When you click share button you will see a dialog/popup/window having all apps that are able to share the image. >>Check For Java Step 1: Create XML Folder & XML Resource File Create an  xml  folder under the  res  folder. For that right-click the res folder fand rom the popup window and click  New > Folder > XML Resource Folder . Create an  XML Resource File  under the  xml  folder. For that right-click the  xml  folder and from the popup window click  New > XML Resource File  and name   file  files_path.xml Step 2: Code AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android= "http://schemas.android.com/apk/res/android" package= "com.technifysoft.sharei...

Share Image | Android Studio | Java

Image
How to Share Image on button click - Android Studio In this tutorial, we will learn how to share the Image. You will be able to share image picked from Camera/Gallery as Uri or bitmap also. When you click share button you will see a dialog/popup/window having all apps that are able to share the image. >>Check For Kotlin Step 1: Create XML Folder & XML Resource File Create an xml folder under the  res  folder. For that right-click the res folder fand rom the popup window and click New > Folder > XML Resource Folder . Create an  XML Resource File under the  xml  folder. For that right-click the xml folder and from the popup window click  New > XML Resource File and name file  files_path.xml Step 2: Code AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android= "http://schemas.android.com/apk/res/android" package= "com.technifysoft.shareimagetext" > <uses-pe...