Zawgyi in Android

ဇော်ဂျီကို Android မှာပေါ်ဖို့ အတွက် ဘယ်လို ရေးရတယ်ဆိုတာ တော်တော် များများ သိပြီးလောက်ပြီ ထင်ပါတယ်။ ဒါပေမယ့် အခုမှ စတင် လေ့လာသူများ အတွက် ရည်ရွယ်ပြီး ထပ်တင် ပေးလိုက်ပါတယ်။

Screen Capture 1

ကိုယ့်ရဲ့ project folder ရဲ့ assets အောက်မှာ အခုလို fonts folder ဆောက်ပြီး ကိုယ်သွင်းချင်တဲ့ font.ttf ကိုအရင်ဆုံးထည့်ပေးပါ။

Screen မှာတော့ EditText တစ်ခု TextView တစ်ခုထည့်ထားပါတယ်။ java ကနေ အခုလို typeface ကို ကိုယ့်ရဲ့ typeface ပြောင်းလိုက်ပါ။

Screen Capture 2

happy with Android!

Tip: datastore in Android(၁.၁) tomorrow

(6/8/2010)

Facebook comments:

14 Responses

  1. mgpyone says:

    .. great post ;=)
    btw, why u put code point to implement ? =(

  2. everlearner says:

    Android 2.0 နဲ့ Run ထားတဲ့ ဖုန်းအတွက် Zawgyi font Installer လေးများ ရှိရင် ကူညီပါဗျာ။ Root access မရလို့ Zawgyi font ထည့်မရ ဖြစ်နေလို့ပါ…

  3. kyaw says:

    HI Bro
    How to insert zawgyi font in HTC desire.Please can explain detail.

  4. cmt says:

    Hi,

    How can i install zawgyi in htc desire?

  5. Name says:

    how to install zawgyi font in sony x10

  6. sai says:

    In OS 1.6 can support Thai , Myanmar Language?
    If can where site can I download? I want Language Pake….
    Please HELP me

  7. Aung says:

    i can’t add typeface in ListView..

  8. Nan Su says:

    myanmar font does not appear in eclipse and when the file is save often occur error like(some character cannot be mapped) , how can this problem be solved

  9. Nan Su says:

    please answer my question, my emulator is target at 2.0.1, can this install myanmar font into emulator?

  10. Emulator လည်း မြန်မာဖောင့်ထည့်လို့ရပါတယ်။ ဒါပေမယ့် emulator တစ်ခါ run တိုင်းပြန်ပြန်ထည့်နေရတယ်။ temporary root လောက်ဘဲချလို့ရသလိုသဘောပေါ့။ emulator တွင်ထည့်ချင်ရင် အခုတင်ပေးလိုက်တဲ့ su ဆိုတဲ့ zip file လေးကို emulator ထဲက data အောက်က local အောက်ထဲအရင်သွားထည့်ပါ။
    http://www.2shared.com/file/ziCaVwOR/su_online.html
    C:\Android>adb push su /data/local
    595 KB/s (76200 bytes in 0.125s)

    C:\Android> adb push Zawgyi1.ttf /data/local

    Shell ထဲကို၀င်ပါ။

    C:\Android>adb shell
    $ su
    System ရဲ့ su ကိုအစားထိုးဖို့ read/write access ရအောင်ပြင်ပါ။
    # mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
    မူရင်း su က system အောက်က xbin အောက်ရွိနေတာကို osu အဖြစ် back up လုပ်၊ ပြင်ထားတဲ့ su ကို အစားထိုး
    # cd /system/xbin
    # mv su osu
    # cat /data/local/su > su
    # chmod 6755 su

    ပြီးရင် su ရော osu ရောကိုအခုလိုခေါ်ကြည့်နိုင်

    # ls -l *su
    -rwsr-sr-x root root 76200 2008-08-01 05:00 osu
    -rwsr-sr-x root root 76200 2009-05-30 11:28 su

    ပြီးရင်
    1 su
    2 mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    3 chmod 4755 /system/fonts/DroidSansFallback.ttf
    4 dd if=/data/local/zawgyi1.ttf of=/system/fonts/DroidSansFallback.ttf

  11. chan hein says:

    Please explain me! How to fix the myanmar fonts and keyboard?My phone is hTC Cha Cha.

  12. Nan Su says:

    Thank for answer! :D

Leave a comment


*