Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shinovon/JTube

Youtube client based on Invidious API for Java devices with MIDP 2.0 support
https://github.com/shinovon/JTube

invidious j2me youtube

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://user-images.githubusercontent.com/43963888/154848600-b6f30e9c-a412-4771-80bf-527afe11076e.png)

Click on "Create package"
![image](https://user-images.githubusercontent.com/43963888/154848614-72752480-b988-40cd-a3c6-9cad1e02d77c.png)

Check the "Use deployment directory"

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

Then press "Finish"

![image](https://user-images.githubusercontent.com/43963888/154848648-2f054800-b72e-49e6-8b6c-7e3cb6d3c216.png)

Builded JAR & JAD files will appear at \/deployed/S40_5th_Edition_SDK/