1

I have a client that wants an app that will detect the persons location and if a weather warning or alert happens send them a notification letting them know to check the warning. I don't think the alert would have to have specifics because i will have all that information in the app. It just needs to alert them to open the app and view details of warning or somthing to that nature. Not sure where to start on something like this. I have been looking at some weather api's that i could use for the forcasting and was planning on using a webview for radar services but not sure what i can use for the warning system. If anyone has any ideas on where i can go with this I would greatly appreciate it.

4

1 に答える 1

2

あなたの質問は非常に広いですが、ここに一般的なアプローチがあります。

次のバックグラウンドサービスを作成します。

  • GPSおよび/またはネットワークの場所でユーザーの場所を追跡する
  • ユーザーのエリア内のアラートについてNOAA(または同様のもの)にクエリを実行します
  • 見つかった場合は、アプリにリンクされた通知を起動して、詳細やレーダー画像などを表示します
于 2012-06-13T00:02:51.290 に答える