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: 13
Reputation: 226

Post » Thu Feb 09, 2017 2:24 pm

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

Post » Wed Feb 15, 2017 8:35 am

Does not work when converted to APK...
B
4
Posts: 13
Reputation: 226

Post » Wed Feb 15, 2017 1:24 pm

@engin20020 This should work:
Image
ImageImageImageImage
B
29
S
9
G
7
Posts: 243
Reputation: 5,573

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: 13
Reputation: 226

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: 13
Reputation: 226

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: 398
Reputation: 4,591

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: 13
Reputation: 226

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
55
S
28
G
107
Posts: 108
Reputation: 57,785

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
29
S
9
G
7
Posts: 243
Reputation: 5,573


Return to How do I....?

Who is online

Users browsing this forum: adventurist, brunopalermo, David181, stevo301103 and 22 guests