What is a good way to learn Java on an android device?

I use eclipse on my computer to write code, I’m inexperienced and still learning (a little past basic knowledge as I took a 5 month class on it).

However, I am constantly on the move and cant find any good solutions to keep trying to learn code and staying motivated while working on my phone.

Is there anyone who has found any solutions to this? Either webpages that are supported on phones or any good apps?

Thanks

Hi @JohnMartin, welcome to the forms

There is an app called sololearn, you can find it on the app store
I use it personally, you can learn any language including java