douxuan4556 2016-10-04 05:32
浏览 47

Android版带谷歌地图的实时数据库

we have a android project that needs the following objectives:

*we also have a web application for this app that needs to communicate with the same database as the android application

what I have done so far:

  1. a view of a map with a pinpoint on my current Location
  2. mysql db containing information (including latitude and longtitude position)
  3. registration and login

Real Time Database Objectives:

  1. state that people are online or offline(updating a database).

Google Map Objectives:

  1. When I press a button, the map will show other users who are online within a given radius so basically I need to view online people who are near me

  2. Send a message to them [2 ways]

2.1 I send them a message by clicking their icon

2.2 I send everyone[online people within the radius] the message

Questions:

    1. I am currently using php mysql for login/register. Can I use this for a real time database or is there any other way?
  1. is Firebase somehow similar to a hosting site?

if there are other needed information needed, pls inform me, I may not have included information that could help with my questions :) ill update my question too if I have more questions.

thank you.

  • 写回答

1条回答 默认 最新

  • dougou8458 2016-10-04 05:50
    关注

    I think for your requirements its is more appropriate to use Firebase as it fulfills all your expectations and provides additional features.

    评论

报告相同问题?