Skip to main content

Week 5 - Adding Location Awareness to Our Task Manager

Lesson 29 from: Developing Android Apps with Java

Tony Hillerson

Week 5 - Adding Location Awareness to Our Task Manager

Lesson 29 from: Developing Android Apps with Java

Tony Hillerson

buy this class

$00

$00
Sale Ends Soon!

starting under

$13/month*

Unlock this classplus 2200+ more >

Lesson Info

29. Week 5 - Adding Location Awareness to Our Task Manager

Lessons

Class Trailer

Day 1

1

Overview: What is Android?

19:56
2

Eclipse and SDK setup and build a Red Flashlight app

38:05
3

Ad a button to a Green Flashlight

21:06
4

Add the Green Flashlight

18:48

Day 2

5

Week 1 - Layout and Build a Task Manager App

04:10
6

Displaying a list of tasks

40:44

Lesson 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

Student Work

RELATED ARTICLES

RELATED ARTICLES