Go to url...

Get help using Construct 2

Post » Thu Feb 09, 2017 12:36 pm

I want to link to another web page in the application I exported for mobile. how can I do it?
Image
I want to link more games
I want it to open in the browser
I want to continue to game in background
B
4
Posts: 11
Reputation: 222

Post » Thu Feb 09, 2017 2:24 pm

Add the Browser object to your project and you can do it.
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Wed Feb 15, 2017 8:35 am

Does not work when converted to APK...
B
4
Posts: 11
Reputation: 222

Post » Wed Feb 15, 2017 1:24 pm

@engin20020 This should work:
Image
ImageImageImageImage
B
27
S
9
G
7
Posts: 229
Reputation: 5,493

Post » Tue Mar 21, 2017 12:17 pm

TRMG wrote:@engin20020 This should work:
Image


Picture deleted.
The link does not work when I export the apk with xdk. I made the browser settings in construct 2
B
4
Posts: 11
Reputation: 222

Post » Tue Mar 21, 2017 12:18 pm

help me please...
How do I open the browser when I click a button on the APK?
B
4
Posts: 11
Reputation: 222

Post » Tue Mar 21, 2017 3:01 pm

Maybe instead of:
Browser | Go to URL
try:
Browser | Open URL in new window.
B
32
S
7
G
4
Posts: 397
Reputation: 4,589

Post » Tue Mar 21, 2017 6:28 pm

grigrizljac wrote:Maybe instead of:
Browser | Go to URL
try:
Browser | Open URL in new window.


no, This is not
B
4
Posts: 11
Reputation: 222

Post » Tue Mar 21, 2017 7:32 pm

@engin20020
Browser | Open URL in new window should work. Is your layout referencing the correct event sheet?
It's difficult to fix your problem without seeing a capx or a screenshot of your events or the export process.
B
48
S
24
G
98
Posts: 99
Reputation: 52,535

Post » Tue Mar 21, 2017 10:11 pm

engin20020 wrote:
grigrizljac wrote:Maybe instead of:
Browser | Go to URL
try:
Browser | Open URL in new window.


no, This is not

Try to use @engin20020 's method in a new project.
If it works in the new project and not in your current one, then it's a fault within your code...
ImageImageImageImage
B
27
S
9
G
7
Posts: 229
Reputation: 5,493


Return to How do I....?

Who is online

Users browsing this forum: ivanski1983, marcoscodas, Yahoo [Bot] and 12 guests