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"

WebBrowser "Get Title Text" on Android.

I added a WebBrowser on a UMG widget, and launched on my android device,

I'm trying to "Get Title Text". but it always returns nothing. I'm asking for it on Event Tick just in case. Should this not work? The rest of the page is loading just fine, and I do get the title on pc.

Any comments about how it should work or how to make it work are greatly appreciated.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 29 '16 at 06:07 PM in Blueprint Scripting

avatar image

Sargas Evigmae
74 12 17 20

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

1 answer: sort voted first

It's not implemented it seems:

https://github.com/EpicGames/UnrealEngine/blob/ab237f46dc0eee40263acbacbe938312eb0dffbb/Engine/Source/Runtime/WebBrowser/Private/Android/AndroidPlatformWebBrowser.cpp#L162

Best practice here would to prepare code for return of empty string (remove any marking for title and if you got some add to favorites or something make some default string), you would need to do so either way as website is not guarranty to have a title. By doing so you code will be ready when android will have this implementation, as well as it will work with other platfroms.

more ▼

answered Jul 29 '16 at 07:31 PM

avatar image

Shadowriver
37.3k 936 172 1116

avatar image Sargas Evigmae Jul 29 '16 at 08:48 PM

Oh, I see. I was actually planning to use it on a url of my own.

On windows I can pass data from the html's title to my game. I'm using this as JSON is not exposed to BP and I would rather not add plugins to my game right now.

Quite a shame indeed.

Thanks =)

(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