iOS project မှာ plist database ကို သုံးထားပေမယ့် android အတွက် လုပ်မယ်ဆိုတော့ plist file ဖတ်လို့ မရတော့ဘူး။ ဒါနဲ့ json ကို ပြောင်းပြီး ဖတ်မယ်လုပ်တော့ plist to json ကို ရှာရတာပဲ။ လက်ရှိ javascript နဲ့ ရေးထားတာတွေရှိပေမယ့် စမ်းကြည့်တော့ သိပ်အဆင်မပြေလှဘူး။ file size ကြီးတာတွေ မပြောင်းနိုင်ဘူး။ လက်ရှိ database ကို plist နဲ့ ပဲ သိမ်းထားတော့ read ရတာတွေ အရမ်းအဆင်ပြေတယ်။ Android မှာလည်း json သာ ပြောင်းလိုက်ရင် read တာတွေ က အဆင်ပြေသွားလိမ့်မယ်ဆိုပြီး json ပြောင်းဖို့ ရှာရင်း python နဲ့ ရေးထားတာသွားတွေ့တယ်။ ကိုယ့်ဘာသာ file read နဲ့ file write ပေါင်းရေးထားတော့ အဆင်ပြေသွားတယ်။

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Saturngod

Subscribe now to keep reading and get access to the full archive.

Continue reading