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


Setting Up Android Development Environment

Setting up an Android development environment is not a terribly hard task, but there are several steps involved. Before I document those steps a note about the hardware I used for my forays into Android development.
Development Machine Specs
  • Windows 7 64 bit
  • Processor: Intel Core  Duo T9800 @ 2.93GHz 2.94GHz
  • RAM: 4.00 GB
Android Platforms
  • Motorola Droid
  • HTC Incredible
The following steps are merely the ones that I used to develop Proximity Alerter and are definitely not the only options for setting up an Android development environment. Accounting for download and installation time the following steps should take less than 2 hours.
  1. Step 1 - Android SDK & Components
  2. Step 2 - Phone Drivers
  3. Step 3 - Setup Android Devices for Debugging
    • On the device, go to the home screen, press MENU, select Applications > Development, then check all three options
  4. Step 4 - Setup MOTODEV Studio (a fully contained Eclipse plug-in) for Android
    • Download and install MOTODEV Studio for Android (might require account creation)
    • Start MOTODEV Studio for Android, create a new workspace
    • Select: "Use an existing SDK from the file system" and point MOTODEV Studio to the location where you installed the Android SDK
At this point your Android development environment is setup and ready for the obligatory Hello, World.


Android Application Ideas

I have spent the month of June recovering from a lot of travel and catching up on work. Thus far it has been an outstanding summer filled with a lot of learning. We started a new project at work which is stretching my capabilities and providing excellent learning opportunities.

In addition to work I've spent the last six weeks in a Smartphone Application Development course. The course focused on developing applications for the Android Platform. The course was taught by Ted Selker who pushed us to come up with innovative project ideas. I had some of my own but polled my social graph for additional ideas.

The best ideas are below
Service Disabler
An application that is location aware turning off features depending on location. This would have practical use for the government as even government owned portable electronic devices have restrictions inside of limited areas. This idea could be extended to the consumer market to turn off specified features/notifications when at particular locations i.e. I am at/near my desk I don't need to be notified of Twitter mentions.
Bicycle cadence measurements
Bicycle cadence measurements. This measurement could be obtained by listening for the "swoosh" of a bicycle pedal using a Bluetooth headset or by calculating a virtual cadence using the accelerometer. In either case as a cyclist I am interested in this application because I presently have no option like it.
Photo Geo-tagging
A photo geotagging application. The application would communicate with your service of choice (Flickr, Picasa, etc.) and update previously uploaded photographs with a prior recorded geotagged location. The application would be smart enough to ignore photographs where it was not on at the time of the picture being taken. This would be useful for photographers who already carry additional devices to provide similar utility.
Grocery Food Item Locations
An application that provides the location of food items based on a specified grocery list. I.e. cereal can be found on aisle 3 and produce in this section of the store. This application would provide the details of where to go in the store to get all of the items on a list and provide suggestions for available coupons. To make this truly work would require the eventual buy in from multiple grocers as keeping store layout information up to date would be difficult.
Exposure Calculator
An exposure calculator for pinhole photography. Capturing light values and displaying flash calculations to photographers. This would be of value as photographers already carry additional devices to provide such calculations.
Advanced Phone Locker
Provide the ability to lock the phone with more than a simple pin or connect the dots unlock mechanism. This application would use multiple sensors to unlock the phone. It’d be interesting to allow for audible, location, gesture, and accelerometer based unlocking. A user could create a profile combining up to two unlocking mechanisms.
Some of these are more cute than useful. I ultimately chose to write the Service Disabler application though it morphed into Proximity Alerter.