share-intent Questions

5

Solved

I want to share text in my CardView using share Intent using kotlin but there is a problem with last line in the code in kotlin the code val shareIntent = Intent() shareIntent.action = Intent....
Cherenkov asked 2/12, 2017 at 19:56

1

Solved

I am creating a social media application in which user can share images, videos, audios etc. I am successful in receiving the medias that shares from third party application by adding the below cod...
Regimen asked 17/4, 2020 at 17:48

1

How to send image or video to the WhatsApp Status (or story) in android. we can send an image to contact by using: Intent sendIntent = new Intent("android.intent.action.MAIN"); sendIntent.addFlag...
Dunson asked 25/8, 2018 at 18:55

3

I have a video file path and want to share the video on social media, but unable to share the video. I am trying following code in Android Studio 2.2, but it's not working. Code snippet : public ...
Surname asked 1/12, 2016 at 7:30

12

Solved

I have in my app a share button and i want to share an image and a text at the same time. In GMail it works fine but in WhatsApp, only the image is sent and in Facebook the app crashes. The code i...
Pandowdy asked 15/4, 2014 at 7:36

1

Solved

Background I wish to show the native intent-chooser, while having the ability to customize it a bit. For this, I've found the next StackOverflow thread: How to customize share intent in Android?...

2

Solved

Background In the past, it was easy to share an APK file with any app you wanted, using a simple command: startActivity(new Intent(Intent.ACTION_SEND,Uri.fromFile(filePath)).setType("*/*")); Th...

1

Solved

I am saving a file on internal storage. It is just a .txt file with some information about objects: FileOutputStream outputStream; String filename = "file.txt"; File cacheDir = context.getCach...
1

© 2022 - 2024 — McMap. All rights reserved.