Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for KaiOS #7

Open
danimesq opened this issue Dec 5, 2019 · 11 comments
Open

Support for KaiOS #7

danimesq opened this issue Dec 5, 2019 · 11 comments

Comments

@danimesq
Copy link

danimesq commented Dec 5, 2019

Detect KaiOS and adapt current elements.

Only load (require.js) virtual numpad if not KaiOS.

Convert buttons at KaiOS.

@szatkus
Copy link
Owner

szatkus commented Dec 7, 2019

I can try to submit the application. After skimming the documentation looks like not much has changed since Firefox OS regarding application packaging.

@szatkus
Copy link
Owner

szatkus commented Feb 23, 2020

I managed to run it on the simulator, but an API for listing files is broken there. I don't have a phone with KaiOS, so I can't test it properly, but for now it seems that I should remove the virtual numpad as KaiOS devices have physical keys.

@danimesq
Copy link
Author

Why removing it? There can be new, touch devices based on it. You can simply create a mode to switch it according to the device.

@szatkus
Copy link
Owner

szatkus commented Feb 23, 2020

Looks like every KaiOS device have a numpad. It can be reverted easily when they introduce some with a touchscreen. One way or another I need to rework the UI for KaiOS.

@danimesq
Copy link
Author

Looks like every KaiOS device have a numpad. It can be reverted easily when they introduce some with a touchscreen. One way or another I need to rework the UI for KaiOS.

I don't think KaiOS will support touch devices. Probably a fork which takes the original idea from FirefoxOS.

@Qiangong2
Copy link

@szatkus Maybe this would help? https://gitlab.com/suborg/project-kava

It looks like it was actually based on your code. Maybe use parts from that for the KaiOS build? I'd love to see J2ME apps running on my KaiOS phone

@szatkus
Copy link
Owner

szatkus commented Apr 1, 2020

Thanks. That's a weird project. Looks like it is based on an old experimental branch, which was never fully functional. I wonder how well it worked.

@Qiangong2
Copy link

Thanks. That's a weird project. Looks like it is based on an old experimental branch, which was never fully functional. I wonder how well it worked.

It barely works at all. Most games and every app I tried are non-functional

@szatkus
Copy link
Owner

szatkus commented Sep 4, 2021

I don't have a KaiOS device and the simulator looks to be broken in so many places.

@danimesq
Copy link
Author

danimesq commented Mar 26, 2022

from #13 (comment):

I already tried, but the simulator for KaiOS doesn't work well (especially for this app as it does some uncommon stuff) and I simply don't have means to test it.

I managed to run it on the simulator, but an API for listing files is broken there.

I don't have a KaiOS device and the simulator looks to be broken in so many places.

Yes. I've tested some apps in the KaiOS 2.5 simulator and some file storage APIs seems to be broken unlike in a real device.

I don't have a phone with KaiOS, so I can't test it properly

@szatkus, I have an Nokia KaiOS phone (offtopic: also an Alcatel Fire - Firefox OS) for testing, if it would be appreciated.

Other than that, the project is open and I accept PRs.

Am also open to make PRs introducing Electron, Cordova and KaiOS support.

Looks like every KaiOS device have a numpad. It can be reverted easily when they introduce some with a touchscreen.

Why reverting if js2me can be multi-platform?

but for now it seems that I should remove the virtual numpad as KaiOS devices have physical keys.

Why removing if these elements can simply get a "display:none" when detecting KaiOS?
So this app will support KaiOS while still working at Firefox OS, Cordova, Electron and Web.
Another sane approach is to use require.js to only load the virtual numpad when its not KaiOS (so KaiOS won't have to process it so things will be lighter on it).

@danimesq danimesq changed the title Port for KaiOS Support for KaiOS Mar 26, 2022
@danimesq
Copy link
Author

danimesq commented Mar 28, 2022

Progress

@szatkus, I was able to implement the base of the KaiOS adaption; but it seems like require.js isn't working.

Here it works normally on KaiOS, but in my JS2ME fork its not working.

Update: Have made a WIP draft PR here: #17; now require.js works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants