tags:

views:

43

answers:

2

Hi, Iam building a system with includes couple of applications, I would like to know if there is a way to design a "main" application which will include inside several applications, so in this case i could also share same proccess

thanks,

ray.

A: 

Sounds like multi-threading to me.

duffymo
Could you show me some example?thanks.
rayman
A: 

There are two ways to do it.

1) Application with a couple of activities. In android an Activity is basically a screen.

2) Create different applications and then from the main one launch an intent. Here you have a tutorial of how to do it.

Macarse
Multi activity? , what is that? could you be more exact please?
rayman
@rayman: I just edited my answer with a better explanation.
Macarse
if we go into option number 2: the problem is that it will open me also new proccess, and i want it all to be in the same proccess.
rayman
@rayman: why do you want that?
Macarse
coz i want to run a local service, if ill use diffrent proccess then local service wont work, right?
rayman
@rayman: It will work. Read about Intents.
Macarse
i was trying to look for it, couldnt find the part where it says diffrent
rayman