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");  
tv3.setTypeface(font); 
tv3.setText("মজা");

5. Run the emulator.

Thanks to IMRAN KADER vaia!
🙂

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

Advertisements

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s