SUB-ZERO RULEZ
How to Build BookMark.Jar
1. Yourdomain.Class
2. a.class
3. b.class
Now make a folder called like this META-INF
Now place this in
MANIFEST.MF
Now add this
Now get your logo Must be 256 color and size of width 100 and hight of 40 it has to be png file !!
Now add this to bookmark folder not in MANIFEST folder ok
Now make a icon.png file
size 50 / 50
So any screen can view it.
Now make this file happy is zip it and change .zip to jar
To save class files Please use
Download Cavaj Java Decompiler (free)
-----
If you can't get this right this means you doing something wrong.
I made 14 of boolmarks and shown the code what inside.
There no other way to know try and try and try again.
Fail means your still learning fail again means you will beat it fail again never give up then boom bookmark is made.
i post the script here how to make it no other server lets you...
How to Build BookMark.Jar
1. Yourdomain.Class
Code:
import javax.microedition.lcdui.Display; import javax.microedition.midlet.MIDlet; import javax.microedition.midlet.MIDletStateChangeException; public class Chat4u extends MIDlet { private Display a; private b b; private a c; private String d; public Chat4u() { d = "http://chat4u.mobi/"; d = d.trim(); a = Display.getDisplay(this); Chat4u chat4u; (chat4u = this).b = new b(); c = new a(this); } public void startApp() { a.setCurrent(b); c.start(); } public void pauseApp() { } public void destroyApp(boolean flag) { a = null; b = null; c = null; d = null; } static String a(Chat4u chat4u) { return chat4u.d; } }
Code:
import java.io.PrintStream; import javax.microedition.io.ConnectionNotFoundException; public final class a extends Thread { private Thread a; private final Chat4u b; public a(Chat4u chat4u) { b = chat4u; } public final void run() { a = Thread.currentThread(); try { Thread.sleep(2000L); b.platformRequest(Chat4u.a(b)); } catch(InterruptedException interruptedexception) { System.out.println("Exception: \n" + interruptedexception.getMessage()); } catch(ConnectionNotFoundException connectionnotfoundexception) { System.out.println(connectionnotfoundexception.getMessage()); } b.destroyApp(true); b.notifyDestroyed(); } }
3. b.class
Code:
import java.io.PrintStream; import javax.microedition.lcdui.*; public final class b extends Canvas { private int a; private int b; private Image c; public b() { a = getWidth(); b = getHeight(); setFullScreenMode(true); try { c = Image.createImage("/logo.png"); return; } // Misplaced declaration of an exception variable catch(b this) { System.out.println("Unable to load image: " + getMessage()); } } public final void paint(Graphics g) { g.setColor(255, 255, 255); g.fillRect(0, 0, a, b); g.setColor(0, 0, 0); if(a == 0 || b == 0) { g.drawImage(c, 0, 0, 20); return; } else { g.drawImage(c, a / 2, b / 2, 3); return; } } }
Now place this in
MANIFEST.MF
Now add this
Code:
Manifest-Version: 1.0 MIDlet-Vendor: Chat4u.mobi MIDlet-Version: 1.0 MIDlet-1: chat4u, ico.png, Chat4u MicroEdition-Configuration: CLDC-1.0 Created-By: 1.6.0_06 (Sun Microsystems Inc.) MIDlet-Name: Chat4u MicroEdition-Profile: MIDP-2.0
Now add this to bookmark folder not in MANIFEST folder ok
Now make a icon.png file
size 50 / 50
So any screen can view it.
Now make this file happy is zip it and change .zip to jar
To save class files Please use
Download Cavaj Java Decompiler (free)
-----
If you can't get this right this means you doing something wrong.
I made 14 of boolmarks and shown the code what inside.
There no other way to know try and try and try again.
Fail means your still learning fail again means you will beat it fail again never give up then boom bookmark is made.
i post the script here how to make it no other server lets you...
Comment