The only APIs are playing sound and receiving touch events. The path is clear for how to make an FFI to Java but the engineering effort is staggering and Byron & I don't need it.
Jay On Friday, September 30, 2016, Leif Andersen <[email protected]> wrote: > Oh nifty, thanks for doing this Jay. > > Out of curiosity, have you also connected any of this up to the Android > APIs so we can use Android's ListViews and whatnot? Or is it all just > OpenGL, lux, etc? > > > > ~Leif Andersen > > On Fri, Sep 30, 2016 at 3:38 PM, Jay McCarthy <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > >> On Fri, Sep 30, 2016 at 3:14 PM, Tony Garnock-Jones <[email protected] >> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: >> > On 09/29/2016 08:05 PM, Jay McCarthy wrote: >> >> The build system that Byron Davies and I implemented for deploying >> >> full-screen OpenGL Android apps is available here: >> >> >> >> https://github.com/jeapostrophe/racket-android >> > >> > This is great! >> > >> > I'm trying a build now on debian stretch. I've sent a pull request with >> > the (small) Makefile changes I've made. >> > >> > If I use the "basic" example source code, the app builds and installs, >> > but when I start it, it blanks the screen, does nothing for a few >> > seconds, and then crashes with the usual unhelpful Android >> > "Unfortunately, RacketAndroidProject has stopped." >> >> This could mean a few things... >> - "basic" still uses "simulator.rkt" and not "tablet.rkt" >> - The "raco ctool" uses a different version of Racket than was built for >> Android >> - There's another exciting error (we'll have to look at the Android logs) >> >> > This is on a Sony Xperia Z2 cellphone running CyanogenMod 12.1 (Android >> > 5.1.1). I don't know if it supports the required OpenGL features. I also >> > have no idea where to begin getting e.g. debug output or starting a >> > debugger for Android. >> >> From Android Studio with the device attached, there's a button for >> "Console" >> >> At the command-line, you can run the `logcat` command. >> >> > When I try "make simulate" from my debian build machine, a window opens, >> > but I get the following output/exception repeatedly: >> > >> > You are using OpenGL (4 3) >> > OpenGL error in procedure glUseProgram: The specified operation is not >> > allowed in the current state. >> > context...: >> > /home/tonyg/src/racket/racket/share/pkgs/opengl/opengl/main.rkt:74:7 >> >> This normally means that the shaders do something your driver doesn't >> support. Can you give me more info about the GPU, driver, OS, etc that >> you have? >> >> If you open up `mode-lambda/backend/gl/util.rkt` and go to the >> definition of `print-shader-log`, then you can add the following line >> at the bottom of the function >> >> (error 'print-shader-log "Shader/program compilation/linking failed >> without error message") >> >> If that happens, then I think I know where I go to debug some more, >> but I'll need to send you more patches >> >> Jay >> >> -- >> Jay McCarthy >> Associate Professor >> PLT @ CS @ UMass Lowell >> http://jeapostrophe.github.io >> >> "Wherefore, be not weary in well-doing, >> for ye are laying the foundation of a great work. >> And out of small things proceedeth that which is great." >> - D&C 64:33 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Racket Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <javascript:_e(%7B%7D,'cvml','racket-users%[email protected]');> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- Jay McCarthy Associate Professor PLT @ CS @ UMass Lowell http://jeapostrophe.github.io "Wherefore, be not weary in well-doing, for ye are laying the foundation of a great work. And out of small things proceedeth that which is great." - D&C 64:33 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

