Week 5 - Adding Location Awareness to Our Task Manager
Tony Hillerson
Lesson Info
29. Week 5 - Adding Location Awareness to Our Task Manager
Lessons
Overview: What is Android?
19:56 2Eclipse and SDK setup and build a Red Flashlight app
38:05 3Ad a button to a Green Flashlight
21:06 4Add the Green Flashlight
18:48 5Week 1 - Layout and Build a Task Manager App
04:10 6Displaying a list of tasks
40:44Sharing Data Across the Task Manager App
12:06 8Create the Add Task View
22:08 9Implement Safe Canceling
21:09 10Homework and Q & A
13:23 11Week 2 - Creating a List of Tasks
03:51 12A Better List View
22:34 13Showing the Tasks
58:54 14Completing Tasks
07:25 15Removing Completed Tasks
07:53 16Wrap up, Homework and Q&A
17:43 17Week 3 - Adding Persistence to our Task Manager using SQLite
07:22 18Loading tasks from the database
48:08 19Adding new tasks to the database
22:43 20Completing a task
09:59 21Deleting tasks
10:06 22Wrap up, Homework and Q&A
19:54 23Week 4 - Adding Location and Maps to Our Task Manager
06:10 24Adding a Location to a Task
27:52 25Displaying a Map View
29:45 26Searching for an Address and Map Overlays
28:56 27Returning the Address to AddTaskActivity
07:55 28Wrap up, Homework and Q&A
17:56 29Week 5 - Adding Location Awareness to Our Task Manager
04:18 30Saving the Address on a Task
23:36 31Displaying the Location of the Task
15:25 32Adding the Device's Current Location to the Map
16:20 33Displaying the Current Location on the Task List
24:39 34Filtering the Tasks by Location
16:24 35Wrap Up, Homework and Q&A
16:52Lesson Info
Week 5 - Adding Location Awareness to Our Task Manager
All right. Welcome to the last in this Siris in the set of, Ah, online workshops. We're going to work with location today. Um, can I get let's from that first poll. Which location based services have you used? Yes, And then there's a list bright kite, foursquare gowalla, latitude or other. And I'm going to share the results latitude out in the lead with court foursquare coming around the bend. So you surprised Sunny? Ah, yeah. I didn't think that the latitude was that popular, but I guess it is. Maybe you just don't know the right people are theirs. The people that I know using location based services are a different sampling. That latitude is Google's. I've heard of the other ones, but I've never heard of platitudes. Latitude is Google's, and it's built into ships with android phones. So that's why I wonder if people probably have a lot of android phones out there. Okay, well, good. Now you can build applications that will help work with those services. I guess I could have added Twit...
ter to that list, too, because now you congee a tag tweets. Um, but the way you do that with Android is by adding some location aware in us to get an idea of where the devices in the rial physical space. So that's what we're going to do today for our task manager, because everybody has tasks that have to do with some place. So maybe you want to add a list of tasks that are at the store and have them filtered separately from task that there may be something that you need to do at work. So to do that, we're gonna add location to the tasks that you map, Um, which is what we built in the last glass. And then we're gonna add an overlay to show the devices current location on the map so that you can decide if, um maybe just started. Just go do the thing that's nearby. Instead of adding it to the phone, I don't know, but also so you can see how to do it, which is our real reason. And then we're gonna use d d A mess so I can show you how you can mock locations on the emulator if you don't have a real device. Although you should always be testing on the real device, especially when you get in the location stuff and then finally, we're gonna show the coordinates and accuracy of the devices actual location or the emulators fake location and in filter tasks, um, by the location and proximity to the to the current location. So becoming location aware in this fifth generation of, um, the task manager application. Like I said, we want to save addresses on tasks. That was, That's something that we started last week. And then we want to see the current location. So we're gonna list that at the top of the main screen the view task screen, and then we'll have a button at the bottom, a toggle button which will toggle between showing local tasks and showing all tasks. As we go through today. We're gonna run into a few new interesting characters in this and this drama of andro development. Um, my location overlay is one. Someone actually mentioned this from the audience last week. Um, it's a very simple little overlay that you can add to a map that will show the users current or the devices current location. Then the location manager is what we used to receive updates when the device moves through, um, changing locations. And ah, then we'll use the DDM s, which we've already used a little bit. We kind of looked at, I think two weeks ago, the file system using DD mess. And we've used it to also set up debugging and turn on debugging on a running application on the emulator. But today we're gonna use it Teoh spoof locations, which is pretty useful testing feature.
Ratings and Reviews
a Creativelive Student
I thought everything on this site was free and now they want 99 dollars for a course
a Creativelive Student
very good