Using Application.OpenUrl to open a URL in a String variable
Hi, I'm currently trying to build a simple program in Unity which gets a string from a URL, strips out the html and then passes that String variable to Application.OpenUrl to open a site I specify....
View ArticleHow can I open an URL without using Application.OpenURL?
I am calling an URL in the `Start()` function. But I don't want to open it using `Application.OpenURL()`. I don't want to open a browser window explicitly. Basically, I have a PHP file in the URL,...
View ArticleUnity "Application.OpenURL" Doesnt work.
Hi, I'm trying to use this code to open up email composer: Application.OpenURL("mailto:email@hotmail.com?subject=Email&body=Unity"); but the problem is it doesn't work. I replaced the url with...
View ArticleHow do I type in a URL without commenting out the rest of the line?
It seems like a really dumb question but it's got me stuck... As soon as I type in Application.OpenURL ("http:// everything after the // becomes a comment. My workaround was to create a string "http:/"...
View ArticleC# Android Application.OpenURL() sends email, but app hangs after
I use this Application.OpenURL("mailto:" + formEmail + "?subject=MySubject Consent&body=Mymsg"); The message sends that's great, it even returns to the app which calls Application.LoadLevel();...
View ArticleOpen Url in browser on button click
Hello I am new to unity . I am developing an app in unity 3d . Their is one functionality in which I want to open the weburl in browser through the game . On completing the browsing if user wants to go...
View ArticleApplication.OpenURL causing crashes on Android?
I am working on a very basic app demo right now, that simply opens a webpage when you press a button in the scene. However, every time OpenURL gets called, the app crashed and says it stopped...
View ArticleApplication.OpenURL not working with Data URI
If you enter the following URI in the browser: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg== it will show a...
View ArticleMailto with attachment
Application.OpenURL("mailto:?subject=test&body=test&attachment=" + filePath); it does open the mail program, but do not include the file. Am I doing something wrong? There's any way to do that...
View ArticleHow do I open a URL after a private static var hits a certain amount.
Hi Guys I've been learning basic coding and have found all the answers really helpful, Kudos. But I'm stumped on this one. I've got an onmousedown function set up so when you tap an object it destroys...
View ArticleHow to open a pdf on android device from streaming assets folder
Hi, I've been banging my head against the wall trying to figure this out. I've scoured the forums and have implemented what I think is the correct solution, but it is still not working. I'm trying open...
View ArticleApplication.OpenURL not working as a Facebook Canvas Game?
I'm testing a web build of a game as a Facebook Canvas app, but once the game is on Facebook, all external links stop working. If I click a link, the game stops showing but the browser remains on the...
View ArticleApplication.OpenURL not working
I'm trying to get my app to link to my other app using a popup. I have a UI button with the following code linked to its OnClick event: public void PopupClick(){ Application.OpenURL...
View ArticleiOS 8 application.openurl screen orientation
Hello, My app for iOS is set to run in landscape left orientation, but when I open a web page from it , using application.openurl, screen orientation changes to portrait, Is it possible to make the...
View ArticleMaking a phone call in iOS
I've been trying to make iPhones dial any kind of phone number, I'm stripping the variables down until it's just this tel://9897816789 And then I call Application.OpenURL(PhoneNumber); the string above...
View ArticleBuilding game rewrites web.html page
I wanted to make my game open url page but in separate tab instead of the same window as my web build, so I made a function that does that by using Application.ExternalCall () function in unity. Though...
View ArticleApplication.OpenURL to open google play store?
Hi, In my android game, I use this code: `Application.OpenURL ("market://details?q=pname:com.myCompany.myAppName/");` to open the playstore at my application for a rate button. However, upon executing...
View ArticleHow do I open developers account on iOS and Android?
Hello everyone. I am sure this is a very simple question, though I found it difficult to find any answers in the internet. I know that I can open my app on market using...
View ArticleClicking a button should open an app instead of a webpage
I have a button within my app which opens a webpage for now. I want it to open the android app (on an droid phone) or iOS app (on iphone) when user clicks on that button. What is a better way of doing...
View ArticleApplication.OpenURL not working in tvOS?
I want to simply open webpage (e.g. fb page, app store link, etc) in my tvOS app, and I tried `Application.OpenURL(myURL);` It only opens a blank page without anything.. . Is tvOS not support redirect...
View Article