技术控

    今日:89| 主题:49113
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] Get Started With Firebase for Android

[复制链接]
梦&冰蝴蝶 发表于 2016-9-30 17:26:00
213 7

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
Mobile applications need a back-end server in order to perform tasks such as authenticating users and synchronizing user data across multiple devices. Creating such a server, however, requires a skill set that most independent app developers lack. Fortunately, there are several back-end as a service platforms, often called BaaS, you can use today. Google's Firebase is one such platform.
  Firebase offers essential services such as analytics, crash reporting, user authentication, and cloud messaging at no cost. Its freemium services include a real-time NoSQL database, file hosting, and static website hosting.
  In this tutorial, I'll show you how to add user authentication, analytics, and remote data storage to your Android app using Firebase.
  Prerequisites

  To follow along, you'll need:
  
       
  • Android Studio 2.2 RC2 or higher  
   1. Using Firebase Analytics

  Firebase Analytics is one of the most popular mobile app analytics solutions available today. By using it, you can get a precise understanding of who your users are and how they are using your app.
  Step 1: Set Up Firebase Analytics

  The latest canary builds of Android Studio have built-in support for Firebase Analytics. That means you can add Firebase Analytics to your project without ever having to leave Android Studio.
   To start integrating Firebase Analytics with your project, click on Tools > Firebase . You will be presented with the following Assistant window:
     
Get Started With Firebase for Android-1 (get,started,with,get,started,with,sth,started,with,get,started,let,s,get,it,started)
     Click on Analytics and then Log an Analytics event .
   You must now associate your Android Studio project with a Firebase project. Therefore, click on the Connect to Firebase button.
   In the dialog that pops up, you will be able to see all your existing Firebase projects. You can either pick one of them or choose to create a new project. For now, I suggest that you choose the Create new Firebase project option, and give a unique name to the project.

Get Started With Firebase for Android-2 (get,started,with,get,started,with,sth,started,with,get,started,let,s,get,it,started)
     Once you press the Connect to Firebase button that's inside the dialog, Android Studio will automatically make all the required configuration changes, such as generating a google-services.json file and uploading a SHA1 fingerprint.
   You can now press the Add Analytics to your app button to add the Firebase plugin and the Firebase Core dependency to your project. Android Studio will show you the exact changes that will be made to the build.gradle files.
12345下一页
友荐云推荐




上一篇:Segmentation Protection in Intel Processor
下一篇:聊聊Code Review
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

夜の使者 发表于 2016-9-30 20:35:08
此地禁止大小便,违者没收工具。  
回复 支持 反对

使用道具 举报

低头路过 发表于 2016-10-6 05:20:52
楼下有什么好吐槽的么?
回复 支持 反对

使用道具 举报

恋尔佳依旗舰店 发表于 2016-11-6 18:33:54
趁今日埋头苦干,免他日仰慕求人.
回复 支持 反对

使用道具 举报

明天再相会 发表于 2016-11-7 15:38:47
楼主想办法,让咱的帖子火起来吧。。。。
回复 支持 反对

使用道具 举报

邓国莉 发表于 2016-11-11 20:03:16
路过为证。
回复 支持 反对

使用道具 举报

映容 发表于 2016-11-13 22:08:37
楼主呀,,,您太有才了。。。
回复 支持 反对

使用道具 举报

董旭 发表于 2016-11-15 15:00:39
人生如戏,全靠演技。
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表