Android,Mobile,SDK

Windows အတွက်က အကုန်ပါပြီးသားဆိုတော့ ကိစ္စက မရှိဘူး။ Mac အတွက်က လိုအပ်တာတွေကို ပြန်သွင်းခိုင်းနေတော့ သွင်းဖို့လုပ်ရပြန်ကော။ ဘာဆိုဘာမှ မပါလာဘူး။ ဘာလာတာတွေကလည်း သုံးမရဘူး။ SDK ကို download ချ။ ပြီးတော့ emulator က run လို့မရဘူး။ emulator ပဲ လိုချင်တာလေ။ ကိုယ်က program ရေးဖို့ ကိစ္စကို အဲလောက် စိတ်မဝင်စားဘူး။ web ပေါ်မှာ display ဘယ်လိုပြမလဲ။ screen ချိန်ထားတာ ကိုက်မကိုက်။ နောက်ပြီး touch အတွက် meta tag ကကော android မှာ အလုပ်လုပ်ရဲ့လား သိချင်တာရယ်ကြောင့် adroid SDK ကို download ချ။ emulator run တော့ မရ။ ဒါနဲ့ သူ့ SDK site မှာ ဖတ်ကြည့်တော့ <sdk>/android ကို run ပြီး သွင်းခိုင်းတော့ သွင်းဖို့ ကြိုးစား။ မရပြန်ဘူး။ SSL က မရလို့တဲ့။ ဒါနဲ့ ထပ်ရှာ။ google group ထဲရောက်။ ပြီးမှ

$vi ~/.android/androidtool.cfg

နဲ့ ဖွင့်ပြီး sdkman.force.http=true လေးထည့်။ ပြီးတော့ install သွင်းပြီး repostiory ကို  update ပြန်လုပ်မှပဲ ရသွားတော့တယ်။ အခုတော့ လုပ်ရတာ အလွယ်လေးရယ်လို့တာ ထင်ရတာ။ မသိခင်တုန်းကတော့ ရှာလိုက် ဖတ်လိုက်ရတာ မူးသွားတာပဲ။ Eclipse သွင်းရမယ်။ SDK လေး စမ်းပြီး run ကြည့်ဖို့။ Android SDK နဲ့တော့ ရေးဖို့ အစီအစဉ်မရှိ။ အရင်ဆုံး iPhone ရဲ့ objective-C ကို ဖတ်ရမယ်။ အဲဒါဖတ်ဖို့ကလည်း မအား။ အဲဒါ မဖတ်ခင် PHP OOP ကို သေချာလေ့လာရအုံးမယ်။ အခု အလုပ်ထဲမှာ mobile ကိစ္စနဲ့ ခေါင်းစားနေတာနဲ့ တစ်ခေါင်းလုံး mobile တွေကြီးပဲ စဉ်းစားနေတာ။ ornagai mobile website အတွက်ပါ အဆင်ပြေသွားတာပေါ့။  ornagai mobile site က နောက်ဆုံးမှ လုပ်မယ်။ အရင်ဆုံး ornagai ကိုပြီးအောင်လုပ်။ PHP OOP က bus ကားစောင့်ရင်း ဖတ်နေရတယ်။ mobile အတွက် blueprint လည်း လေ့လာရအုံးမယ်။ ရုံးက blueprint သုံးချင်နေတယ်။ blueprint က phone တော်တော်များများ support လုပ်တာကြောင့်လည်းပါတာပေါ့။ blueprint ကိုတော့ သိပ်မကြိုက်ဘူး။ ခက်တာက ရုံးက ကြိုက်နေတော့ ဘယ်တတ်နိုင်မလဲ။ အဲဒါကိုလည်း ဖတ်ထားဖို့လိုသေးတယ်။ နောက်ပြီး web service ပိုင်းလေးတွေလည်း လုပ်စရာရှိသေးတယ်။ cross site တွေလုပ်ရတာ ခေါင်းစားတယ်။ admin panel က site တစ်ခု client က site တစ်ခု။ server ကလည်း မတူ။ store တွေအများကြီးဆိုတော့။ Android သွင်းတာလည်း ကြာပြီ မပြီးသေး။

