I also ended up with the green background only problem.
I also tried a different renderer that clearly works into a regular
app. Nothing shows with the wallpaper.
The DrawFrame method is called continously but with no effect.
I created a new project abd copied over the Java Files : same result :-
(
Any special setting when you creating the new project ?
Any help welcome.
Regards, Fabrice
On 19 nov, 17:51, "urisrssfe...@gmail.com" <urisrssfe...@gmail.com>
wrote:
> my wall paper is based on the demo. i created a new project and copied over the Java files. after recompiling, it now works on the emulator! yes, there is something wrong with the configuration files of the demo.
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>
> Josh Gooderham <joshgooder...@gmail.com> wrote:
>
> There's a dropbox client for linux isn't there? Until you figure out what the problem is you can drop your apk into a dropbox folder and grab it off your phone with the android dropbox client. It's not the world's fastest workflow but it beats emailing yourself the apk. It was what I used to do before I got a proper device.
>
> Joshhttps://market.android.com/developer?pub=gentlemandroidhttp://www.gentlemandroid.com/
>
> On Thu, Nov 17, 2011 at 5:09 PM, urisrssfe...@gmail.com <urisrssfe...@gmail.com> wrote:
>
> because my desktop uses puppy Linux and its too old recognize my phone. so I've been forced to work on my net book.
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>
> Josh Gooderham <joshgooder...@gmail.com> wrote:
>
> This has apparently been an issue for some time:https://github.com/markfguerra/GLWallpaperExample/issues/1
>
> I don't use the emulator because it's incredibly slow in my experience. And unreliable as this issue seems to confirm. Why not just test on the device? It's not that much slower a workflow.
>
> Joshhttps://market.android.com/developer?pub=gentlemandroidhttp://www.gentlemandroid.com/
>
> On Thu, Nov 17, 2011 at 5:00 PM, JesusFreke <jesusfr...@jesusfreke.com> wrote:
>
> Yes, I've been able to run my opengl wallpaper in the emulator with no green screen issue. I think I got it to run using both Mark's existing GLWallpaper implementation, and the new one I submitted.
>
> It's an open source wallpaper if you want to take a look -https://github.com/JesusFreke/Penroser
What I need to do is just add
gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
to onSurfaceCreated method along with the code line
gl.glViewport(0, 0, width, height);
in the onSurfaceChanged method in MyRenderer Class