r/learnprogramming • • 15d ago

Mobile App Development Looking for advice on mobile app development

I'm a high school CS teacher and a vocational school and I'm looking to either start or expand a course on mobile development. Right now, a previous teacher has the students do a self guided course on codeHS.com learning React Native so they know a bit of JavaScript already and I'm thinking I can slowly move them out of the codeHS platform and into a more professional development environment.

The following year, I teach Java and JavaFX. I was thinking about starting to use Kotlin and Android Studio, which I read is pretty similar to Java already? However, I'd have to create the whole course from scratch.

Are there any major reasons to use on over the other?

2 Upvotes

11 comments sorted by

1

u/Swackles 15d ago

Im not sure I understand what you're asking. Weather to use Kotlin+AS or Java + JavaFX?

1

u/5oco 15d ago

I'm trying to decide between React Native or Kotlin+AS.

Currently, I already teach Java/JavaFX, so I think they would be able to handle to switch to Kotlin+AS pretty easily.

However, they already learn a self-guided course on React Native through codeHS.com. So should I just continue building off that intro instead and try to get them into a more professional development environment?

2

u/Swackles 15d ago edited 15d ago

I think it comes down to what ia the purpose of your teaching. Do you want to leave your students with practical skills or give them taste of everything.

React Native definetly is practical for the job market. A lot of companies hire React/React Native developers, so knowing this technology should translate well into the job market.

Native android on the other hand is very niche, not many companiea are using it and more are moving away from it.

If you want to broaden their world view, then Android becomes definetly a better option. From basics your students will have to learn about multithreading (although a lot of complexity is handled by coroutines), you can also play around with more hardware close API's like keystores or BLE.

Edit:

I have to sorta argue against myself here now.

Whenever we've done recruiting for entry level positions. We kinda ignore what they already know, since school cant really prep you for actual work.

So in that sense, being adapable, with a large world view, could also be a benefit to itself.

1

u/5oco 15d ago

I'm trying to get them to leave with practical skills. We do already deploy desktop applications for other shops to use and our shop created/maintains the school store website. Since we're a vocational school, we're supposed to focus on getting the students as work-ready as possible. The idea is so they can go right into the work force without college, which I know is pretty much impossible in this field nowadays, but that's the idea of the school.

We try to get them co-op or internships their senior year, but they often get passed over for college level students.

1

u/Vizeroth1 15d ago

To add to this, I started my career as a Windows developer though I went to a school that taught in a Linux environment. In the 10 years of that job, I used a lot of languages and wrote a lot of different types of code.

When I was hired as a web developer, they told me straight up that I had 6 months to sink or swim. They hired me because I had experience with Visual Basic 6 and C# and they wanted to port their VB6 codebase to C#. However, I had to learn HTML, CSS, SQL, and JavaScript (including server-side JScript in classic ASP). They felt my experience showed I might be capable of the transition so they were willing to take the risk, but only if I showed that I could do it.

It worked out quite well for me, but it wasn’t easy. Being flexible and comfortable with new things has kept me going (and keeps me from getting bored) for a long time.

2

u/Financial_Extent888 15d ago

If you stick with react native and javascript, they will have the flexibility to make apps for mobile, desktop, and web. With android studio, you not only limit them to mobile only, but android only. I imagine lots of students with iPhones would want to make software for them too, plus learning javascript prepares them well for web development.

Once they understand the basics with codeHS.com, you can move on to giving them group projects to build different things and get used to working in a team. During this time is when you'll want to introduce them to collaborating and working together with git and GitHub.

2

u/jacksonanna373 14d ago

I'd build on the React Native they already know and get them shipping a real app with Git, code reviews, and a team workflow. A finished project they can explain in an internship interview is more useful than starting a second stack from scratch; Kotlin can be a later comparison.

1

u/detroitsongbird 15d ago

Search linkedin job postings. Which has more openings?

1

u/John_8PM_call 15d ago

I’m going to apologize in advance for giving an answer that doesn’t really answer your question. I got a Bachelor of Science (a BSc) in Computer Science from a good (not Harvard, MIT, or Stanford tier university, but still good university) before I worked as a software engineer. I had a computer programming class in high school and one computer programming class in my first semester of university that was not specific to CS majors, but the classes were really bad. Our teaching was VERY incomplete and I came out of those classes not really learning anything.

Computer Science is a series of layers that stack on top of each other. I personally like learning the lower layers, the foundation, before learning the higher layers. For example, procedural programming (like in the C programming language) is a lower layer than Object Oriented Programming (OOP, like Java). I personally liked learning C before Java for that reason. If you start with Java, you miss out on some foundational concepts like memory (stack/heap), pass by reference versus pass by value, etc.

A native mobile app in Kotlin is at a lower layer than a cross-platform React Native app. The lower layer teaches things that are abstracted over or not available in the higher layer.

That being said, I have to wonder, why are you even teaching mobile app development in the first place? Web apps in the web browser can be accessed on mobile phones. For most organizations and most use cases, a mobile web app with a shortcut on the user’s Home Screen is easier and more appropriate than a mobile app that can be downloaded from the Google Play Store. Progressive Web Apps (PWAs) are almost identical to mobile web apps but can be listed in the apps on a user’s Android device and can even be listed in the Google Play Store.

Just some things to keep in mind.

1

u/dahiya_xa 15d ago

if a lot of your students have iphones i'd stay with react native. with expo they can run their own app on their own phone pretty quickly, which does a lot for motivation.

kotlin + android studio is great but it's android only, and native ios needs macs. plus the js they already know carries over