- Home /
 
               Question by 
               yyamiyyugi · Apr 10, 2014 at 04:56 PM · 
                c#androidmobileapp  
              
 
              Application.openurl won't work on android?
I am trying to open a simple webpage (google for example) and it works fine in editor but not on my android tablet?!?!?!?
 using UnityEngine;
 using System.Collections;
 
 public class GUITest : MonoBehaviour {
 
 
     // Use this for initialization
     public GUISkin guiskin;
 
     void Start () {
     
     }
     
     // Update is called once per frame
     void OnGUI () {
         GUI.skin = guiskin;
         if(GUI.Button (new Rect(100,100,300,100), "Test")){
             Debug.Log ("testclick");
             Application.OpenURL("www.google.com");
         }
 
     }
 }
 
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by yyamiyyugi · Apr 10, 2014 at 07:23 PM
oops, forgot to have the app ask permission
Your answer
 
 
             Follow this Question
Related Questions
Why does .apk file being built consumes so much space? 1 Answer
Facebook Deep Link in Unity3D equal to null 0 Answers
Android Sliding Controls 0 Answers
Android C# JoyStick Movement 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                