0

I am creating a javafx project. I ported it into Android using gluon. Can someone tell me how can i play a sound on Android, because javafx media player isnt supported?

Regards

siemaeniu500
  • 115
  • 1
  • 9
  • Check this [question](http://stackoverflow.com/q/38419634/3956070). It needs to be updated with the current plugins approach, like in this other [question](http://stackoverflow.com/q/40261409/3956070) – José Pereda Nov 12 '16 at 11:42
  • Yes but why i can't increase/decrease volume using physical button ;p ? – siemaeniu500 Nov 12 '16 at 12:21
  • That's a known [issue](https://bitbucket.org/javafxports/android/issues/75/fxactivity-does-not-call), not solved yet. – José Pereda Nov 12 '16 at 12:24
  • so if it's not solved after 1 year, is there any solution for me ? – siemaeniu500 Nov 13 '16 at 15:42
  • The project is open source. You can either contribute a patch for it, wait till is fixed, or you can ask for commercial support [here](http://gluonhq.com/services/commercial-support/). – José Pereda Nov 13 '16 at 17:33
  • I don't want to pay for support ;/ My programming skills are not enough to fix such problem :D – siemaeniu500 Nov 14 '16 at 14:42
  • In the end, you need to dive into the code, see why this is happening and realize, that there are still other means to achieve this on Android. I had the same issue (two years later, sigh) and solved like this: http://stackoverflow.com/questions/40912656/cant-set-volume-volume-control-is-not-forwarded-to-the-system/40927831#40927831 – dzim Dec 02 '16 at 08:35

0 Answers0