|
2 | 2 |
|
3 | 3 | In this code lab you'll build a chat application for Android using Firebase and Android Studio.
|
4 | 4 |
|
5 |
| - |
6 |
| - |
| 5 | +<img alt="Chat login" src="images/0_0.png" height="600"> |
| 6 | +<img alt="Chat messages" src="images/0_1.png" height="600"> |
7 | 7 |
|
8 | 8 | What you'll learn:
|
9 | 9 |
|
@@ -231,7 +231,7 @@ Now that we can send messages to Firebase, it is time for the next step: making
|
231 | 231 |
|
232 | 232 | A chat app that doesn’t show existing messages is not very useful. So in this step we’ll add a list of the existing messages to our Android app. And since we're using Firebase, new chat messages will be added to this list automatically. At the end of this section we’ll have a fully functional chat app.
|
233 | 233 |
|
234 |
| - |
| 234 | +<img alt="Chat messages Android app and new message" src="images/5_1.png" height="600"> |
235 | 235 |
|
236 | 236 | Let's take this in chunks: first we'll create a Java class to represent each message, then we'll create an Adapter that gets each of the messages from Firebase and puts them into a ListView.
|
237 | 237 |
|
@@ -454,13 +454,17 @@ Now go into your Firebase Dashboard and go to the Auth tab and select "Email/Pas
|
454 | 454 |
|
455 | 455 | This is also where you can configure the password reset emails that you can send to your users, in case they forgot their password.
|
456 | 456 |
|
| 457 | +6. Log in with your new user. |
| 458 | +
|
| 459 | +<img alt="Chat app with login" src="images/0_1.png" height="600"> |
| 460 | +
|
457 | 461 | ## Wrap-up
|
458 | 462 |
|
459 | 463 | Wrap-up
|
460 | 464 |
|
461 | 465 | Congratulations! You've just built a fully functional multi-user chat application that uses Firebase to store the data and authentication users.
|
462 | 466 |
|
463 |
| - |
| 467 | +<img alt="Chat app with login" src="images/0_0.png" height="600"> |
464 | 468 |
|
465 | 469 | As a reward for finishing the codelab you’ve earned a promo code! When you’re ready to put your Firebase app in production, you can use the promo code `androidcodelab49` for $49 off your first month of a paid Firebase plan. Just enter the code when you upgrade your Firebase.
|
466 | 470 |
|
|
0 commit comments