This page (revision-1) was last changed on 20-Apr-2024 11:53 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
20-Apr-2024 11:53 3 KB UnknownAuthor

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 50 lines
[{PageViewPlugin}]
[Android]
!!!abstract
Emergency Situation Sharing Tool would provide the situations with location information of your people such as your family when a great disaster happens. Here I will record the development.
!!!topics
!!mission
this tool would provide the situations with location information of your people such as your family when a great disaster happens.
!!usecase scenario
# a big earthquake happens, and Japan Meteorological Agency issues Emergency Warning
# user gets Emergency Warning via some devices such as android smartphone. (uc1)
# the android smartphone will send messages to his or her family with location information.(uc2)
# his or her family can check when and where he or she was.(uc3)
!!requirements
|the application has functions to:
*(uc1) get earthquake emergency warning as real time as possible. I need a possible solution to push information from server to client. (req1)
*(uc2) send message by using email (req2)
*(uc3)set email addresses the user want to share his or her location.(req3) And create a veiw to show family's location with time.(req4)
|These functions should be working background. (req5)
!!Design
*req1: TBD
|one option is Twitter[1][6]. @yurekuru, eew
|Twitter4j[3] should be studied for implementation.
|In terms of methodology, Websocket and Webhooks should be studied[2]
|[Twitter Account Activity API][4], which is one of webhook, seems not to provide realtime tweets of someone. (I can get webhook json of my own tweet information in realtime from twitter, but that is not what I wanted to do).
|Mightbe [Firebase][5] can be used, but Firebase is not free for combination with third web service such as GMAIL and Twitter.
*req2: GMAIL will be used. Still other notification method will be investigated.
|I tried to [Send Message by Gmail] and I think we can develop android application to send GMAIL with location information.
*req3: Location
|About Location, I try to use Location API[7]. LocationManager I used before seems to be old.->[Android Location]
!!Investigation
* [Twitter Kit Android]
| This sample application[8] seems to provide various good functions such as real time tweet search and notification. They should be studied.
*Notification
|ServerからClientへのNotificationをやって、それをキックに動かせないか確認。[Firebase Cloud Messaging]で出てきたけど」。。
!!!reference
#[#1]oov, 2011年3月21日, 緊急地震速報を使って何か作りたい時の情報ソース, [https://bl.oov.ch/2011/03/blog-post.html]
#[#2]AtsushiNakatsugawa, 2017/1/23, APIでリアルタイムコミュニケーションを実現するには, [https://developer.ntt.com/ja/blog/4c5ab626-3522-45d8-b3b8-194bbc28afe9]
#[#3]Yusuke Yamamoto, Twitter4j, [http://twitter4j.org/]
#[#4]Twitter, Inc., 2018, Get activities related to an account in real-time, [https://developer.twitter.com/en/products/accounts-and-users/account-activity-api.html]
#[#5]Google, Firebase はモバイルアプリの作成とビジネスの成長に役立ちます。[https://firebase.google.com]
#[#6]Twitter, Inc., Twitter Apps, [https://apps.twitter.com]
#[#7]さくら、2016年11月27日, LocationManagerはもう古い!Google Service の Location APIを使って現在位置を取得する, [http://sakura-bird1.hatenablog.com/entry/2016/11/27/224200]
#[#[8]Twitter, Inc., 2018年5月あたり, Twitter Kit for Android, [https://github.com/twitter/twitter-kit-android]