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 / Build APK for Android doesn´t work

Author
Message
flexusjan
10
Years of Service
User Offline
Joined: 15th Jan 2014
Location:
Posted: 15th Jan 2014 15:36
Hey Guys,

I´have made a simple HelloWorld App.
On windows it works perfect!

Now, i tryed to upload it to https://developer.thegamecreators.com/android/create_apk.php.
No errors! I download the .apk file an put it on my SGS2.
After that i installed the HelloWorld.apk.
No errors!

But than, i start the app... 1 sec black screen then the app is closed -.-

what have I done wrong?


The Daddy
15
Years of Service
User Offline
Joined: 13th Jan 2009
Location: Essex
Posted: 27th Feb 2014 20:37
Firstly, you have not set any virtual resolutions and screen orientations! How can your device display anything when you have not told it how you will display something?

Look at SetVirtualResolution....


Also, try one of the example programs that come with the app game kit! If these work then your code is missing something.

www.bitmanip.com
All the juicy you could ever dream of!
Clonkex
Forum Vice President
13
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 23rd Mar 2014 01:32
Shouldn't need to do that. It should default to some resolution.

Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 23rd Mar 2014 20:50
The default display mode is the percentage system. I think the default orientation is everything supported and controlled by device orientation.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-03-28 16:15:26
Your offset time is: 2024-03-28 16:15:26