Youtube client based on Invidious API for Java devices with MIDP 2.0 support
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();
}
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
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/