Software Archive
Read-only legacy content
17061 Discussions

Redirect to other website

lqu
Novice
693 Views

How can I redirect my app to other website? for instance www.google.com.

Here is the code    :

<body>

<script>
         window.location = "http://www.google.com"
    </script>

</body>

It works fine in the emulate, but after I built it into  a apk and install it , the screen is blank. 

0 Kudos
1 Solution
John_H_Intel2
Employee
693 Views

Did you set the Domain list to allow the domain that you are trying to access?

Its under Project, Build Settings.

View solution in original post

0 Kudos
2 Replies
John_H_Intel2
Employee
694 Views

Did you set the Domain list to allow the domain that you are trying to access?

Its under Project, Build Settings.

0 Kudos
lqu
Novice
693 Views

Thank you, it worked!

0 Kudos
Reply