Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
hey all am working on mobile application contain 1 form and 14 user control and sql data base compact edition this size of database is 200 kb . when i made the cab file to install the project in my mob the size of cab is 1.2 mega .. but when i try to run the project from the mobile menu it's take almost 1 min to start !!!!!!!!!!!!!!!!!!!!!!!
why this all time
i suugest the method to make the cab file is wrong ? but any idea?
and thx :)
Posted

1 solution

Try to create another application (we'll call this APP2) with no DB and create your deployment package the same way you are doing for the one you're working on now (which we'll call APP1).

Deploy both apps to the device in question.

Start APP2, time it and close it. Start it again and see if the second start time is faster.

Reboot your device.

Start APP1, time it and close it. See if there's an improvement on the second load.

Here's what you can determine:
1) If both apps are slow and don't speed up on second run, the device can't keep up with whatever libraries are loading.
2) If both apps perform better the second time it may be because the first run is slower.

You may be able to go through your references and make sure that any binaries that aren't needed are removed.

Also, make sure you're not distributing a package with debug settings.

Cheers,
-jc
 
Share this answer
 
Comments
Ashraf ELHakim 11-Jun-10 2:53am    
special thx for ur quick replay:)
after many times for run the program it be quickly to run :)
but i dny now why but okay now am satasified by 60 % :)
thx again

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900