Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Android platform working #5

Open
lanceewing opened this issue Dec 19, 2023 · 0 comments
Open

Get Android platform working #5

lanceewing opened this issue Dec 19, 2023 · 0 comments

Comments

@lanceewing
Copy link
Owner

From prior experience of working with libgdx, it shouldn't take much to get the Android platform working. It also works with Java (unlike GWT, which translates Java to Javascript) and there are not as many limitations as there are with GWT/HTML5. The main bits to implement will be the AgileRunner implementation class (which will be very similar to the Desktop one) and the WavePlayer implementation class. In that latter case, the sound code will use the Android sound APIs, i.e. the android.media package.

Although libgdx does provide a platform independent abstraction for sound, it doesn't tend to work as well as providing a platform specific implementation.... and the big gotcha with sound will be the GWT/HTML5 implementation, which will definitely require GWT specific code. So for these reasons, it is better to provide a platform specific implementation of the code that plays the generated WAV file data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant