how can increase my application speed(Pocket pc) what should i check to do also if there`s an application to my pocket pc so fast
windows ce
how can increase my application speed(Pocket pc) what should i check to do also if there`s an application to my pocket pc so fast
windows ce
optimize ur code
لا تحزن:
إن كنت فقيرا فغيرك محبوس في دين، وإن كنت لا تملك وسيلة نقل فسواك مبتور القدمين، وان كنت تشكوا من آلام فغيرك يرقدون على الاسرة البيضاء و من سنوات، وان فقدت ولدا فغيرك فقد عددا من الأولاد و في حادث واحد.
لا تحزن:
فأنت تشرب الماء الزلال، و تستنشق الهواء الطلق، و تمشي على قدميك معافى، و تنام ليلك آمنا.
This is some General pieces of advice when you are targeting a limited resources device
1- Take care that the device has a limited memory (RAM) so don't declare large unused arrays or any unused objects
2- try to avoid nesting loops as much as you can because the device Microprocessor is very low in frequency about 150 Mhz in average
3- If you are forced to make loops try to optimize it by putting all independent code blocks out of the loop (The blocks that don't affect directly or indirectly by the loop counter)
4- if you have images in your application try to resize them as smaller as you can because large resolution images will have the same shape as small ones because of the small device screen but will have a very bad effect in performance everytime you load them.
4- Also if you are using sound files the advice of the bitrates is as same as the resolution for images, no need for big files with high bitrates which will have no considerable effect with the limited sound device in the pda
5- try to get benifit of the System APIs as much as you can because it saves more time and it is more optimized that you can imagine specially when you are using very high level language like VB.net the APIs usually is written in C++ so it is more effecient to call it to get benifit of its speed
6- Try to use the most effecient algorithms you can find to solve your problems specially in search, sorting, hashing, ...etc
That's enough for now
تم تعديل هذه المشاركة بواسطة bashmohandes في 2 يونيو 2005 في 22:31
Sr. Software Development Engineer
Hulu, LLC
My Blogs
Extending the guys replys (and I don't know why it goes in english :D ), there is a good utility that comes with the .Net Framework, this utility is called "Ngen.exe" or Native Image Generator, with this utility you can convert the .Net assembly (MSIL (Microsoft Intermediate Language) assembly) into native code directly, without the need of compiling from MSIL to Native Code each time the application runs , which will cause a better performance to your application
:See how to use Ngen.exe
رأس الحكمة الإيمان بالله
we are using arabic control do you think this is one of making my application slow,and should i use dataset or datareader
بالنسبة لإستخدام Dataset or DataReader راجع هذه الموضوع وفيه بعض الفروقات بينهم
ماهو الفرق بين DataSet و DataReader
ولا أعتقد أن البطئ ناتج عن إستخدام اللغة العربية، أم أنك تقصد هناك مكونات عربية تستخدمها؟ إن لم تكن مصممة بطريقة صحيحة قد يكون البطئ منها
لا تحزن:
إن كنت فقيرا فغيرك محبوس في دين، وإن كنت لا تملك وسيلة نقل فسواك مبتور القدمين، وان كنت تشكوا من آلام فغيرك يرقدون على الاسرة البيضاء و من سنوات، وان فقدت ولدا فغيرك فقد عددا من الأولاد و في حادث واحد.
لا تحزن:
فأنت تشرب الماء الزلال، و تستنشق الهواء الطلق، و تمشي على قدميك معافى، و تنام ليلك آمنا.
في pocket pc لا يدعم العربي إلا بالحصول على DDL عربي
do you know any application make the processor speed fast for pocket pc intermec 700c
هذا الموضوع مغلق.