Re: Mobile Development for WM 5 with one main exe controlling mult



Hi Chris,

Thanks again for your valuable feedback. Yes, this is what I've discussed
with my team mate too. However, whatever we have been discussing is not being
well accepted due to the fact that we are not the professionals. Only when I
show your answers to my superior then he was convinced that what you said is
right, because you carry a title of MVP which make him feel that what you say
is more reliable.

I would say a big thank you to you too! You made me learn quite a lot. Yes,
I'm trying to convince them with what you said about the load strategy,
however they told me that it should not be the problem of load strategy as
everything is loaded from the SqlCE database, which means the fetching of
data are all done locally. Only when we try to synchronize the data with the
server then the loading would be slower.

But I told them, it could be due to the fact that all the loading are done
locally within the device and then most of the forms load quite a number of
information during form load, thus slowing down the loading speed of the
application. I don't really know what's the alternative available for them.
Therefore, they told me what I'm telling them is not logical.

Well, I was thinking to plan for the data fetching from the server instead
of locally and make sure it is only carried out after the form is loaded.
Would that make the loading of form faster? I'm not sure, need your valuable
advices and suggestions.

Thanks.

Regards,
Jenson
--
:: Vision is Power ::


"<ctacke/>" wrote:

So the problem is load speed, not that you need multiple EXEs. Creating
multiple EXEs will be a bigger problem than you have now. The same amount
of work at startup will have to happen, just in several different
applications, and my bet is it will take even longer. App size has nothing
to do with load time.

You need to improve your load strategy. Load only what is absolutely
necessary for the user's first interaction/view. Use background threads
where possible.

I can guarantee that splitting this into multiple EXEs will make development
and debugging a longer process, cost you a lot more and push schedule out.
It is a bad idea.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Jenson" <Jenson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BFEB4444-9E56-4913-A19A-20CC43A3A3C8@xxxxxxxxxxxxxxxx
Hi Chris,

Yeah it's a pain to do that. But I have no choice. I know it's a bit silly
but I was asked to test out the possibilities of splitting them in order
to
make the app size smaller, as in, all the app would be in a smaller size
compare to the original single EXE. I really hate to do that, I know the
file
size would be smaller and take up less memory when launch. But I don't
think
that this would speed up the loading time.

I was asked to do this because the current app is about 1.21MB after
deployed to the Treo 750v and it's loading quite slow. This become the
concerns whether I'm able to speed up the loading time of of the
application.
For the current one, it seems to me that it tends to be slower when more
modules are added in. Currently the main menu take about 11 seconds to
load
up one of the 4 main forms in the application. There are some fetching of
data when form is being loaded.

Regards,
Jenson

--
:: Vision is Power ::


"<ctacke/>" wrote:

Why does it need to be split into multiple EXEs? While IPC is doable,
it's
a pain, and I think if you can explain why that needs to happen we might
be
able to help a little more.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Jenson" <Jenson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9C320A48-EBBB-4A83-9507-E122D8137191@xxxxxxxxxxxxxxxx
First of all, I would like to say Hello to all the experts here. I'm
quite
new in this .net compact framework 2.0 as well as the development of
mobile
application. Recently I'm working on a project which in the end require
me
to
split the whole program from one exe to multiple.

This means that from one single mobile application I had developed. I
need
to split all the main functions into separated application. I will need
to
create a main menu which require user to login and then choose which
function
they would like to use, and then the main mobile app will load the
respective
mobile app and with the main app kept open and hiding behind the loaded
app.

FYI, all the separate app is a form by itself currently. Login one
form,
menu page one form, four other forms for each function.

Anyone know how to achieve what I want? Or maybe just tell me how to
load
another exe (means calling out another exe from a main mobile app exe)?

Any help would be highly appreciated and really urgent.

Thanks a million to all the kind souls.

Regards,
Jenson






.