iPhone အတွက်http://developer.apple.com/safari/library/codinghowtos/mobile/userExperience/index.html အဲဒါလေး တော်တော်ကောင်းတယ်။ နောက်ဆိုရင် mobile က အရမ်းခေတ်စားလာတော့မှာ။ customer တွေကလည်း mobile version လိုချင်တယ်။ ရုံး website တောင် ဒီနေ့ mobile version support လုပ်လိုက်ပြီ။ mobile အတွက် ရေးရတဲ့ design က website အတွက်ရေးရတာနဲ့မတူဘူး။ အရေးထဲ iPhone က တစ်မျိုး Android က တစ်ဖုံ နောက်ပြီး blackberry က ရှိသေး.. အဲဒါတွေက screen လည်း မတူ။ နောက်ပြီး iPhone က webkit သုံးတော့ အဆင်ပြေတယ်။ Android ကလည်း webkit ပဲ။ blackberry ကတော့ ဘာမှန်းမသိဘူး။ သုံးလည်း မသုံးဖူးဘူး။ သူ့ emulator ကလည်း exe ကြီး။ အလုပ်ရှုပ်တယ်။ windows မှာ သွားသွင်းရအုံးမယ်။ nokia ကလည်း တစ်မျိုး။ nokia နဲ့ internet သုံးတဲ့ လူရှိရဲ့လားမသိဘူး။ opera ဆိုရင်တော့ ကိစ္စမရှိဘူး။ http://www.opera.com/mini/demo/ ကနေ စမ်းလိုက်လို့ရတယ်။ သူ့ mini demo တောင် touch screen version ဖြစ်သွားပြီ။ အကုန်လုံးက touch တွေပြောင်းလာကြပြီနဲ့တူတယ်။ windows mobile ကို စမ်းဖို့အတွက် လုပ်ရအုံးမယ်။ windows mobile က IE ဆိုတော့ စိတ်တောင် မကူးချင်ဘူး။ IE ဆို စိတ်ကုန်လွန်းလို့။ သူ့ကိုတော့ နောက်ဆုံးမှပဲ စမ်းကြည့်တော့မယ်။ သူကတော့ သေချာတယ်။ mac မှာ စမ်းလို့ရမှာမဟုတ်ဘူး။ IE ကို mac မှာ wine bottle လေးနဲ့ run ထားရတာ။

အင်း.. ရေးချင်တာတွေ အကုန်ရေးချသွားတာပဲ။ နောက်မို့ဆို ခေါင်းထဲမှာ ပျောက်သွားမှာဆိုးလို့။ ပျောက်သွားပြီဆိုရင် link တွေ ပြန်ရှာရတာ အလကားထပ်ပြီး ပင်ပန်းလို့။

#Diary

Dec 6 2009 Sun 1:08 AM

ornagai not support zawgyi 2009 in current development because I don’t know zawgyi 2009 structure detail. I need to write 2009 to 2008 in Zawgyi Library. First, I must ask ko soe min for Zawgyi 2009 store code point or I try from Windows. Ornagai is near to release. If you want to know news, you can follow in github. You can see my code. I just use CI and Jquery. Many thing to do for Ornagai V2. I will release source code and I will build official site soon. Huuuu….. it’s not too hard but sometime I want to rest and I am lazy for to do that. Yes, I am lazy boy. Now, frontend 80% done and backend 10% done. I will update www.ornagai.com when frontend 100% done. I will release all source code include database when backend 100%. I mean just v2. It will be 2.2 , 2.3,etc. OK… time to sleep.

Ornagai Dictionary For Windows Mobile

English To Myanmar, Myanmar To English ရပါတယ်တဲ့ဗျာ။ Alpha က ကိုရဲမြတ်သူ ပေးထားတာလေးပါ။ ကဲ.. Windows Mobile သမားတွေ အားငယ်စရာမလိုပဲ.. စမ်းကြည့်လိုက်ပါအုံးဗျာ.. :)

http://www.multiupload.com/I4NUD49LAD

Ornagai in iPhone / iPodTouch

Ornagai English To Myanmar, Myanmar To English ကို iPhone/ iPodTouch တွေမှာ သုံးလို့ရပါပြီ။ မြန်မာစာ search အတွက် syllable breaking , normalization တွေမသုံးထားတဲ့ အတွက် search ပိုင်းကတော့ ကောင်းမှာမဟုတ်ပါဘူး။ ဒါပေမယ့်လည်း အသုံးတော့ တည့်ပါတယ်။ အခုဟာက wedictpro 1.0 ကို အသုံးပြုထားတာပါ။ ကျွန်တော့်အနေနဲ့ stardict မှာ သုံးတဲ့ dict လေးထည့်ပေးလိုက်တာပဲရှိတယ်။ လိုအပ်ချက်တွေကတော့

  • Jailbreak
  • Installous

