x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Share button in UE4

Is there a way to add a share button to my game? I would like to click a button on my game and have the "Share via" option come up that allows you to pick from a variety of applications to share to. My end goal is to send a screenshot to whatever the user selects.

This is a picture of what I'm talking about.

alt text

Product Version: UE 4.20
Tags:
sharevia.png (24.4 kB)
more ▼

asked Aug 07 '18 at 05:32 PM in Blueprint Scripting

avatar image

CWolf93
16 3 5

avatar image mightyenigma Aug 23 '18 at 04:13 PM

I'm not sure how to approach this. My first idea is to use Rama's Victory Plugin or C++ to get access to the file system, then open a web page using Unreal's web viewer, and have the web page take care of everything else (which means you have to know a little bit about web development to get it working).

But you can do it without a web page too, you just need to send the image using each of those services' APIs, but again that involves knowing a little bit about web development.

Anyone else know how this works?

avatar image manuaganu Oct 05 '18 at 05:52 AM

Bump here. I also want the same. Thanks in advance :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

UE4 don't have this binded, you need to add code to java frontend of UE4 and also bind it in C++ of UE4, explained how to do it here:

https://answers.unrealengine.com/questions/834044/how-to-use-android-java-aar-library.html

Before you start learn how intent system works in android:

https://developer.android.com/reference/android/content/Intent

more ▼

answered Oct 05 '18 at 02:38 PM

avatar image

Shadowriver
37.2k 936 172 1116

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question