Why not make it where when onPause or onResume is called it calls a native function that sends a User Message that the user can handle?
Then in hte Main onPause and OnResue will handle the windows creating/destroying as needed.






kurosu wrote:I've started translating strings in the java part. I find the android i18n support pretty crappy (let's do it differently and not compatible with others!), but I decided to cope with that burden. The changes can't be directly applied to your version, but here are some.
)

ANDROIDAUD_OpenAudio(): app requested audio bytespersample 0 freq 8000 channels 1 samples 256
I/libSDL ( 237): ANDROIDAUD_OpenAudio(): app opened audio bytespersample 2 freq 8000 channels 1 bufsize 1137753840

bobrules wrote:Also whenever I initialize the SDL_audio i get this in logcat
- Code: Select all
ANDROIDAUD_OpenAudio(): app requested audio bytespersample 0 freq 8000 channels 1 samples 256
I/libSDL ( 237): ANDROIDAUD_OpenAudio(): app opened audio bytespersample 2 freq 8000 channels 1 bufsize 1137753840
which causes a crash. Is there a way to fix this?
bobrules wrote:Looking good. I just started with android dev but can I use multiple Activity's with one of the activity being the main sdl program?
Also how do I remove it from debug build?





however Wiimote Controller won't work with HTC Sense UI, screw that HTC why didn't they use vanilla Android release? So anyway, waitinh for test reports.

Return to Code Snippets for Android
Users browsing this forum: No registered users and 5 guests