maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   MicroEmulator (https://talk.maemo.org/showthread.php?t=52341)

Wonko 2010-05-10 19:21

MicroEmulator
 
Quote:

Originally Posted by HtheB (Post 651933)
Btw, maybe we should start a new thread for the Microemulator :)

Hehe .. think so too ;)
It would be not so nice to simply "hijack" the "Screenshot of Opera Mini on N900" thread: http://talk.maemo.org/showthread.php?t=52062

Quote:

Originally Posted by barteo (Post 651636)
I'd like to improve experience of MicroEmulator a bit. For the start I identified the following tasks:
1. start MicroEmulator with the full screen size by default
2. remove status bar with "Resize" button
3. implement menu bar natively (activate menu by pressing the title bar)

Anyone knows how to access the title bar menu system from Java?

Well, you can try to go with SWT.
I made a port of SWT to the hildon UI and put the result named libswt-hildon into extras-testing.
Also see the following thread for more info about the SWT hildon port: http://talk.maemo.org/showthread.php?t=40778

raetzer 2010-05-10 19:44

Re: MicroEmulator
 
is it possible to use jdownloader with that?

barteo 2010-05-11 06:47

Re: MicroEmulator
 
Quote:

Originally Posted by Wonko (Post 652237)
Well, you can try to go with SWT.
I made a port of SWT to the hildon UI and put the result named libswt-hildon into extras-testing.
Also see the following thread for more info about the SWT hildon port: http://talk.maemo.org/showthread.php?t=40778

In the past MicroEmulator had SWT UI target. First Maemo port of Java ME in 2006 was created with the SWT library: http://www.microemu.org/maemo. For a two years it is no longer maintained though. It would be possible to restart SWT project with the reasonable effort, I think. We just need more people to participate in that task.

Wonko 2010-05-13 09:55

Re: MicroEmulator
 
Quote:

Originally Posted by barteo (Post 652796)
In the past MicroEmulator had SWT UI target. First Maemo port of Java ME in 2006 was created with the SWT library: http://www.microemu.org/maemo. For a two years it is no longer maintained though. It would be possible to restart SWT project with the reasonable effort, I think. We just need more people to participate in that task.

I see, though I only had a short look at the code.
So the SWT UI target provides native SWT controls for J2ME applications (i.e. not only native controls for the MicroEmulator itself but also for the J2ME applications run inside the emulator), right?
This could be an interesting project. :)

Unfortunately I am really short of time at the moment.
Though, I'll try to keep up to date with what's happening here.

What do you think would be more practical
- to adapt the old code,
- or to start over from scratch?

Of course it would be a good idea to take the old code as some starting point. It's just I don't know how much has changed during the past two years and how well the old SWT UI code integrates into the current MicroEmulator version, if at all.

Wonko 2010-05-13 10:01

Re: MicroEmulator
 
Quote:

Originally Posted by raetzer (Post 652275)
is it possible to use jdownloader with that?

Isn't jdownloader a "normal" (i.e. J2SE) Java application?
If so you might want to install icedtea6 which is available in extras-testing and try if it works.

F2thaK 2010-05-19 07:53

Re: MicroEmulator
 
how do we use this app thanks, i want to run java app on my n900

HtheB 2010-05-19 08:40

Re: MicroEmulator
 
Quote:

Originally Posted by f2thak (Post 665579)
how do we use this app thanks, i want to run java app on my n900

Just download icetead6 and micro emulator.
Then put the JAR files that you want to open anywhere you like in your phone. (I suggest that you will make a new folder called Java)
Start MicroEmulator, choose the Jar file and you're ready to go :)

barteo 2010-05-19 10:30

Re: MicroEmulator
 
Quote:

Originally Posted by Wonko (Post 656592)
I see, though I only had a short look at the code.
So the SWT UI target provides native SWT controls for J2ME applications (i.e. not only native controls for the MicroEmulator itself but also for the J2ME applications run inside the emulator), right?
This could be an interesting project. :)

Current SWT UI target didn't provide native controls translation from MIDP to SWT. All the MIDP controls are rendered inside the Canvas.

Quote:

Originally Posted by Wonko (Post 656592)
What do you think would be more practical
- to adapt the old code,
- or to start over from scratch?

Of course it would be a good idea to take the old code as some starting point. It's just I don't know how much has changed during the past two years and how well the old SWT UI code integrates into the current MicroEmulator version, if at all.

I think better option would be start from scratch, but reuse the existing Android device layer as a starting point which is well written and actively maintained. I'm sure a lot of existing SWT UI target code can be reused too (like a javax.microedition.Graphics implementation). Additional benefit of using this strategy is that Android porting framework supports native translation of MIDP controls to the native target UI library components.

F2thaK 2010-05-19 12:28

Re: MicroEmulator
 
so this wont run *.sis java files??

clasificado 2010-05-19 12:53

Re: MicroEmulator
 
Quote:

Originally Posted by f2thak (Post 665955)
so this wont run *.sis java files??

AFAIK, .sis are symbian binaries, not java

zabishah20 2010-06-02 19:42

Re: MicroEmulator
 
dear all.
i install micro emulator in my nokia N900 and running mig33 application.
can u guyz plz tell me how to change in portrait mode and resize the best display?
thx

Wonko 2010-06-05 08:53

Re: MicroEmulator
 
Well, this is quite a late response, but unfortunately I am very busy these days.

Quote:

Originally Posted by barteo (Post 665805)
Current SWT UI target didn't provide native controls translation from MIDP to SWT. All the MIDP controls are rendered inside the Canvas.

I think better option would be start from scratch, but reuse the existing Android device layer as a starting point which is well written and actively maintained.
...

I see, thanks for the clarification, only had a really short glance at it.

So we then basically start in a clean repository and start to put things together based on the Android UI code base?
Be warned, I have no experience with the Android UI yet. ;)

barteo 2010-06-07 07:19

Re: MicroEmulator
 
Quote:

Originally Posted by Wonko (Post 700782)
So we then basically start in a clean repository and start to put things together based on the Android UI code base?
Be warned, I have no experience with the Android UI yet. ;)

Existing microemu-javase-swt module is a good place for the SWT UI development. First this module content should be cleared and the next step would be to copy all the files from microemu-android module. The real work will start from that point :)

Crogge 2010-06-08 04:16

Re: MicroEmulator
 
How is the status of microemulator? Is it stable working yet? I really miss Java :)

barteo 2010-06-21 16:44

Re: MicroEmulator
 
Quote:

Originally Posted by Crogge (Post 704798)
How is the status of microemulator? Is it stable working yet? I really miss Java :)

It depends, what application you want to run. It works pretty well with Opera Mini for instance.

Crogge 2010-08-24 14:27

Re: MicroEmulator
 
The latest version of Microemulator works so far fine for me, it would be useful to collect the experiences with it here.

What I really miss are different skins a better option to control it (Set buttons on the physical keyboard etc).

TiagoTiago 2010-08-27 08:20

Re: MicroEmulator
 
Am i the only one not managing to get http://www.seeingwithsound.com/ to run? (click on the "Nokia" button in the bottom)

Wonko 2011-03-13 11:20

Re: MicroEmulator
 
Jfyi,

uploaded a new MicroEmulator package to extras-devel.
This one includes the custom skin from stopgap as default: http://talk.maemo.org/showthread.php?t=60557


All times are GMT. The time now is 01:59.

vBulletin® Version 3.8.8