Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

shinovon/JTube

Repository files navigation

JTube

Youtube client based on Invidious API for Java devices with MIDP 2.0 support

FAQ

JTube Lite:
https://github.com/shinovon/JTubeLite (No longer supported)

Running JTube from other MIDlets

MIDletIntegration library

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 image

Click on "Create package" image

Check the "Use deployment directory"

To use "Obfuscate the code" option you must set up proguard in preferences first

Then press "Finish"

image

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