As an author, I want to be asked if my location should be attached to my post - CMPUT301F14T06/Team06MapleSyrup GitHub Wiki

Use Case: Author want to be asked if the location will be attached to the post while authoring a post.

Use Case Name: AttachGPS

Participating Actors: Author

Goal: Attach location to a post

Trigger: Click the pin button at the bottom of the screem while authoring a post

Precondition: Author is creating a post

Postcondition: The post will have the location below the content

Basic Flow:

1. Author make a post (Questions/answer/reply)

2. If the author wants to attach a location, he/she could click on the pin button

3. A dialog will pop and let the author to Choose the location from GPS or set the location 

4. the location will be attached to the question/answer/reply

5. To Delete the location from the Post, click the pin button again.

Exceptions:

3.0 Internet is not connected

- 3.1 the dialog will disappear return to the create activity

- 3.2 A Toast shows no internet access

3.0 Do not have GPS

- 3.1 the dialog will disappear return to the create activity

- 3.2 A Toast shows GPS is not avaliable