Reputation: 4550
I have some project named MyApplication
and demo version called DemoOfMyApplication
. I have a lot of classes that must be in both projects, so I want MyApplication
and DemoOfMyApplication
be in the same project. For first one I can call Main1
class and for second one Main2
. So I'll have two applications in one.
The main thing I want is to have different icons in my device's menu for MyProject
and DemoOfMyProject
.I understand that these two versions must have different Application packages. SO Can I change them from code? Or is there any way for doing what I want?
Thanks
Upvotes: 0
Views: 631
Reputation: 69329
Refactor the commonly needed code into a library project and reference that from both MyApplication
and DemoOfMyApplication
?
Then you can have two separate applications, with different package names. It doesn't sound like a great idea to try and cram both applications into one.
Upvotes: 1