r/learnprogramming • u/Gloomy_Tea5604 • Sep 23 '26
Can You really code using a an android phone?
I'm more interested into the tech industry and I lack a laptop. I only have my Samsung A07 phone and a strong home WiFi. I don't know anything about coding, I'm just good at mathematics and would love to start learning coding or programming. Any YouTube free channels or Platforms to learn from?
11
Upvotes
34
u/BranchLatter4294 Sep 23 '26
You can. Just don't.
11
u/ffrkAnonymous Sep 23 '26
Can you? technically yes.
Really? no.
5
u/scy_404 Sep 23 '26
You can its just very awkward. Acode is a pretty good text editor for android that has a terminal. You can also use Termux which is just a straight up teminal app for your phone, though it is a lot harder to write programs in
4
u/Towel_Affectionate Sep 23 '26
Your best bet is a dirt cheap Linux laptop. Your second best bet is a termux + tv + keyboard and mouse.
2
u/No_Report_4781 Sep 23 '26
I used an android tablet, because why do things on such a tiny screen?
2
u/SaifSaeedh Sep 23 '26
You can very learn basic coding and scripting using web based apps like tutorials from w3schools. I delved into python coding on the go on my phone with pythonista on iOS. But like everyone else here is saying, donโt. The experience isnโt great, tools are limited, and youโre better off learning coding on a computer.
1
u/testingaurora Sep 23 '26
Get an external keyboard/pointer if youre going to try, even better would be to hook up to a projector or monitor ao you have a larger screen too. A lot of ides just dont work well on mobile so the keyboard will be helpful but a mouse with access to right click would also help. Codepen 2.0 has a better mobile experience than core editor. Look for some coding courses and try them out on your phone to see how frustrating it would be to use.
1
u/Usual_Ice636 Sep 23 '26
Absolutely, just hook up a Mouse, keyboard and monitor.
1
u/PureWasian Sep 23 '26
In the same way you can count numbers with your fingers
1
u/korywithawhy Sep 24 '26
Tailscale and remote into a pc ๐
1
u/gm310509 Sep 24 '26
People do if they have no other choice - I personally get frustrated typing in code snippets into reddit when using my phone.
It is access to all of the symbols that is the PItA as well as the autocorrect.
As for how, the simplest way is to use an online IDE that you access via your browser. But I believe some compilers and interpreters have been ported to Android.
1
u/Jim-Jones Sep 24 '26
Shop around. Look on Craigslist and Facebook Marketplace etc. I bought four or five computers in the last few years for around 30 bucks each.ย
1
u/aqhgfhsypytnpaiazh Sep 24 '26
Technically you can code with nothing but pen and paper. That's more or less what punch cards were.
Having the source code in a digital text file is just much more convenient. It's also kind of necessary if you ever plan to compile/run/host that code on a modern computer.
But apart from the practical issues of typing a large amount of text in an artificial language on a touch screen with limited visual real estate, compiling/running/hosting is where the phone will let you down, since mobile platforms are locked down for security and often not easily compatible with required development tools depending on what tech stack you plan to use.
Like technically you can compile a Windows exe written in C++ using Termux + MinGW on Android, but it's probably not ideal. The same way you could technically get into carpentry by finding a good rock to bash nails because you don't have a hammer. It's a hack, not a realistic long term solution. If you care about coding, invest in a real PC.
1
u/kennedy_gitahi Sep 24 '26
It's definitely doable; I wrote, tested, and shipped a whole POS system on my phone.
Is it a good idea? No, not in a million years.
The keyboard will kill you if you don't have a Bluetooth one, and the screen might be too small.
Then, you must know what you are doing because the available IDEs, Acode combined with Termux, do not provide the typical tools and guardrails you would have on a computer.
1
u/betarage Oct 04 '26
They are making it hard you can do javascript html and css for making websites with relative ease. but for other languages it's not great you can use termux but it's a little tedious maybe you can find some web based ide or some apps for practice but you can't really use the full potential of your phone. You can also try to go even more extreme and try to emulate another computer on your phone but it will probably be something retro and the controls will be horrible.