How to install Installous ?
(copy from http://atomicdevelopment.net/blog2/2009/10/22/ipod-touch-3-1-2-firmware-jailbreak-guide-burmese/)

၁. အင်တာနက်ချိတ်ပြီး Cydia ကို ဖွင့်ပါ။
၂. Manage > Sources > Edit > Add ကို သွားလိုက်ပြီး “http://cydia.hackulo.us” လို့ ထည့်လိုက်ပါ။
၃. ပြီးရင် search ကိုသွားပြီး installous လို့ ရိုက်ထည့်ပြီး installous ကိုရှာ။ ပြီးရင် install လုပ်လိုက်ပါ။
၄. Springboard ပေါ်မှာ installous ကို တွေ့ပါလိမ့်မယ်။

Download IPA Here (1.8MB)

အဲဒါကို SFTP နဲ့ \private\var\mobile\Library\Downloads\ မှာ တင်လိုက်ပါ။ Installous ကို ဝင်ပြီး Download ကနေ install လုပ်လိုက်ရင်ရပါပြီ။ ပြီးရင် Spring Board မှာ WeDictPro ဆိုတာ ပေါ်လာပါလိမ့်မယ်။ တကယ်လို့ ပေါ်လာရင် restart ချလိုက်ပါ။ ပြန်တက်လာရင် ပေါ်လာတာကို တွေ့ရပါမယ်။

Ornagai Tree

Ornagai ကို ပြန်လုပ်ပါအုံးမယ်ဗျာ။ အခုတလော Zawgyi Keyboard ကို အာရုံစိုက်လိုက်တာ ornagai လည်း ဆက်မရေးဖြစ်ဘူး။ jquery လည်း ဆက်မသင်ဖြစ်ဘူးဖြစ်သွားတယ်။ အရင်ဆုံး ornagai v2 ကိုပြီးအောင် ရေးမယ်။ အောက်မှာ ကျွန်တော်တို့ornagai ရဲ့ tree structure လေးပါ။ ဘာတွေ ဆက်လုပ်သွားမယ်။ Ornagai V2 မှာ ဘာတွေ ရလာမယ်ဆိုတာပါ ထည့်သွင်းထားပါတယ်။

ornagai-tree

Ornagi V2 Release now

Seth ရဲ့ email လေးကိုပဲ ဖော်ပြပေးလိုက်ပါတယ်။

Hello everyone,
The 2.0 release of ornagai-mobile is ready. You can downloaded it here:

http://code.google.com/p/ornagai-mobile/downloads/list

Main features of this release include:

1) Look up compound words easily: searching for “cabin” will return “cabin crew” and “log cabin”, even though they are far apart in the dictionary.

2) Works on most phones: we did a LOT of work to make the dictionary as tiny as possible; it should work if your phone has 4MB of memory (possibly less).

3) Ability to load custom dictionaries: This feature is experimental, but all tested dictionaries have worked so far. Load your own word list, using our converter program to shrink your TSV file so that it fits on your phone.

All downloads are ZIP files containing the JAR and JAD (and certificate, if required) to install and run the program. We have all worked to test this and confirm that it is working on most emulators, and several real devices. There are minor issues with some phones, but nothing that should cause it to crash. (HTC phones, for example, don’t
show anti-aliased Burmese text. But you can still read the definition;
just that the quality’s less).

The 2.0 release was mostly programmed by myself. I would like future releases to be centered around many developers. Ma Khaing Su Hlaing has compiled the source and done a very good job testing it. I have added her to the Google Code project with “Commit” status. If anyone else is interested in helping, please let me know. Also, please ask if you have any questions about how the source code works. Some of it is very messy.

Take care,
Seth

Thank Seth. It’s woking in my nokia N81 :)

Ornagai Dict with Jquery

Today, I am making ornagai dictionary with jquery. I was thinking about at 7:00 at English Tuition. At 12:00 pm, I was staring the code for that. It was complete in a half hour. However, it’s using 20 KB JSON file. So, I thought it, “Can I do complete dictionary in one JSON file ? ” I export the JSON from mysql database. It had 4 MB. And then run in my code. Oop!!! My firefox had been hung. I restart my firefox and changing my code. I will show just 9 results and try again it. It was ok but too long to wait. So, I decided to make index the JSON. I made a.json to z.json and then search again. Amazing… I said “Awesome!!!” It’s so fast and unbelievable searching. I love jquery and JSON. I finished that project just in 2 hours. You can download JqueryDict in there. I am thinking about Myanmar to the English dictionary with JqueryDict but it should make many indexs for ka to arh. So, I will do when I have a free time.

Cheer!!!