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.

AppGameKit Classic Chat / Long time init InitGL(...). Samsung Bada.

Author
Message
ace2
12
Years of Service
User Offline
Joined: 27th Sep 2011
Location:
Posted: 14th Oct 2011 16:05
Hi,
You (AGK) sended my source code for function
void agk:latformInitGL(void* ptr)
This function on some phones (samsung 8500, 8530) performed long time. (~20 - 30 sec.)



If I am using to initialize OpenGL without (see code below), initialization OpenGL is performed less than 1 second.



What does this code?
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 14th Oct 2011 16:31


Sets up a broadcaster to work around a Samsung bug that won't allow you to receive broadcasts otherwise (it doesn't start the broadcaster until later on)



Constructs the text input screen so you can input text using StartTextInput().
ace2
12
Years of Service
User Offline
Joined: 27th Sep 2011
Location:
Posted: 14th Oct 2011 17:10
What to do with the delay?. Maybe make an initialization (Broadcaster) in a separate method? Samsung does not take the game.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 14th Oct 2011 17:46
The broadcaster doesn't do anything special but set a few values internally, so I'm more inclined to think that the keypad is causing the slow down. But since I can't replicate the problem here I have nothing to go on. Can you test creating a keypad in your code to see if your can find out what it doesn't like, or if there is method of creating it that works faster?
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 15th Oct 2011 06:37
We have narrowed this issue to a possible fix, which will be in the 105 build. Watch this space (and the issues board for more info).

I drink tea, and in my spare time I write software.

Login to post a reply

Server time is: 2024-03-29 07:49:46
Your offset time is: 2024-03-29 07:49:46