Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Tuesday, February 24, 2009

World Domination is one step closer!

I spent half of the day getting my Android app, "Tag Your World", to download locations from my Google App Engine application! And it works!

Okay, it's not perfect, mind you. I'm not authenticating or anything so I'm just pulling down the "public" info. However, Lenza just posted some code on how to do that so I should have no problem! Thank you, Lenza!

Now I can finish my presentation for this Thursday (although I'd really like to hack some more ;-)!

Saturday, January 17, 2009

More Android Fun! (Yes, I really mean it this time!)

I just spent the past 12 hours working on my Android app. I think I made a fair amount of progress. For 12 hours, I better have!

Reverse geocoding (where you look up the address given the latlong) is working so I can now say "Save where I am right now!" and also say "Use this address for this new location". If you're paying attention, you can see how they both share a lot of code.

I got Preferences working too! That was pretty easy, I must say.

I still can't get my Linux boxen to recognize the Android, so I'm stuck doing hardware debugging on my @#$%^ Macbook. Although it was kinda neat to fire up the program in Eclipse and watch it run on the handheld.

I think I have only two major pieces left now; doing the proximity checking and drawing the proximity area. The first is mostly done by the Android framework, unfortunately I'm having difficulting finding code I can ste^H^H^H look at for inspiration. I still don't know how to do the proximity area drawing.

Tip of the day: how to properly transfer your app from one machine to another. Tar up the workspaces on one machine, transfer them to the new one, delete the old dir, untar and then....right-click, select Import -> From Existing Files. Things work much better that way.

Tomorrow it's the LocationManager coding! Wish me luck!

Friday, January 16, 2009

More Android fun (NOT!)

Man, today is not my day for doing Android work!

I've been trying for the whole morning and the past two hours to either a) get my Dev phone recognized by my Linux boxes (no luck so far) and b) get my app running on the Dev phone via my Macbook.

A major problem is moving an Eclipse/Android app from one machine to another. I can understand needing to do a Project -> Build All on the new machine but there were still weird problems. I ended up just rerunning the app several times until all the gremlins were shaken out.

For future reference, if you do move Android projects from one machine to another, remember to copy your ~/.android/debug.keystore from one machine to another. I don't know exactly what it does, but your maps won't work otherwise.

Now I have to prep for a phone conference about putting on a cloud computing conference on Wall Street and then take my second Google interview. Wish me luck!