Can I Learn to Code Using Only an Android Phone?
Asked by
leftover lasagna
I'm interested in getting into the tech industry, but I don't currently have a laptop. I only have a Samsung A07 and reliable home Wi-Fi. I'm a beginner with no coding experience, although I'm comfortable with mathematics and excited to learn programming. Is it realistic to start coding on my phone, and what free websites, apps, or video courses would you recommend?
Answers
Termux is a good option if you want to experiment with Python or other command-line tools. An editor such as Acode can help with writing files, too. Adding a Bluetooth keyboard makes a huge difference, and connecting the phone to a monitor or TV can make the small screen less frustrating.
Reply to this answer
Yes, you can learn the basics on an Android phone, especially with browser-based lessons such as W3Schools. Termux can also provide a Python environment and terminal, but writing larger programs on a phone becomes awkward pretty quickly. Itโs a reasonable way to get started until you can access a computer.
Reply to this answer
Technically, it works, but it isnโt a very comfortable long-term setup. If possible, look for an inexpensive used laptop and install a lightweight Linux distribution on it. A basic laptop will give you a proper editor, terminal, file system, and screen, which makes learning much easier.
Reply to this answer
You can start with short lessons and simple scripts on your phone, then decide whether the limitations bother you. Mobile-friendly coding sites and interactive browser exercises are fine for learning syntax and basic programming concepts, but larger projects are much easier with a real keyboard and computer.
Reply to this answer
Add your answer
Answers are reviewed before publication.
12ozThermos: A keyboard, mouse, and larger display make the setup much more practical. You can even use Termux to connect to another Linux computer over SSH, so the phone only has to act as the screen and input device.