Quantcast
Channel: Questions in topic: "application.openurl"
Browsing latest articles
Browse All 84 View Live

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 Article


How 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 Article


Unity "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 Article

How 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 Article

C# 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 Article


Open 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 Article

Application.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 Article

Application.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 Article


Mailto 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 Article


How 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 Article

How 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 Article

Application.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 Article

Application.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 Article


iOS 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 Article

Making 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 Article


Building 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 Article

Application.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 Article


How 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 Article

Clicking 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 Article

Application.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

Application.OpenURL crashes on PC

My Game is crashes when calling Application.OpenURL , if i remove this line game works perfectly. This works on editor , but in PC.

View Article


Application.OpenURL open local file with special characters on android

On android i just want to open a video. Application.OpenURL works perfectly, until the filepath have special characters in it. All this also work fine on windows, doesnt matter which filepath's i have....

View Article


open another app from ours?

Hi, I want to open gallery from my android app. I found somewhere that you can do it using`Application.OpenURL`having gallery URI path in it. But I don't have a sun beam of idea to do it anyway. Can...

View Article

Browse to folder on Android via File Explorer

I'm using System.IO to read and write to a text file kept in the root of Application.persistentDataPath for my Unity Android app. Once the user is done making changes in the app, I would like them to...

View Article

Unity C# Application.OpenURL not working with variable input

Also posted on Stack Overflow at: https://stackoverflow.com/questions/45039888/unity-c-sharp-application-openurl-not-working-with-variable-input I'm building an application in Unity and I have a button...

View Article


Open screenshot in file location Android

I have a button that takes a screenshot which saves into my Android device in the folder "sdcard/DCIM/Camera". I then have a separate button with the code: Application.OpenURL ("/sdcard/DCIM/Camera");...

View Article

Application.OpenURL not working in Android 6 & 7

Hi, I am trying to open the URL externally in Play Store using Application.OpenURL(url). But from Android 6.0 , this causes the game application crash at first launch of the app. But the same is...

View Article

Cannot open a directory using Application.OpenURL(); in android device.

I am trying to open application's data folder by using `Application.OpenURL(Application.persistentDataPath);`. It works fine in editor and opens the folder in Windows Exporer but when I try the same in...

View Article

How to always let the user choose a message app to send sms

so I'm using ` url = string.Format("sms:{0}?body={1}", "", Uri.EscapeDataString(fullMessage)); Application.OpenURL(url);`to let the user send a sms. It works perfectly. the user can choose who to send...

View Article


Browsing latest articles
Browse All 84 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>