Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Redirect to other website

lqu
Novice
740 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
740 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
741 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
740 Views

Thank you, it worked!

0 Kudos
Reply