An Introduction to Building Apps for the Modern World
Madona Wambua32:242024
Jetpack Compose and SwiftUI are closer than most beginners think
Her first Android app, built in 2014 with designs she calls terrible, still drew over 500 downloads and a 4.5 rating. Today, new developers face a different first hurdle: choosing between Android, iOS or both, with toolkits that make good UI far easier to build. Google Developer Expert for Android Madona Wambua puts Jetpack Compose and SwiftUI code side by side to test how much of one platform carries over to the other.
See the same text, button, layout and card built in Kotlin and Swift, one element at a time
Madona Wambua, CTO at Axxelist and an Android expert, introduces beginners to mobile development across Android, iOS and hybrid frameworks. She compares Jetpack Compose and SwiftUI code for everyday UI elements to show that learning one platform makes the other easy to pick up, and closes with testing, deployment and advice on finding an app idea.
“And if you know how to code for one, you can code for all the others.”
“So the idea here is to tell you as a developer that if you understand one, you can definitely build for the other.”
What you will learn
Choose between native Android, native iOS and hybrid development based on your goals and hardware.
Identify the languages, IDEs and design systems each mobile platform requires.
Map Jetpack Compose components such as text, buttons, columns, rows and cards to their SwiftUI equivalents.
Add content descriptions so images in your app are accessible.
Find a first app idea by customising an existing app to solve your own problem.
Key takeaways from the speaker
This talk will delve into key concepts, principles, and technologies that form the foundation of mobile app development.
Participants will gain essential knowledge and tools needed to begin their journey in the dynamic and exciting field of mobile development.
Participants will learn about the importance of user-centric design principles in creating effective and engaging mobile applications.
Details
Level
Beginner
Format
Talk
Technical depth
Practitioner
For
Student, Early career, Career changer
Length
32:24
Published
May 2024
Questions this talk answers
What do I need to learn to build for Android, iOS or both?
Android uses Kotlin or Java in Android Studio, iOS uses Swift or Objective-C in Xcode, and building for both uses Flutter, React Native or Kotlin Multiplatform.
What hardware do I need to start mobile development?
iOS development requires a MacBook and an iPhone for testing, while Android apps can be built on any laptop with enough RAM and storage.
How similar are Jetpack Compose and SwiftUI?
Very similar: texts, buttons and padding work almost the same way, and the main difference is that Compose columns and rows are VStacks and HStacks in SwiftUI.
Why does UI design matter so much for a mobile app?
An app with a terrible UI will not get downloads, so developers should use design systems such as Material Design for Android and Apple's guidelines for iOS.
How can I come up with an app idea that solves a real problem?
Do not reinvent the wheel: take an existing kind of app and customise it to your own need, as she did with her Budgeting Buddy app, or validate a new idea as an MVP with help.
About this talk
Mobile applications have become an indispensable part of our daily lives in today’s tech-savvy world. From communication and entertainment to productivity and e-commerce, mobile apps are crucial in shaping how we interact with the digital realm. As the demand for innovative and user-friendly apps continues to grow, so does the need for skilled mobile developers who can create exceptional user experiences across different platforms.
This talk aims to provide a comprehensive introduction to mobile development, equipping participants with the fundamental knowledge and tools to kickstart their journey into this exciting and rapidly evolving field. Madona will also explore the key concepts, principles, and technologies underpinning mobile app development, focusing on Android and iOS platforms.
Don't reinvent the wheel: finding app ideas (82 s)
I like that. Thank you so much. So hello, everyone. My name is Madona Wambua. Happy Wednesday. I like that. I like to start with introductions. My name is Madonna and I am an Android expert. I am also a founder and an author and also a mom. So I have wear so many hats, but I'm super proud of all the hats that I wear.
And today I'm excited to be talking to you all about how you can build modern applications for the modern world. Because as you all know, phones are not going anywhere. You might have an iPhone, you might have an Android, have both. So I have an iPhone with a purple color. I like to showcase my phone collections. And then I have a foldable, which is, as you can see, this is just a Samsung, but it's a foldable. So when I talk about, When I talk about building Android apps for the modern application, for the modern world, I mean, building for Android, the operating system, which is the Android. Now, something else that I'd like to mention before my presentation is that Android is used by so many users around the world.
And it's actually used also on watch. If you've had the watches, it has an Android operating system. If you use, let's say, an Android auto car, it uses the Android operating system. Peloton uses Android to what else? Fridges too. I know some fridges use that too. And so many other things. So in short, so many things. Oh, the TVs too. We have Android TVs.
So in short, what am I trying to say? I'm trying to say that there's a very big field that uses the Android operating system. And if you know how to code for one, you can code for all the others. So let's get started. Okay. Let me make sure I can hit through my slides. Can I make the move? Oh, there. Okay. So this is our agenda. We'll walk the mobile landscape under development. I'll talk a little bit about iOS because I always like to be welcoming and showcase how actually you can build. We'll also talk about what is hybrid development for people who are curious about, I have two phones.
How can I build for both platforms, which is also very popular. This is especially for founders and indie developers because most of the companies, especially here in the US, they customize to be based on each experiences. For instance, a company might hire individual Android developers and another company might, and the same company might hire, let's say developers who cater for the iOS only.
And then we'll talk about data management and API, which is very important in the mobile application, testing and deployment and then completion. Now, I think I've talked through this. Again, we have two operating system. We used to have three Microsoft. I think, however, Microsoft stopped producing the mobile apps. So now we have Android and iOS. So I'm going to be a visual person a lot today. So too.
So this is how it's broken down. So if you want to build for Android, which is the Android phone, you will need to learn Kotlin or Java. So these are the languages that are required for you to learn this particular stack for building for the Android. Now, if you want to build for the iOS, which is an iPhone, you will need Swift or Objective C.
Now, if you want to build for both, you will need either Flutter or React Native. We'll talk about those things later. Now, to the next point. So Android is developed by Google. It's good to know the history. So Android is developed by Google and it's actually an open source project. Now, sorry, platform. The reason is to why many people get to build for the Android around the world is because it's open. It's open source. And also people get to learn a lot through just contributing with others and getting others to work together or to contribute to the system.
Now, so if you're building for the Android ecosystem, you'll need to use the Android Studio, which is the integrated development environment that's needed. And then again, official language is Kotlin, which is what I've mentioned before. And then next, if you want to build for the iOS, you will need also fast iOS is developed by Apple. It's not an open source platform. So here it's pretty, there's a lot of barrier of entry to this particular platform.
But one thing that I'd like to mention is that you will need to have a MacBook. That's a must. And you will need to have an iPhone to be able to test. However, for Android, you can use any particular laptop to build. It just needs to have a higher RAM and higher storage. Now, for iOS again, you will need to have Xcode, which is their integrated development environment. And the official language again, as I mentioned in the beginning was either Swift or Objective-C.
Now let's talk about other things like hybrid. So hybrid again, this is just going to be Flutter, Kotlin Multi. I think it's KMP now. And then you can use React Native too. So this is for people who want to build for both. So I mentioned in the beginning, the reason is why this is important is because you might be a founder, or you might be an indie developer that wants to make extra money. And you want to build your app.
You move faster to build in for both platforms using the already existing platforms. Now, so for Multi platform, as you can see here, this is how it's broken down. Flutter is open source. React Native is, so Flutter is by Google. React Native is by Facebook. And Kotlin Multi platform is just by Kotlin. And then let's talk about UI. Because if you have a mobile app, and it has a terrible UI, it will not get downloads. And if you're a founder, or if you're working for a company, these are the things that we take into consideration. So it's good to know this background before you jump into it.
And so for UI UX, which is user interface, for Android, you definitely need material design. There's a lot of documentation on this, which is super great. So one of the things that I normally tell developers or new developers is that before back in the days, when I was starting to build Android application, we didn't have all this documentation, and all this design patterns, and all this recommendation that downloads are now given.
And then I would, you would build such a terrible app. But for some reason, I built my first app back in 2014. And it got over 500 downloads with a 4.5 rating. And I was so shocked. Like people liked it. I was like, the designs were terrible. But anyway, right now we have design systems that you can use. And for Android, it's material design.
Now, for iOS, it's human-centered guidelines. And again, these are things that you can Google and get used to them as you start building your applications. Now, let's look at the code. I didn't want to jump in the code in the beginning, but I want to showcase how the code looks a little bit similar. Or if you know at least a little bit of Java, you might notice some similarities.
I did not capture very high-level code because I didn't want to make it so hard for people to follow along. But feel free to ask me any questions in the chat, and then I'll be able to be answering them. Now, let's look at the Android text. Let's say today you download the Android Studio. And you want to write your first text. How does that look? How will that look like?
So one recommendation that I have for everybody that wants to build for the modern world is to look into Jetpack Compose. Jetpack Compose is a new -- I like to call it a framework for people who've worked with JavaScript or other languages, but it's a good framework. It's like a UI toolkit for Android developers. Before, though, we didn't have this, so we struggled a lot because we had to write all this in XML code if you've had an XML.
But now in Android, you're able to use Jetpack Compose. So if you need a text, what you'll just do is call a text, which is a composable, which is more like a function in a composable function. So here you'll see you have a text, and then you can pass in the text, which is, let's say, Jetpack Compose text. And the good thing about Jetpack Compose is that you can style it to whatever you want it to be.
Work made easier for newer developers. For instance, there you can have a style equals material theme. This is in the material design. And then the typography, and then .body, and then the modifier, which is actually a decorator. You can decorate the text the way you want. For instance, you can say, my modify.pattern equals 16. So when I pass in 16, I'm telling this text that my pattern, which is right, left, top, bottom, let it be 16.
So pretty straightforward. And you can do so many things in it through just declaring whatever you want in your text. So that is the good thing about building for the modern world, because you get all these advanced features to build with. Now, I like to mention it's not easy. It's always a learning journey. But once you start it, you'll notice that it keeps getting better and better.
Now, notice how the undertext looked like. Let's go and look at the IFS text. Stay with me. Voila. There's not so much different. As you can see, they have the padding too. They have the font and they ended up in the padding. You can pass it. Let's see. Edge, instant, top, leading, bottom, trailing. So it's the same. Top, bottom, you know, start, end. And then the font, you can tell, I want this font to have this particular title.
Title, you can always dig deep into looking at what the title looked like. But then the text in the beginning, that's when you call the text and then you just pass it SwiftUI text. Notice how they look similar to the previous one in Android. So you'll keep seeing a lot of similarity, which makes me, which makes me wonder the idea that so Jetpack Compose clearly idea was from SwiftUI.
So the idea here is to tell you as a developer that if you understand one, you can definitely build for the other. So great tips there. Now, let's look at a text field, which is something that's used a lot in so many apps. Now, what is a text field? A text field is assume you have a username and a password and you need to enter your username in any field.
Let's say you have an app. Let's say it's Twitter or Facebook or Instagram. You always have that text field. Now, this is what I mean by text. Now, when I mean an outline text field in Jetpack Compose, that is whenever I tap, when I'm entering my username, it jumps up and puts the title. Let's say the name was username. So it will put it on top. And I know many have seen that design.
So that's the idea. Now, in Android, this is how we build our outline text field. So we have a value, which is the text. We listen to the value when it's changed, where we pass in a new text. We have a label, which is what I was talking about. For instance, if it was username, this would be username.
But here we have enter text and then we have our decorator, which is the modified. And then we have a shape. A shape is telling this particular outlined text to look rounded at the corners. And then I give it an 8 pattern. So it looks very beautiful. And then the borders is the borders of the text field that I want.
So here I say in the text field default, let the outline borders have a color of black and the width of 2 dB. Pretty straightforward. Let's look at how the one in iOS looks like. The iOS one is pretty interesting because it's just a simple line. But for Android, as you can see, the only thing I did in Android, was I took an outline text field, but here in iOS, I'm passing the original text field, as you can see here.
The reason is to why I went with this kind of examples is because these are the most things that many applications use. And you'll see as we continue walking through the progress, how you can build them in your app. And I always like to challenge the listeners to go check it out and go try it out. I'll share the slides for sure. But please feel free to go check it out and try it out and see if you're able to build this just using the same code.
But it's very easy. Not to say it's easy, easy, but it's very straightforward when you start doing it. You can look at the button. Buttons are everywhere. Everybody uses buttons in the phones. This is how a button in JPEG Compose looks like. So we have a button. You call again this Composible Function button. And then you say, I want you to listen to any click functionality. If somebody clicks, do something. For instance, in your own click, you can say, I want to print a message that says, hi, Women in Tech Global Conference.
You can do that. Again, the modifier, as you notice, is just the decorator. So I'm decorating this button. I'm telling this button, have a pattern of 16, start and top and bottom. And then fill the maximum width. What is fill the maximum width? It means I wanted to start from this, from 16, because I said start to 16. I want it to end at 16, which is the end, but I want it to be 16, but to fill the maximum.
So if it's a phone, it will just leave small spaces at the end, but it will fill. You can make it smaller if you want to and the size you need, but that's what I mean by fill the maximum width. Now, a button needs a text inside because it needs to have a description, like what is this button doing, right? So what you can do, I know mine is longer, the text is longer, but you can see this button maybe is a submit question.
So you can write the text there and submit. Something else that I want to mention is that, do you notice that text? You can do everything we did in the text from the beginning to this particular text. That is add a modify if you need to, let's say add color if you need to, add any decorators that you want. So pretty cool.
Let's look at an iOS button too. If you notice, they look pretty similar. Let me go back. Look at that button in Android using Jetpack Compose. And look at this button in iOS using Swift UI, because these are the most used recently. So here, as you can see, we have an action again, like previously the on click and Android is called on click for iOS.
It's called an action. So when there's an action, do something. And now in the text, like I was mentioning, you can do as many things as you want. So here in the text, what I'm doing is again, I'm telling this particular text. Your name is going to be Swift UI button. You will have a pattern of edge in the top 10, leading 20, bottom 10, and trailing 20. And then you'll have a foreground color of white, and you'll have a background color of blue, and you'll have a corner radius of 10.
So just designing my button in different ways. Let's look at another popular thing that you need to do. So for everything that you build, you have to put it either in a row or a column. That's why this is very important, because let's say you have your button and you have your text. How are they going to look? If you don't tell them, okay, I need you in a column or I need you in a row, they'll just be everywhere.
So that's where the column comes in. And that's why it's very important. When you're building, you think about stuff like this, like, hey, I wanted a column on it in a row. And then you can design your UI to fit pretty well. Now, here, as you can see, I call my column and I tell my column, I want you to have a modifier that which is my decorator.
Now, you can also tell your column to fill the maximum weight, which means I want it to be from top to M. So you can do that. It's also allowed. Now, inside the column, as you can see, I have two composable functions. One is an image and the other one is a text. And you'll notice that right now it's also very straightforward when you're building for the modern world, because before I couldn't call an image.
I had to go create an XML file that had an image and then I would pass everything in there. And then I would call that code using an Android resource back to my to my coding. Let's say Java or Kotlin. It was a lot of work. I mean, I'm not against doing that lot of work because when I did it myself, it was fun.
But right now, when you have these capabilities, it is even better. The other thing I'd like to mention is that understanding fundamentals is always good. But if you're working, let's say, for a company and you needed to move fast, utilizing current resources is OK, too. Like, for instance, utilizing Jetpack Compose to move fast, especially in newer development, is amazing.
Because the reason is, number one, you're using the same language, which is Kotlin. You can use it everywhere. So these composables are in Kotlin and your code logic will be in Kotlin. So here we have an image that has a painter. And as you can see here, I'm passing in a painter resource. What is a painter resource?
A painter resource is the image that you, as a viewer, you'll see on your mobile app. When you pick the mobile app, you'll see, hmm, I see an image of Android. Now, the content description is very important because you have to ensure we are very accessible. Now, accessibility in Android is very important. And not only Android, but also iOS.
It's good to be accessible. So there I'm giving my image a description of what it is. So I'm telling this particular image. That's my image. It's good to also give descriptives, content descriptions, because you just don't want it to be like that, you know. So put in a good description. Now, the modifier, again, is just telling this particular image, I want you to have a size of 120.
That's the size. Notice here you're not called the padding. I call it the size. So the size of that image is going to be 120. Again, we've talked about the text. But in this image, as you can see, after the image, you have a text. So for visual people, you have an image and then a text, a description.
Let's see a text description of the image. So here you'll see in my text, I have Jetpack Compose column. It has a style. Here, typography, I'm giving it a page five. If you've written any code in JavaScript or any other language. And then in the modifier, as you can see there, I'm just passing a padding of top now.
I'm explicitly telling this padding to only pad top. Notice I'm not telling it to pad 16, because if I told it that, it will read that in the system that it's being told to pad start and bottom and top. But here, I'm telling it only top, pad 16. So just after the image, pad 16, and put the text there.
Let's look at how an iOS columns looks like. Are you curious? There we go. So the only big difference in iOS and Android, which is Jetpack Compose and SwiftUI, is that columns in iOS are called VStacks. Why is it called VStacks? Why? Because we're talking about the vertical stacks. So they call them vertical stacks or HStacks. So that's the only thing that you'll see.
But you notice here, I'm telling this VStack that I want my content aligned to the center. I want a spacing of 16. And here, the spacing also, I'm not describing it. I'm not telling it, hey, I want it to be top board. I'm telling it, the spacing needs to be 16. And then the image, I'm giving it a name.
That's my image for accessibility. And then I'm telling it, be resizable. And then I want the frame of that image to have a width of 120 and a height of 120. And then I will need to add my text as the, visualize the Android one. I'll tell it, I need my text here and the font. And then I'll give it the pattern that I want down there.
So I want this VStack to have this particular pattern. That's how we build columns in iOS. Let's look at a row. I was not going to leave you all without telling you how the rows look like. So this is how a row looks like in Android. So, as you can see here, what I'm telling this row to have is I want it to have a vertical alignment.
And I want the alignment to be center vertically. So, you know, center vertically. I need this modifier to have a padding as it's in. I'm telling the modifier, hey, have the padding of 16. Again. Start. Oh, my demonstrations are wrong. Start, end, top, bottom. Yeah. And then I have an image there that I pass the page resource.
And I tell it, this is the image. I give it a content description. And then I have a column because this is a row. I have a column inside the row that tells it I need two texts. I need a text here and another text. So this is a different design in this particular row where we add into more texts.
We have a text that has a title and a different typography. And then I have another text that has a subtitle. And then notice here I'm calling dot subtitle one. So I'm telling it, this one has to be a subtitle. So it's not going to be the same type, the same typography at the previous text. And it's very important because you're trying to distinguish that.
This is the title and this is subtitle. And you'll notice this a lot in a lot of programming. And then this is how you build, let's say, a row in iOS. So here, as you can see, we have a horizontal stack. And we have an alignment. I tell it again, center. And I give it spacing. I give it my image.
And then I do the VStack inside here, the column. Previously, as it's the previous code is before. And then here, as you can see, I have my text again and my subtitle. And as you can see here, too, in iOS, they have a font dot headline, which means it's going to be bolded or a little bit bigger as compared to the subtitle, which is sub headline.
So pretty descriptive. So as you can see here, if you're new and try to understand how can I start coding? How can I get into mobile? There's so many ways you can get started and get into mobile just through looking at similarities. And then you can pick and say, maybe I want to become an Android developer. Maybe I want to become an iOS developer.
Or maybe I want to build for both. Because notice, one of the good thing is that if you use both of, let's say, this experience where you build for iOS or Android and try to see how you can match them using Kotlin multi-platform. Kotlin multi-platform uses actually Kotlin. So you're set. So if you know how to build for Jetpack Compose, you will build this pretty smoothly because the code will look pretty similar.
I have a code sample where I'll showcase that, but it's going to be pretty, pretty similar. Okay. Now, something else that I wanted to showcase is a radio group. Why? Because radio groups are used a lot in many applications. So what is a radio group? When you think about it, a radio group is something that has a circle and you can click different points.
Like, let's say you have one option, two option, and option three. So when you have a radio group, I like that question. I'm going to answer that question in a few minutes. But so here, as you can see, I have a radio group. So this is how you build a radio group. So you have to definitely listen to the selected option because a radio group always starts with an initial because it can just be there.
It always needs an initial state. And then the second, you'll have the options notes. So here, visualize this as you have a radio group that has option one, option two, option three. So here you're trying to pick an option to something. So as you see, I'm wrapping all my radio groups inside a column. So the column will say, let the padding be that.
And then I have a text that specifically tells the user select an option because I'm giving them an option. It's good to tell the users like, what are you trying to do with this radio groups? So in my code here, I'm just telling them select an option. Now, as you notice there, I'm taking the option, which is the list of option one, two, three.
And I'm going through that. I'm looping through them saying for each option, create this row that has this radio groups. So what I'm doing there in the row, I tell this row, be vertical aligned, center vertically. So I have the modifier of that fill max width, have a padding of top eight, trying to give space between my select and option with my radio groups.
And then I use the radio button composable function to do the option. Here, as you can see, I just called it once. I told it, look, radio button. When you select it, you'll be equal to selected option, which is equal to the options. Here, as you can see the option. And then I'm telling you, once it gets clicked, showcase the right one is clicked.
Now, there's a lot of logic that we can add to this, but I just wanted to show an example. And then the text, the text will be in that radio group. What is the text? It just came to be just a circle like this with nothing. So we need a text description. So there, the text will be, it's an option.
The style will be material themed or typography. And then the modifier, you can do, let's say, pattern, start this. And then now when you click, you can see option one is clicked, option two is clicked, and option three. Let's look at how it looks in iOS. Pretty similar. So here's a little bit complicated, but not very complex.
But you can see we call something called a radio group directly. So we have a struct, radio group, and then we have a view, because this is a view. And then we have to listen to the state, the same way we listened to the state previously here, where we see selected option. And then we have the options.
We have those lists. It's the same thing we'll have here. So we'll say let options, option one, two, and three. And then we'll tell it body, some view, have a V stack. And then the text, again, select an option. And then we have to loop through the for each. And tell it when you're selected, show the options.
And when you're not selected, move away from that, the one that's selected. So let me know if I'm also going too fast. I see we still have time. But let's keep moving. So something else that is very, very used and widely used in Android and also iOS is the cards. Most of us have seen cards. Now, let me see if I can give a good example of how a card looks like.
Oh, I can't look. Okay. My presentation actually looks like a card. So normally in Android these days, we have so many cards, especially if you have an app. Let's see. I think Airbnb uses a lot of cards. So if you're trying to build an application, you can utilize the cards too, because they make your UI look more appealing and more good.
So the card will be there. And it's showcased. This is how you can actually build with a card. So a card you just call the composable function card. And inside the card, you can say, I need a modifier of this. I need it to fill max width. I need a padding of 16. I want it to have an elevation.
And then I have a shape. I want it to be, again, rounded color shape. And then you can pass in a column. And then in the column, you can say, I need to text. So you will have a card that looks like this. And then a column that has to text. Let's say card title and just card content.
Only that. Nothing much to it. And then let's see how a card looks in iOS. So a card in iOS, you'll just have to create a Z stack. And then you'll have it. Let's see. So they don't. So in iOS, they don't have cards. I don't know if they've built them yet, but they don't have anything that you can call directly.
That's called a card. But then it has, this one will have a rounded rectangle and then corner radius. And then it will have a fill, shadow, Vistak, and text. And then you'll have a padding. Let me see. Now, as I mentioned, I was not going to leave everyone without showcasing how you can build for both platforms. So here is how the KMM would look like.
And this is called multi-platform. I think now it's called KMP. I need to update that. But here, as you can see, you expect a class. And then you pass in a card title and a string. And then you can create a card and all that. So there's a lot of recommendation on this too. It's not fully stable.
I'm not sure. But it's also worth looking into how you can build with that. And also, another hint is that if you also know how to build with Swift or Jetpack Compose, you can actually build for Flutter. Because they're all very similar. So it's just realizing, oh, I can do that. And this is how you call the card from the KMM.
Now, I don't like to end my talk without talking about testing because if you're going to build for the modern application, it's important to test your code. So unit testing is when you're testing some unit of your code. And the UI testing is when you're testing, let's say, the UI in your code. So unit testing can test the logic and UI tests can test the UI.
Because, again, you have to validate that whatever something is clicked is actually clicked. And then deployment, when you build everything and it's done, you deploy your application to the Google Play Store for Android. And Apple, you display them to the Apple App Store. And then it's always a continuous learning. And thank you very much. So I have my book where I talk about all these things, show how people can build using more than under 13.
And you can definitely learn all that. And thank you. This is where you can connect with me. I hope I didn't go over time. But I think we had 30 minutes. And thank you so much. I see a question. Okay. How can I come up with ideas to build an app that actually solves a problem on a daily basis?
Now, Sylvia, that's a good question. The only thing I normally say is don't try to reinvent the wheel. One of the things that I did for my own learning purposes is I looked into an app I wanted to build, which was, what is it called? A budgeting buddy. So what I did is I noticed that, hey, everybody uses a budgeting app, but can I build mine to fit my own need?
And that's what I did. So what I can recommend is that find the problem you're trying to solve and see if you've seen anybody build it before. If it's not a good idea, if it's not a new idea and see if you can start the ideas. But if it's already built, you can also build it yourself, but customize it to fit your own need.
And you can use this particular app for your learning purposes. What I did was I did Budgeting Buddy for that. You can check my app out. It's on the Google Play Store. It's called Budgeting Buddy. It's just an app that I built. Now almost has 50,000 downloads. So, excuse me. So, yeah, I would highly recommend you looking into what is the problem you're trying to solve.
And can it be solved with an already existing project where you just take the ideas and just build it to customize it to yours. And if it's a new idea, I think then if you want to build a startup, then that means you can find somebody to help you validate the MVP, build with you and all that.
You're not going to build by yourself. Again, it's not hard. You take your time. It's always learning. It's a learning process and you learn through it. Yeah. And that's all. Thank you all so much. I hope you learned something so much. And also, I'm hoping everybody notices that it's very similar and you can build for both if you want to.
Thank you very much, Fiona. Thank you, Chelsea. Okay, I'm going to say bye. Bye.
Transcribed automatically; names checked against the speaker record. Select a time to jump there.
Article based on this talk
If you can build for Android, you can build for iOS
Madona Wambua shows beginners how Jetpack Compose and SwiftUI mirror each other, and how to choose a first mobile stack.
In short
Madona Wambua, CTO at Axxelist and a Google Developer Expert for Android, argues that mobile development is more approachable than it looks, because the modern UI toolkits for Android and iOS closely mirror each other. Walking through Jetpack Compose and SwiftUI code for the same interface elements, she shows beginners how learning one platform opens the door to the other, and how to choose between native and hybrid paths.
Key takeaways
This talk delves into key concepts, principles and technologies that form the foundation of mobile app development.
Participants gain the essential knowledge and tools needed to begin their journey in the dynamic and exciting field of mobile development.
Participants learn about the importance of user-centric design principles in creating effective and engaging mobile applications.
Android is everywhere, and that is the opportunity
Wambua opens by holding up her phones: a purple iPhone and a Samsung foldable. Phones, she says, are not going anywhere. Android, though, reaches far beyond the handset. She lists watches, Android Auto cars, Peloton, some fridges and Android TVs as examples of devices running the same operating system.
The point is a practical one for anyone weighing where to invest their learning time. "And if you know how to code for one, you can code for all the others." (1:41)
She also sets the scene for the market. With Microsoft no longer producing a mobile operating system, two platforms remain: Android and iOS. Many companies, especially in the US, hire separate Android and iOS developers, while founders and indie developers often prefer to build for both at once.
Choosing a stack: native Android, native iOS or hybrid
Wambua breaks the choice down visually. Android development means Kotlin or Java in Android Studio, with Kotlin as the official language. Android is developed by Google as an open source project, which she credits for the large global community that builds for it and learns by contributing.
iOS, developed by Apple, is not open source, and she describes a higher barrier to entry: Swift or Objective-C in Xcode, a MacBook, and an iPhone for testing. Android is more forgiving on hardware. "However, for Android, you can use any particular laptop to build. It just needs to have a higher RAM and higher storage." (4:48)
For those who want both platforms, she points to Flutter (by Google), React Native (by Facebook) and Kotlin Multiplatform. These suit founders and indie developers who want to move faster by building once.
Good design is not optional
Before any code, Wambua stresses the user interface. "Because if you have a mobile app, and it has a terrible UI, it will not get downloads." (5:44) Today, developers can lean on design systems: Material Design for Android and Apple's design guidelines for iOS, both well documented.
She contrasts this with her own start, when such documentation and patterns did not exist. "But for some reason, I built my first app back in 2014. And it got over 500 downloads with a 4.5 rating." (6:51) Her designs were, in her words, terrible, which makes the case that beginners now have far better tools to start with.
Side by side: Jetpack Compose and SwiftUI
The core of the talk compares code for the components almost every app uses. She recommends Jetpack Compose, Android's UI toolkit, which replaced the older approach of writing layouts in XML. A text is a composable function; a modifier acts as a decorator for padding, size and width; styles come from the Material theme. SwiftUI's text, with its padding, edge insets and font, looks almost the same, which leads her to suggest Compose borrowed the idea from SwiftUI.
"So the idea here is to tell you as a developer that if you understand one, you can definitely build for the other." (10:39)
She then works through outlined text fields, buttons (onClick in Compose, action in SwiftUI), columns and rows (VStacks and HStacks in iOS), radio groups that loop over a list of options with an initial selected state, and cards, which Compose offers directly while iOS builds them from a ZStack and a rounded rectangle. A brief Kotlin Multiplatform example shows a shared card using an expect class.
Along the way she highlights accessibility. When adding an image, the content description matters on both platforms. "Now, accessibility in Android is very important." (17:48) She also notes that while fundamentals are valuable, using current tools like Compose to move fast at work is fine, and that the learning curve is real: "Now, I like to mention it's not easy. It's always a learning journey." (9:20)
Testing, shipping and finding an idea
Wambua closes the technical portion with testing and deployment. Unit tests check the logic, UI tests check that what should be clicked is actually clicked, and finished apps go to the Google Play Store or the Apple App Store. Learning, she says, is continuous, and she points viewers to her book for more depth.
In the Q&A, an attendee asks how to come up with an app that solves a daily problem. "The only thing I normally say is don't try to reinvent the wheel." (30:29) Her own Budgeting Buddy app began as a learning project: a common type of app customised to her own needs, which she says now has almost 50,000 downloads on the Google Play Store. For genuinely new ideas, she suggests finding people to help validate an MVP rather than building alone.
Watch the talk
"An Introduction to Building Apps for the Modern World" by Madona Wambua (32 minutes): https://www.womentech.net/video/introduction-building-apps-modern-world
About the speaker
Madona Wambua is the CTO at Axxelist, founder of Jibu Labs, an author and a Google Developer Expert for Android with more than a decade in technology. She is also a Women Techmakers Ambassador, hosts the podcast Tech Talks with Madona, and was named one of Women Who Code's 100 Technologists to Watch in 2023.
Questions this talk answers
What do I need to learn to build for Android, iOS or both?
What hardware do I need to start mobile development?
How similar are Jetpack Compose and SwiftUI?
Why does UI design matter so much for a mobile app?
How can I come up with an app idea that solves a real problem?
Drafted with AI from the talk transcript. Editor review pending.
Frameworks and ideas mentioned
Material Design
Apple design guidelines (called human-centered guidelines in the talk)
Resources mentioned
Jetpack Compose
Material Design documentation
Android Studio
Xcode
Kotlin Multiplatform
Budgeting Buddy (speaker's app on the Google Play Store)
Speaker's book on building Android apps (title not named in the talk)
Cite this talk
Madona Wambua. "An Introduction to Building Apps for the Modern World." WomenTech Network, 2024. https://www.womentech.net/video/introduction-building-apps-modern-world