Back to project page AndroidChat.
The source code is released under:
Copyright 2014 Firebase, https://www.firebase.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ?Software??...
If you think the Android project AndroidChat listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.firebase.androidchat; //w w w .j av a 2 s . c o m import com.firebase.client.Firebase; /** * @author Jenny Tong (mimming) * @since 12/5/14 * * Initialize Firebase with the application context. This must happen before the client is used. */ public class ChatApplication extends android.app.Application { @Override public void onCreate() { super.onCreate(); Firebase.setAndroidContext(this); } }