# Simple Android App to register a user and login

**URL:** <https://discuss.kotlinlang.org/t/simple-android-app-to-register-a-user-and-login/19367>\
**Category:** Android\
**Created:** [October 2, 2020, 4:40pm UTC](https://discuss.kotlinlang.org/t/simple-android-app-to-register-a-user-and-login/19367 "2020-10-02T16:40:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmc.kleinert](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@dmc.kleinert](https://discuss.kotlinlang.org/u/dmc.kleinert)\
**Post date:** [October 2, 2020, 4:40pm UTC](https://discuss.kotlinlang.org/t/simple-android-app-to-register-a-user-and-login/19367/1 "2020-10-02T16:40:36Z")

</div>

Hey guys,

iam new to Kotlin and Android development in general, however I do have about 10 years of ABAP (SAP) programming experience. Programming in ABAP is very different from most other languages, so getting started is much harder than I thought it would be.

I have an idea for a (larger) app in mind that I want to eventually realize, but for now I would like to make a simple app where a user can register a new account with his mail, name and a password and login with these login information. Could anyone point me in the right direction of how this is done? Iam assuming there is some kind of framework to implement something like that. Maybe there is something like an “industry standard” of how user registrations are done in app development? Or do app developers always start from scratch?

Sorry if I sound a little bit lost, because iam, but iam just getting started 🙂

P.S: I know this might be a little bit too ambitious for my first app/test with Kotlin, but I don’t really wanna build some kind of Hello world app 😛

Edit: After some google research I have found [https://firebase.google.com/](https://firebase.google.com/). It seems like this might be a good way t omanage user registration/logins for apps. Is this a common thing app developers do?

---

<div class="post-metadata">

**Author:** ![arocnies](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/arocnies/32/5143_2.png) [@arocnies](https://discuss.kotlinlang.org/u/arocnies)\
**Post date:** [October 2, 2020, 5:03pm UTC](https://discuss.kotlinlang.org/t/simple-android-app-to-register-a-user-and-login/19367/2 "2020-10-02T17:03:46Z")

</div>

I’d recommend going to the [Kotlin Hands-on](https://play.kotlinlang.org/hands-on/overview). This might help you get on a quick path to a prototype using various libraries such as Ktor.  
There are mobile and backend hello world tutorials there.

If you’re not experienced with Kotlin you will probably want to start with the beginner tutorials and Koans here: [https://kotlinlang.org/docs/reference/](https://kotlinlang.org/docs/reference/)

Since you’re newer to the enterprise application space it’s probably not valuable to get into a debate on specific frameworks or tools (you’ll hear people compare Ktor to SpringBoot and others). Go with whatever has an easy path to learning.

Firebase is a commonly used NoSQL DB. But again it’s another case of being one of many tool/library options. I have very little experience with it (I used it for web applications) but I’m sure it wouldn’t be a bad choice.

EDIT:  
I know there are some good Android tutorials out there. Since only a portion of Kotlin users work on Android apps, if searching for Android tutorials you may find more focused resources instead of tutorials on Kotlin in general.

---

<div class="post-metadata">

**Author:** ![dmc.kleinert](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@dmc.kleinert](https://discuss.kotlinlang.org/u/dmc.kleinert)\
**Post date:** [October 2, 2020, 6:20pm UTC](https://discuss.kotlinlang.org/t/simple-android-app-to-register-a-user-and-login/19367/3 "2020-10-02T18:20:31Z")

</div>

The reason I chose Kotlin is, from my understanding, Kotlin can be used for business logic/backend programming across Android/iOS/Web. Only the UI technology would be a different for each platform. Is this assumption correct?

---

<div class="post-metadata">

**Author:** ![tieskedh](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/tieskedh/32/2816_2.png) [@tieskedh](https://discuss.kotlinlang.org/u/tieskedh)\
**Post date:** [October 3, 2020, 7:23am UTC](https://discuss.kotlinlang.org/t/simple-android-app-to-register-a-user-and-login/19367/4 "2020-10-03T07:23:36Z")

</div>

Yup, you can use firebase.  
You can combine it with firebase-ui android and it will be even easier.

> **[GitHub - firebase/FirebaseUI-Android: Optimized UI components for Firebase](https://github.com/firebase/FirebaseUI-Android)**
>
> Optimized UI components for Firebase. Contribute to firebase/FirebaseUI-Android development by creating an account on GitHub.

I’ve used it for most of my projects
