freej2me icon indicating copy to clipboard operation
freej2me copied to clipboard

added opening URLs in system browser

Open vipaoL opened this issue 2 years ago • 9 comments

Resolves #162

vipaoL avatar Sep 19 '22 18:09 vipaoL

@vipaoL Welcome to the project! It's always good to see new contributors. A couple things:

  • Do you know of a game or jar that makes use of this feature? I'd like to be able to try it out in a few different contexts. You don't need to upload it (and you probably shouldn't ) as I can usually find those myself if I don't already have it.
  • I don't mind fixing the formatting to conform to our style but some people don't like when their contribution gets modified shortly after being accepted, so I like to give contributors a chance to do that themselves if they want. We use a modified Allman style.

@hex007 I'd like some additional opinions on this one. There is a security concern here, but it's minimal. I don't think any network stuff is functional now, which is why I haven't worried about it. Maybe an option to enable those features?

recompileorg avatar Sep 19 '22 21:09 recompileorg

You can test this feature on this https://github.com/vipaoL/mobap-game/releases , there is a link to my github in "About".

I don't mind if you format the code in the style of the project, it will probably be better if the whole project is in the same style

vipaoL avatar Sep 20 '22 03:09 vipaoL

JTube also uses it to open videos, but then we need the network working and also jsr75. I got the network working just copying related classes from microemu sources. Can i upload them later or is this not in line with the project principles? Jsr75 from microemu can be used for test, but i can't find sources of it

vipaoL avatar Sep 20 '22 03:09 vipaoL

Can i upload them later or is this not in line with the project principles?

I'd prefer original code, even when the licenses are the same. The one nice thing about a project like this is that everything is very well documented. There isn't any reason not to make these things ourselves. It's tedious, but oddly rewarding. We're not the only J2ME project, and while we could borrow from one another, and we sometimes do, I think it's good to have a lot of diversity in projects like this.

I believe I have a lot of that stuff stubbed out already, so it should just be a matter of pulling up the javadocs and filling in what you need.

It's funny, I started this project because I got frustrated working on microemulator due to the convoluted things they liked to do. I've tried to keep this project as simple and straight-forward as can be managed. Things should happen in the obvious place for them to happen or it should be easy to find the thing you want to check or change. Anyhow, this project exists because I was trying to avoid dealing with code from microemualtor!

recompileorg avatar Sep 20 '22 04:09 recompileorg

Jsr75 from microemu can be used for test, but i can't find sources of it

Some years ago I tried to resurrect microemulator. That's why this project exists. You're welcome to the mess: https://drichardson-shared.s3.amazonaws.com/microemu_src_ant_2017-7-10.zip It originally used an old version of Apache Maven which was a real pain. I got rid of that in favor of the much simpler ant, so you can build it the same way you build FreeJ2ME now. Hopefully, it has what you want.

JTube was pretty interesting. I had no idea there was a scene like that!

I've downloaded mobap-game I'll try to get to this soon.

recompileorg avatar Sep 20 '22 05:09 recompileorg

How about an opt in for supporting network? I dont know how performant that would end up to be.

Security should be fine as the servers working with these apps would anyways not be functional nor would any chance of malware. It is security by obsolescence :smile:

Will adding a networking layer be that useful? In terms of effort to benifit only. If so I don't think there is any issues with adding networking.

I am personally interested in Bluetooth support over internet

hex007 avatar Sep 20 '22 15:09 hex007

@hex007 I really want network support, but not for games. I am working on something like 'j2me subsystem' for linux phones. There are some useful j2me apps even nowadays. I think, the biggest problems on this way now are: network, pointerDragged() (for scrolling), text input and jsr-75

vipaoL avatar Sep 20 '22 17:09 vipaoL

@hex007 I really want network support, but not for games. I am working on something like 'j2me subsystem' for linux phones. There are some useful j2me apps even nowadays. I think, the biggest problems on this way now are: network, pointerDragged() (for scrolling), text input and jsr-75

I'll add javax.microedition.lcdui to that, which needs quite a bit of work. My focus was on games, so much of what's done there is minimal and a bit hackish. I always intended to clean up the mess that is configuration once that was done. Not many games make use of those things, but I'll bet that many older applications do.

I think someone was working on pointerDragged not long ago. I'll see if I can find out what happened.

recompileorg avatar Sep 20 '22 21:09 recompileorg

I'll add javax.microedition.lcdui to that, which needs quite a bit of work. My focus was on games, so much of what's done there is minimal and a bit hackish. I always intended to clean up the mess that is configuration once that was done. Not many games make use of those things, but I'll bet that many older applications do.

I think someone was working on pointerDragged not long ago. I'll see if I can find out what happened.

I think that would be one of my pull requests, PR #157 to be more precise, which is linked to issues #156 and #158. Been a while since i had the time to check on this repo so i didn't even see if the status of that PR or my other ones changed, but i'll be available to make some adjustments in a few days. If there's anything that needs to be done on that PR, just leave a message there and i'll check soon!

AShiningRay avatar Oct 07 '22 01:10 AShiningRay