Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / Exit Tier1 app

Author
Message
Trisect Development
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Denmark
Posted: 24th Jan 2012 23:31 Edited at: 25th Jan 2012 12:09
I converted my iPad game to Android. Its for tablets.
Today I got a mail from a guy who tried the game on a Samsung GS2 and he told me he had to restart the phone because he could not exit the game.

Is it possible to exit the App in Tier 1?

Anyone from TGC have a solution?

iOS Apps from Trisect Development.
Click here.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Jan 2012 23:51
I think you need a software exit, the physical back button doesn't work.

Trisect Development
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Denmark
Posted: 26th Jan 2012 00:02
Yes this is what I'm asking for.
How does I exit my App with software in Tier1?

iOS Apps from Trisect Development.
Click here.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 26th Jan 2012 08:17
Just something as simple as an Exit button on your menu, which triggers the command END

The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 26th Jan 2012 10:34 Edited at: 26th Jan 2012 10:34
If getrawkeypressed(27)
end
endif
Trisect Development
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Denmark
Posted: 26th Jan 2012 22:53 Edited at: 26th Jan 2012 22:54
I can't find the END command in the documents!

Can I use it?

#The Zog2
It for tablets. Isn't 27 the Escape Key?

iOS Apps from Trisect Development.
Click here.
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 27th Jan 2012 08:27
On PC, 27 is the escape key, on android it's the back key...

Allso, End may be undocumented but im using it and it works...
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Jan 2012 12:51
It's under language

AGK/IDE/Help/language/10_end.htm

useful to know this is the back button on the phone, thanks!

Trisect Development
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Denmark
Posted: 27th Jan 2012 13:03
Okay thanks.

I tried it!
It works fine

iOS Apps from Trisect Development.
Click here.

Login to post a reply

Server time is: 2024-04-23 10:36:21
Your offset time is: 2024-04-23 10:36:21