OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: chrget on January 09, 2006, 08:24:02 am

Title: Opera Mini
Post by: chrget on January 09, 2006, 08:24:02 am
Hello,

just a quick note for those interested: the low memory version of Opera Mini (http://mini.opera.com/) (UserAgent: Opera/8.01 (J2ME/MIDP; Opera Mini/1.1.2421/lofi/nordic/de; mobile phone; de; U; ssr)) will run on the Z using Jeode in conjunction with ME4SE (http://kobjects.sourceforge.net/me4se/).  

I'll leave the decision whether or not this is a sensible thing to do to the readers ...  

Best regards,
Chris.
Title: Opera Mini
Post by: Meanie on January 09, 2006, 09:52:18 am
Quote
Hello,

just a quick note for those interested: the low memory version of Opera Mini (http://mini.opera.com/) (UserAgent: Opera/8.01 (J2ME/MIDP; Opera Mini/1.1.2421/lofi/nordic/de; mobile phone; de; U; ssr)) will run on the Z using Jeode in conjunction with ME4SE (http://kobjects.sourceforge.net/me4se/).  

I'll leave the decision whether or not this is a sensible thing to do to the readers ...   

Best regards,
Chris.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110123\"][{POST_SNAPBACK}][/a][/div]

Been running it on my mobile phone for a few days. If you want to convert it to english, you can do the following step:

select Menu
select 4th option from top
select 2nd option from top
scroll down. The last option is a selection box where you can select English

Been using me4se for running mobile java games , left mini opera on the phone though
Title: Opera Mini
Post by: cwaig on January 26, 2006, 04:13:59 am
How exactly do you use me2se to run Opera-mini? I'm not very familiar with using Java on the Zaurus.....
Title: Opera Mini
Post by: ashikase on February 15, 2006, 03:21:22 am
Quote
just a quick note for those interested: the low memory version of Opera Mini (http://mini.opera.com/) (UserAgent: Opera/8.01 (J2ME/MIDP; Opera Mini/1.1.2421/lofi/nordic/de; mobile phone; de; U; ssr)) will run on the Z using Jeode in conjunction with ME4SE (http://kobjects.sourceforge.net/me4se/). :D
Have you actually tested this? I've tried both evm and blackdown, using me4se.jar with and without the SUN MIDP2.0 classes, but get errors everytime.

Assuming you've got it working, what is the command line that you use?

My interest in using it is that it supposedly supports AJAX.

- ashikase
- anpachi, gifu, japan
Title: Opera Mini
Post by: eji on February 15, 2006, 03:32:45 am
Yeah, can anyone specify exactly how to get it running? I've got the.jar and .jad files in an "OperaMini" folder under Jeode, but no idea where to go from here. Same problem I'm having with Mobile Gmaps (https://www.oesf.org/forums/index.php?showtopic=15610&hl=mgmaps), which no one seems to know how to get running, either.
Title: Opera Mini
Post by: chrget on February 15, 2006, 04:06:56 pm
Quote
Yeah, can anyone specify exactly how to get it running?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114863\"][{POST_SNAPBACK}][/a][/div]
This works for me:
Code: [Select]
evm -Xprogress -XappName=$0 -cp "/opt/Qtopia/lib/me4se.jar:/opt/Qtopia/lib/javapng-2.0-rc3.jar:/opt/Qtopia/lib/operette-lofi_nordic-de.jar" org.me4se.MIDletRunner com.opera.browser.BrowserBest regards,
Chris.
Title: Opera Mini
Post by: eji on February 15, 2006, 06:42:12 pm
Chris, I'm getting an "opt" error that causes the Terminal to freeze and the screen to remain painted in the center. Can you add the me4se.jar and the javapng-2.0-rc3.jar files as attachments here? Then I'll try running this again with those files in the locations (/opt/Qtopia/lib/...) you used.
Title: Opera Mini
Post by: Lexx on February 15, 2006, 07:16:35 pm
Here is how I got it to work:
Get the following files all into one directory.
*------------------------------------------------------------------------------*
OperaMini
http://www.opera.com/products/mobile/operamini/campaign/ (http://www.opera.com/products/mobile/operamini/campaign/)
Or
http://mini.opera.com/global/opera-mini-1....advanced-us.jar (http://mini.opera.com/global/opera-mini-1.2.2960-advanced-us.jar)
http://mini.opera.com/global/opera-mini-1....60-basic-us.jar (http://mini.opera.com/global/opera-mini-1.2.2960-basic-us.jar)
*-------Optional if you have trouble with the above----------------------------*
operette-lofi-us.jar:
http://mini.opera.com/builds/releases/oper...tte-lofi-us.jar (http://mini.opera.com/builds/releases/operette-1.2.2960/operette-lofi-us.jar)

operette-hifi-us.jar:
http://mini.opera.com/builds/releases/oper...tte-hifi-us.jar (http://mini.opera.com/builds/releases/operette-1.2.2960/operette-hifi-us.jar)

Rename operette-lofi-us.jar to opera-mini-1.2.2960-basic-us.jar
Rename operette-hofi-us.jar to opera-mini-1.2.2960-advanced-us.jar
*------------------------------------------------------------------------------*
me4se:
http://kobjects.sourceforge.net/me4se/ (http://kobjects.sourceforge.net/me4se/)
Or direct link
http://voxel.dl.sourceforge.net/sourceforg...jects/me4se.jar (http://voxel.dl.sourceforge.net/sourceforge/kobjects/me4se.jar)
*------------------------------------------------------------------------------*
javapng-2.0-rc3.jar:
http://prdownloads.sourceforge.net/javapng...c3.jar?download (http://prdownloads.sourceforge.net/javapng/javapng-2.0-rc3.jar?download)
Or directly from:
http://voxel.dl.sourceforge.net/sourceforg...png-2.0-rc3.jar (http://voxel.dl.sourceforge.net/sourceforge/javapng/javapng-2.0-rc3.jar)
*------------------------------------------------------------------------------*
Make a shell script to launch OperaMini.
-Copy the lines below without the copy and paste sections they are just markers.
-Create a file and paste the lines into it. I named mine OpraMini.sh.
-You may have to change the permisions on the file you created.
-The file works with either Linux Java or Jeode on a Zaurus.
-Run the script.
x----COPY----X
#/bin/sh

if [ `which evm 2>/dev/null` ]
then
   evm -Xprogress -XappName=$0 -cp "me4se.jar:javapng-2.0-rc3.jar:opera-mini-1.2.2960-basic-us.jar"" org.me4se.MIDletRunner com.opera.browser.Browser
fi

if [ `which java 2>/dev/null` ]
then
   java -cp "me4se.jar:javapng-2.0-rc3.jar:opera-mini-1.2.2960-basic-us.jar" org.me4se.MIDletRunner com.opera.browser.Browser
fi
x----PASTE----X
*------------------------------------------------------------------------------*
Are we allowed to post these files on here? I can post a complete archive with everything needed. I'll also see if I can make a clickable icon so you wont have to launch it from a shell.

The fonts really small, but you press "*" to get started and then click OK, you only need to do this once.

BTW, the script works with either Java on a Linux machine or the Zaurus at least on my two setups it worked.

Obviously this is what works for me. Your milage may vary.
Title: Opera Mini
Post by: ashikase on February 15, 2006, 08:12:32 pm
After realizing that there were multiple versions of Opera Mini available, I was able to run the 'basic' version (MIDP 1.0); the 'advanced' (MIDP 2.0) seems to require functionality that me4se does not yet support.

Either way, it doesn't matter... I found that it doesn't fully support AJAX afterall, as it doesn't provide full rendering (for that, would require Opera Mobile).

Thanks for the help, though.

- ashikase
- anpachi, gifu, japan
Title: Opera Mini
Post by: eji on February 20, 2006, 09:38:23 am
I'm repeatedly getting a java.lang.NoClassDefFoundError: org/me4se/MIDletRunner

[EDIT] Nevermind. I had to cd to the directory I was using and everything worked fine. Well, fine, I guess, if you like surfing the web with a browser no bigger than a US quarter. Is there any way to bump up the size? [/EDIT]
Title: Opera Mini
Post by: Lexx on February 20, 2006, 11:26:38 am
@ eji

RE: Size of a US Quarter
I guess your running it on a desktop right?  If so, you can use an screen magnifier to improve the visability. I've found no way to adjust the size of the application. Hopefully someone else may know how. On the Z (5600). It takes up the whole screen, but the font is still difficult to read. Not sure how it looks on other Zaurus models.
Title: Opera Mini
Post by: eji on February 20, 2006, 12:24:45 pm
Quote
@ eji

RE: Size of a US Quarter
I guess your running it on a desktop right?  If so, you can use an screen magnifier to improve the visability. I've found no way to adjust the size of the application. Hopefully someone else may know how. On the Z (5600). It takes up the whole screen, but the font is still difficult to read. Not sure how it looks on other Zaurus models.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115442\"][{POST_SNAPBACK}][/a][/div]

No, I'm running it on the 6000, which has a beautiful screen that is nothing but a headache when running apps designed for lower-res models.
Title: Opera Mini
Post by: Lexx on February 20, 2006, 07:54:11 pm
Ah! OK. I run it on the desktop as well as on the Z. Hopefully someone will figure out how to make it take up more screen space if it is possible.
Title: Opera Mini
Post by: Meanie on February 20, 2006, 08:28:15 pm
Quote
Ah! OK. I run it on the desktop as well as on the Z. Hopefully someone will figure out how to make it take up more screen space if it is possible.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115501\"][{POST_SNAPBACK}][/a][/div]

Well, me4se defaults the screen size to 150x200, and it does a special check and changes the screen size to 235x280 on a Zaurus. This is done in ApplicationManager.class
You can recompile it with a different screensize
I've recompiled it for the C3x00 clamshell model's 640x480 screen so opera-mini can run fullscreen
Title: Opera Mini
Post by: Lexx on February 21, 2006, 09:52:05 pm
@Meanie
Nice! It'd be very nice if that could be a parameter which could be passed via the command line.
Title: Opera Mini
Post by: matrix200 on February 22, 2006, 03:04:00 pm
How does it compare to Opera 7.55?
I am running 7.55 on my C3000 and it is not bad but if i could get AJAX on my Z that would be great
Also how is the speed?
Title: Opera Mini
Post by: ashikase on February 22, 2006, 07:17:39 pm
Quote
I am running 7.55 on my C3000 and it is not bad but if i could get AJAX on my Z that would be great
Also how is the speed?
As I mentioned in my followup post, I was mistaken about the AJAX support; if you want AJAX, you would need Opera Mobile, not Mini. Mini seems to be a minimalistic browser aimed at phones.

- ashikase
- anpachi, gifu, japan
Title: Opera Mini
Post by: paxel on April 07, 2006, 08:58:49 pm
Thanks a lot for these instructions!
Five remarks:

1. basic operamini works on my Zaurus SL-5500 cacko rom, while advanced doesn't (so if someone is worried that it will not work at all just change to basic option)

2. there are inverted commas missing at one point in the script (after the second-time opera-mini-... should be twice, i.e. "") so it should properly be:

x----COPY----X
#/bin/sh

if [ `which evm 2>/dev/null` ]
then
   evm -Xprogress -XappName=$0 -cp "me4se.jar:javapng-2.0-rc3.jar:opera-mini-1.2.2960-basic-us.jar"" org.me4se.MIDletRunner com.opera.browser.Browser
fi

if [ `which java 2>/dev/null` ]
then
   java -cp "me4se.jar:javapng-2.0-rc3.jar:opera-mini-1.2.2960-basic-us.jar"" org.me4se.MIDletRunner com.opera.browser.Browser
fi
x----PASTE----X

3. my script filename is simply " operamini " without " sh " as commonly Zaurus executables have no extension, I don't know if it changes anything

4. Obviously remember to change references in the script to the proper filenames - in my case that was opera-mini-1.2.3214-basic-uk.jar

5. I also put the relevant jad file in the same directory  - just in case - so try that if else it doesn't work

Pawel
Title: Opera Mini
Post by: JohnKiniston on January 02, 2007, 06:51:24 pm
I'm seeing this when I try to run opera on my 5500 running OpenZaurus

#./opera.sh
/opt/QtPalmtop/bin/evm
---=== ME4SE Version 2.5.1 ===---
Exception in thread "main", java.lang.NoSuchMethodError: java/lang/System.setProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at javax.microedition.midlet.ApplicationManager.setSystemProperty (bytecode 21)
        at javax.microedition.midlet.ApplicationManager.<init> (bytecode 186)
        at org.me4se.MIDletRunner.main (bytecode 147)

my script reads

evm -Xprogress -XappName=$0 -cp "me4se-2.2.0.jar:javapng-2.0-rc6.jar:opera-mini-3.0.6540-basic-int.jar" org.me4se.MIDletRunner com.opera.browser.Browser
Title: Opera Mini
Post by: rjohnson1969 on September 18, 2007, 03:47:18 pm
Quote
I'm seeing this when I try to run opera on my 5500 running OpenZaurus

#./opera.sh
/opt/QtPalmtop/bin/evm
---=== ME4SE Version 2.5.1 ===---
Exception in thread "main", java.lang.NoSuchMethodError: java/lang/System.setProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at javax.microedition.midlet.ApplicationManager.setSystemProperty (bytecode 21)
        at javax.microedition.midlet.ApplicationManager.<init> (bytecode 186)
        at org.me4se.MIDletRunner.main (bytecode 147)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=149890\"][{POST_SNAPBACK}][/a][/div]

I had the same error.  This topic is old, and I think the me4se.jar that the original posters used was 2.1.3, but you and I mistakenly downloaded 2.2.0
Title: Opera Mini
Post by: ShiroiKuma on September 05, 2008, 10:30:41 am
Reviving a very old topic, maybe someone still uses this me4se. I'm trying to use it for running some games on the desktop. It works moderately well, however how do you emulate the left and right phone buttons which some games need to carry out certain tasks. It gets stuck and I can't send this left and right button to the app running...
Title: Opera Mini
Post by: sdjf on November 21, 2011, 11:52:06 am
Can anyone with Sharp ROM or an sl6000 explain where they put all the me4se files?   I am trying to get Opera Mini running but clueless even after reading all the posts in this thread.

There are many directories and files in the me4se app, I currently have them in one directory on an SD card, along with the OperaMini jar file, and am thinking of symlinking to them from either /opt/QtPalmtop/j2me or /opt/QtPalmtop/java.

Maybe I should make an OperaMini folder under those, or move all files there until I see what works and then do symlinks?  Leaving it all in internal memory gets difficult as I tend to fill up my Tosa with lots of files and run low on free K.

Oh, yeah, I have tried running, and get missing file errors even though I see the file MIDl--- or whatever it is, is somewhere in all those subdirectories.

This may be a silly exercise, though, what we really need is more like Opera 9 or 10, the operamini is like 8.1

Comments,  help???

thanks,
sdjf
Title: Opera Mini
Post by: sdjf on November 21, 2011, 11:58:40 am
More details on my most recent attempt to run:

bash$ find /mnt/card/Programs/OperaMini/ -name MIDletRunner.class
/mnt/card/Programs/OperaMini/org/me4se/MIDletRunner.class
bash$ ./OperaMini.sh
java.lang.NoClassDefFoundError: .mnt.card.Programs.OperaMini.org.me4se.MIDletRunner
bash$

The file is there, what do I do?

sdjf
Title: Opera Mini
Post by: Dromede on November 23, 2011, 12:04:53 pm
Microemulator might be a better way of running J2ME apps.

http://www.microemu.org/ (http://www.microemu.org/)
http://my.opera.com/ariesptn/blog/2008/11/...-run-opera-mini (http://my.opera.com/ariesptn/blog/2008/11/17/using-microemulator-to-run-opera-mini)
Title: Opera Mini
Post by: cybersphinx on November 23, 2011, 06:30:02 pm
Quote from: sdjf
The file is there, what do I do?
Keep the java stuff in its .jar file, and add that to the classpath.

Quote from: Dromede
Microemulator might be a better way of running J2ME apps.
... if you're using a new enough jvm, which that of the Zaurus isn't.

In my experiments, I used j2me-zaurus_1.1.8_arm.ipk, ran it like "cvm -Djava.class.path=me2se.jar:opera-mini.6.5.jar ...MIDletRunner Browser" which gave a window (presumably from me2se, but then still didn't like the java stuff available.
Title: Opera Mini
Post by: sdjf on November 23, 2011, 09:24:16 pm
Quote from: cybersphinx
Quote from: sdjf
The file is there, what do I do?
Keep the java stuff in its .jar file, and add that to the classpath.
Thank you!  But, oh my, this is greek to me,  I have not touched the jar file contents.  And have no idea what a classpath is or where it is.  I have  just now  read a little bit by googling, but it makes no sense to me.

My command is as follows, what do I change (it is all on one line, browser may make it look like 2 lines)?

 evm -Xprogress -XappName=$0 -cp "/mnt/card/QtPalmtop/java/me4se/me4se.jar:/mnt/card/QtPalmtop/java/me4se/png.jar:/mnt/card/QtPalmtop/java/opera-mini-2.0.4509-basic-us.jar"" .mnt.card.QtPalmtop.java.OperaMini.me4se.MIDletRunner com.opera.browser.Browser

This is on my Tosa, Sharp ROM 1.12

Quote from: cybersphinx
Quote from: Dromede
Microemulator might be a better way of running J2ME apps.
... if you're using a new enough jvm, which that of the Zaurus isn't.

In my experiments, I used j2me-zaurus_1.1.8_arm.ipk, ran it like "cvm -Djava.class.path=me2se.jar:opera-mini.6.5.jar ...MIDletRunner Browser" which gave a window (presumably from me2se, but then still didn't like the java stuff available.

I am sorry, please show me what I wrote wrong.   I can write bash and sed scripts, but this is foreign territory for me.   I grabbed the version of me2se mentioned earlier in this thread, 2.1.3, plus opera-mini-2.0.4509-basic-us.jar

I do know my Z recognizes evm and not java when I do the "which" command.

thank you!
sdjf
Title: Opera Mini
Post by: sdjf on November 24, 2011, 02:06:20 am
The command has to go in a shell script as bash coughs on the odd number of quotes, here is my most recent attempt:

evm -Xprogress -XappName=$0 -cp "me4se.me4se.jar:me4se.png.jar:opera-mini-2.0.4509-basic-us.jar""  -classpath  /mnt/card/QtPalmtop/java/OperaMini org.me4se.MIDletRunner   com.opera.browser.Browser

Made progress with that, got  MIDletRunner recognized, now it has trouble finding JAD data:

bash$ ./OperaMini.sh
Display size = 240x320
trying to load JAD data from: /META-INF/MANIFEST.MF
No MIDlet specified, trying property
java.lang.ClassNotFoundException: com/opera/browser/Browser
        at sun.misc.Launcher$AppClassLoader.findContainer(Ljava/lang/String;)Lsun/misc/Launcher$ClassContainer;(Native Method)

and proceeds with a very long list of sun error messages, won't repeat them here unless somebody wants to see them.

Googling  not getting me answers for the JAD issue, which looks like the next stumbling block.

thanks,
sdjf
[/list]
Title: Opera Mini
Post by: sdjf on November 29, 2011, 10:56:55 am
I am still struggling with this, it is finally just not finding the Browser.

bash$ evm -cp me4se.jar:png.jar:opera-mini-2.0.4509-basic-us.jar:MIDletRunner -cp OperaMini.javax.microedition.MIDlet Browser
java.lang.NoClassDefFoundError: Browser
bash$

Anybody know where that is declared?  I do not see any files with that as part of the name in the md4se or OperaMini files I downloaded.

sdjf
Title: Opera Mini
Post by: sdjf on November 29, 2011, 07:26:45 pm
Well, with Quickening's assistance, I got it running on my Collie but not my Tosa.  Strange thing, as they are both Sharp ROMs.

Anybody got ideas why that would be?  I am guessing the screen size may be an issue, but since sl6000 screen is bigger, that does not make sense.

My Collie has a seriously compromised joystick, so it is painful to use as that seems to be the main way to communicate with OperaMini, to tab through a page.  But the Collie's joystick is hypersensitive, goes too fast, plus because of it's broken power plug, gotta use it in docking station without hardware keyboard.

Input will be appreciated, I saw someone else got OperaMini working on their Tosa, so this is a surprise.

sdjf
Title: Opera Mini
Post by: sdjf on December 01, 2011, 10:16:20 am
Got it running on Tosa as well.  Had to install Jeode to get it to work.

Also found another basic opera mini, but I see no way to upload here:

opera-mini-3.1.10423-basic-int.jar

It is a little better than 2.0, could not find a more recent lofi one.  One important thing is it did not work to give -cp to me4se.jar, I had to move it to it's own directory and make the -cp me4se/me4se.jar instead.

sdjf