Rabu, 03 Maret 2010

CREATING MULTI APPS or MERGING TWO APPLICATIONS INTO ONE MOBILE APPLICATIONS




Multi app means two or more apps in one midlet. 
Ok we shall start with an example-
Take two simple java applications- PaintCAD and Photo snap mobile.
If you dont have just download them by googling.

Right click paintcad.jar and etract to a new folder.
Open the manifest folder fronm the extracted items.
Open the Manifest.MF file with note pad.
You will see something like this MIDlet-1: PaintCAD, /iconka.png, paintcad
Just copy this and paste it another notepad and change it to MIDlet-2: PaintCAD, /iconka.png, paintcad
 Let it be there.
Now copy all the files from the extracted folder except the Manifest folder.
Right click on photo snap.jar and open with winrar(DO NOT EXTRACT)
Press control+v to paste.
Then use notepad and open the manifest file of photo snap. 
There you will see something like this
Midlet-1:-------------------
Midlet vendor:------------
 Between these two add this MIDlet-2: PaintCAD, /iconka.png, paintcad which we have taken from the manifest file of Paint Cad
Save it.
Close Winrar

Thats all .
You have created two photo editing apps in a single application.
Now tranfer the file to your mobile and install it and see the magic.

I have combined smslife and 160by2 as a single app

You can combine any number of applications but make sure that the two applications does not have same name for class files.

Tidak ada komentar:

Posting Komentar