Programming Journal C#, Java, SQL and to a lesser extent HTML, CSS, XML, and regex. I made this so other programmers could benefit from my experience.

Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Friday, May 23, 2014

Beginning Android Development

I started learning Android Development a couple weeks back. I began by downloading necessary components:

  • Java SDK
  • ADT (with Eclipse and Android Libraries)
The emulator was terribly slow on my hardware so I downloaded the Android device driver for my Android device. This is required for debugging from USB port with your device.

Next, I tried the tutorials at Google: http://developer.android.com/training/index.html
The few tutorials that I tried were frustrating because of compatibility issues between versions. I purchased the Kindle book, "Android Programming: The Big Nerd Ranch Guide". I'm through 4 1/2 chapters so far and it is much better. I'll begin posting again to document any handy tips for Android development.

Override methods in Eclipse

Here is a shortcut to override methods in Eclipse:

  1. Right click -> Source -> Override/Implement Methods 
  2. Check box target method(s) 
  3. Click OK 


Reference: http://www.java-tips.org/other-api-tips/eclipse/how-to-override-a-method-from-a-base-class-using-ec.html