Slide # 1

1

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 2

2

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 3

3

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 4

4

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 5

5

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Wednesday, 9 July 2014

Adding Landscape to Facebook App



How To Add Landscape to facebook's Java MIDlet Manually 

Author:
Mvikrant97 

Note: This method will work with facebook app only. You may try it with other apps too.

About Landscape:
You can open facebook's java MIDlet in Landscape mode.

Tools:
1. Blueftp,Mini Commander etc.
2. Bytecode editor
Procedures:

1. Download the attached file.
2. Using Mini commander extract your fb java MIDlet to a folder.
3. Using Bytecode editor goto the folder where you have extracted your MIDlet and serach for this code:
Code:
(i). javax/microedition/lcdui/Canvas. 

Few .class files will pop up.Then open them one by one>constant pool>press 7>Replace:
Code:

1. javax/microedition/lcdui/Canvas with:
Code:
1. javay/microedition/lcdui/Chensj then press OK. Do the same with the rest of .Class files that poped up after searching.
And also change:
Code:
1. keyPressed to
Code:
1. keyPRESSED
Code:
1. keyReleased to
Code:
1. keyRELEASED
Code:
1. keyRepeated to
Code:
1. keyREPEATED
Code:
1 .paint to
Code:
1. PAINT 

After that Extract javay folder from the attached file to the folder where you have extracted your MIDlet.

6. Then pack all files using Mini commander and install your modified MIDlet.

0 comments:

Post a Comment