[android-developers] Re: duplicate calls to onSurfaceChanged() weirdness (again)

2013-04-03 Thread Cleuton Sampaio
Yes, I have the same problem. "onSurfaceChanged()" is being called twice. 

Em quinta-feira, 12 de abril de 2012 12h57min35s UTC-3, Latimerius escreveu:
>
> Hello,
>
> googling for the following problem got me a lot of hits where people
> ask or rant about this but no actual explanation so I figured I'll ask
> here, perhaps someone has an update on the problem.
>
> I'm using stock GLSurfaceView, only subclassed to get onTouchEvent(),
> the rest of it is standard.  When coming back to my app (*not*
> starting it anew, that seems to work as expected) I get the following
> sequence of calls:
>
> onSurfaceCreated()
> onSurfaceChanged()
> onDrawFrame()
> onSurfaceChanged()
> onDrawFrame()
> onDrawFrame()
> onDrawFrame()
> ...
>
> The (by now standard ;-)) question is: why is onSurfaceChanged()
> called twice?  The calls are identical as far as the callee can tell,
> the GL10 argument refers to the same GL10 instance, the width & height
> are the same, too.
>
> The other question (might have been asked before, too, I haven't come
> across that if so) is: the single onDrawFrame() call which occurs
> between both onSurfaceChanged() calls is strange because whatever gets
> drawn during that call (might be just a simple glClear(), or a full
> scene render, doesn't matter) never seems to make it to the screen,
> never becomes visible.  Why is that?
>
> I'm trying to figure out whether it's safe to ignore the issue or hack
> around it, and to decide that it'd be very helpful to understand the
> causes.
>
> Thanks in advance!
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Framework to create TCP servers in Android

2011-09-01 Thread Cleuton Sampaio
Hi, he created a free and open source framework to help you create TCP 
servers in android. You can create a standalone server or embed it in your 
apps. It is the perfect solution for MMOs communications. 

The project site is http://code.google.com/p/netbaker-android/.

Our blog is: http://www.thecodebakers.org.

We have a full Web Server in Android Market from which this framework was 
created: https://market.android.com/details?id=org.thecodebakers.webxposepro

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to you think about the future of PhoneGap

2011-08-17 Thread Cleuton Sampaio
Hi, we have a Blog about Android app development: 
http://www.thecodebakers.org. It is in Portuguese, but we have added a 
Google Translator Widget (bottom right of the pages) which allows you to 
have an english version.

I our Blog we have some free online courses, including a PhoneGap 
programming course. He have also plugins and open source code.

Please, visit us.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en