JTube
November 19, 2024 ยท View on GitHub
Discontinued!
Youtube client based on Invidious API for Java devices with MIDP 2.0 support
Running JTube from other MIDlets
Example code:
try {
if(MIDletIntegration.startApp(this, "JTube", "nnproject", "0xAFCE0816", 1260, "url=" + Util.encodeURL("https://youtube.com/watch?v=somevideo"))) {
notifyDestroyed();
}
} catch (MIDletNotFoundException e) {
e.printStackTrace();
} catch (ProtocolNotSupportedException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
Building
You will need:
Any J2ME SDK (e. g WTK, S40 5th, etc)
Symbian^3 JAR libraries
JDK 1.5.0
Last version of Eclipse SDK
MTJ plugin 2.0.1
Clone the repository
Import project from directory in Eclipse SDK
Open "Application Descriptor" in Package Explorer

Click on "Create package"

Check the "Use deployment directory"
To use "Obfuscate the code" option you must set up proguard in preferences first
Then press "Finish"

Builded JAR & JAD files will appear at <project path>/deployed/S40_5th_Edition_SDK/