Enable Dashboard in OS X El Capitan

So when you start your os you will see no dashboard there don’t panic it is disabled by default.
Just go to System Preference -> Mission Control you will see off beside Dashboard. From the drop down menu you can choose either As Space or As overlay. As Space is the old way to show the dashboard so an extra desktop screen will be added in the left most side. As overlay means it will appear as overlay so you can use either keyboard shortcut or hot corners which you can choose by clicking the button Hot Corners. When you will hover your mouse pointer in the hot corners the dashboard will appear.

Enjoy 🙂

Adding Bangla Font (or other) on Android Emulator (MAC LION)

1. Go to http://onkur.sourceforge.net/?page_id=42&lang=en
2. Download any of the font like for SolaimanLipi
3. Open Eclipse go to assets folder and paste the font
4. Now write the following code

TextView tv3 = (TextView) findViewById(R.id.tv3);  
Typeface font = Typeface.createFromAsset(getAssets(), "SolaimanLipi-8-Jan-2011.ttf");  

5. Run the emulator.

Thanks to IMRAN KADER vaia!

For windows http://ekushey.org/?page/otf-bangla-fonts

Android Tips

1. Eclipse shortcut for import package
Windows = Ctrl-Shift-O
Mac = Cmd-Shift-O
2. Eclipse shortcut for Code Indentation Shortcut
Windows = Ctrl + A then Ctrl + Shift + F
Mac = Cmd + A then Cmd + Shift + F
3. Eclipse shortcut for show line number
Windows = Ctrl + F10 then n
Mac = Eclipse -> Preferences -> General -> Editors -> Text Editors -> Show line numbers
4. Comment rule for XML

<!-- this is a comment -->

Eclipse shortcut for Comment
Windows = Ctrl + /
Mac = Cmd + / or Cmd + Shift + C
5. Comment rule for JAVA

//this is a comment or /* this is a comment */

Windows = Ctrl + /
Mac = Cmd + / or Cmd + Shift + C
6. Eclipse shortcut for auto complete
Windows = Ctrl + space
Mac = Ctrl + space

Setup Android Environment on MAC OS X Lion

1. Go to Terminal
2. Type java
3. If not install click Install
4. Go to http://developer.android.com/index.html
5. Download the Android SDK according to your OS
6. Go to http://www.eclipse.org/
7. Download the Eclipse Classic 3.7.2 64 bit or 32 bit according to your machine
8. Move the Android SDK to user folder
9. android-sdk-macosx -> tools -> android, click open
10. Download ADT Plugin for Eclipse from http://developer.android.com/sdk/index.html
11. Ecilpse -> Help -> Install New Software (add enter “ADT Plugin” for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/)

You are done! enjoy 😀