Warning on app launch in emulator in MAC

Every time I try to launch my android app on emulator, i get the below warning:
Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.

Looks like this can be safely ignored as it's the problem with the emulator using deprecated api. Link: http://groups.google.com/group/android-developers/browse_thread/thread/f10995f2a829229d

Deleting user database

DBOpenHelper or SQLiteDatabase doesn't have functions to delete the database. Looks like there are people who are using file delete by going to the database location and deleting the file programmatically. The easier solution is : Android does provide the mechanism to delete the file. It's available in ApplicationContext though.

You would do something like this:

InstantReturn app = (InstantReturn) getApplicationContext();

// dbHelperInstance.close();
// dbInstance.close();

if (app.deleteDatabase(DatabaseOpenHelper.DB_NAME)) {
Log.d(ViewConstant.APPLICATION_NAME, "deleteDatabase(): database deleted.");
} else {
Log.d(ViewConstant.APPLICATION_NAME, "deleteDatabase(): database NOT deleted.");
}

Open javadoc in external browser - Eclipse

Solution:
http://stackoverflow.com/questions/4413883/how-to-open-attached-javadoc-in-external-browser

Should we do this for each workspace?

Function key on aluminium keyboards - MAC

Seen that many people do not find the Fn key in the new aluminium keyboard for mac and end up setting "use default functionality of function keys" in system preferences. However this affects the laptop keys too and might not be preferred by all.

Solution: There IS a function key in the keyboard. Not in the place we expect it though. Look for the key under F13. :-)

Opening multiple instances of Eclipse on mac.

Double clicking on eclipse icon always opens the same instance on MAC. To solve this, you can open terminal (Command-Space to launch spotlight. Type in terminal and click on the top hit/Terminal link).
Cd to the place where you unzipped eclipse.
For .e.g, Eclipse/Eclipse.app/Contents/MacOS/


Then run eclipse &. (& makes sure you run eclipse in background, so that you can kill the terminal window.).