FireChat is a chat app integrated with Firebase and Google translate API. Users can enter their name, choose their preferred language and join a chat room. No matter what language other users use, the text will be translated to the users selected language enabling a multi-lingual platform.
- Go to firebase.google.com and click on go to console
- Click on add project in the console and create a new project
- After being redirected, go to database from the nav bar and click on get started with real time database.Start in test mode
- Go to project overview from the nav bar and select add firebase to your android app
- Enter your android package name which is available in AndroidManifest.xml
- Download the google-services.json file and place it in your app directory
For more info check out - https://firebase.google.com/docs/android/setup
-
Go to cloud.google.com and click on go to console
-
Create a new project and select API & Services from the sliding navigation bar
- Click on Enable Services and API
- Search for Google Translate API and enable it
- Go back and go to credentials
- Click on create credentials and click on API key
- Replace the generated API key for the API_KEY placeholder in MenuActivity.java on Line 27 and in ChatActivity.java on Line 34
For more info check out - https://cloud.google.com/translate/
Initial Screen: User enters their name and selects their preffered language
Menu Screen: User selects from a variety of chat rooms and will get a hello message in their selected language
Chat Screen: User can chat with a global audience and receive messages translated in their selected language