Testing Opera Mini on an emulator

Forums » Opera for mobiles/devices » Opera Mini

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

10. December 2006, 17:55:44

descuer

Posts: 4

Testing Opera Mini on an emulator


Hi all,

Last days I've been reading a lot about Opera mini. I'm very interested on it as a developer, but I have
limited access to advanced mobile phones. Is there any way to test Opera mini on an emulator? I'm thinking
on Sun Wireless Toolkit..

Thx!

10. December 2006, 18:59:28

dude27

Posts: 56

firstly, you must have java(tm) runtime libs installed.
http://java.com/en/download/index.jsp
then for the emulator, im to http://mpowerplayer.com/products_sdk.php
lastly, download the jar file
www.operamini.com/download/?dl=pc&man=generic&phone=generic
the emulator should ask you for a URL. so point it to the .JAR file on your pc. happy surfing! happy

10. December 2006, 19:06:14

Shulyaka

The Phantom of the Opera

Posts: 789

Originally posted by descuer:

Is there any way to test Opera mini on an emulator? I'm thinking
on Sun Wireless Toolkit.


WTK's emulator runs Opera Mini just fine. What is the problem?
GDB has a 'break' feature, why doesn't it have a 'fix' too?

2b|!2b, that is the question
true, that is the answer

10. December 2006, 21:10:19

descuer

Posts: 4

Originally posted by dude27:

firstly, you must have java(tm) runtime libs installed.
http://java.com/en/download/index.jsp
then for the emulator, im to http://mpowerplayer.com/products_sdk.php
lastly, download the jar file
www.operamini.com/download/?dl=pc&man=generic&phone=generic
the emulator should ask you for a URL. so point it to the .JAR file on your pc. happy surfing! happy



Thanks for the hint, wink

Actually, I've downloaded mpowerplayer sdk... started with java -jar player.jar, and when I try to open
the .jar or the .jad file, I get this error:

Error while starting midlet:
java.lang.NullPointerException
at java.io.FilterInputStream.skip(Unknown Source)
at a.Code(Unknown Source)
at a.Code(Unknown Source)
at a.Code(Unknown Source)
at a.I(Unknown Source)
at a.I(Unknown Source)
at g.Code(Unknown Source)
at g.<init>(Unknown Source)
at Browser.startApp(Unknown Source)
at javax.microedition.midlet.MIDlet._startApp(MIDlet.java:89)
at com.mpp.adapter.Controller._start(Controller.java:867)
at com.mpp.adapter.Controller.access$100(Controller.java:98)
at com.mpp.adapter.Controller$3.run(Controller.java:831)
at java.lang.Thread.run(Unknown Source)

Do you know what am I doing wrong?

Thanks

11. December 2006, 08:00:15

dude27

Posts: 56

Part 1/2

woah! thats a very long error message! ok, well i have 2 options. first, you could look on the internet for other SDKs. Theres a very good one on the sony ericsson website which actually emulates the entire phone and provides MIDP2 support. it should work the best, but i dont have the URL. just search for "sony ericsson sdk." you could also try the simulator that Mannes suggested

11. December 2006, 08:07:24

dude27

Posts: 56

Part 2/2

Secondly, you could buy a phone. i would suggest the sony ericsson j300i. its VERY cheap, it has midp2 support, 12mb of memory, WAP2, no camera or infrared or bluetooth but is built for running programs. mainly opera. its fast, stable firmware and iv never had an error running opera or any other program in the year that iv used it. in fact, im posting this message using my trusty j300 happy
i hope you get to use opera soon! dude27

11. December 2006, 08:09:32

Shulyaka

The Phantom of the Opera

Posts: 789

I use the WTK's emulator. All you need is to download java sdk and wtk from sun.com
GDB has a 'break' feature, why doesn't it have a 'fix' too?

2b|!2b, that is the question
true, that is the answer

12. December 2006, 07:13:27

descuer

Posts: 4


Finally, I get Opera Mini working on WTK. I've just created a project, set Browser as the main class and uncompressed jar file on the classes directory. I couldn't make it work on mpowerplayer emulator.

Thanks all for your help.

8. January 2007, 23:13:19

coolguy2007

Posts: 7

Hi descuer/Shulyaka/All,

Wish you happy new year 2007.

I am new to WTK and emulator's. What should i do to make Opera mini run on WTK Emulator? I installed java runtime libs and WTK 2.5 on my system. What's my next step now? I would appreciate if someone can help me out.

Thanks in advance and have a great day.

Coolguy

8. January 2007, 23:52:05

coolguy2007

Posts: 7

Hi All,

I got it...I downloaded Jad file for advanced MIDP from http://www.operamini.com/download/?dl=pc&man=generic as adviced by dude27 in the folder C:\WTK25-Beta2\sessions and selected create project from JAD/JAR file while using the wireless toolkit. It looks good and working now....

Thanks to all as the replies posted earlier have helped me in installing.

Coolguy.

30. January 2007, 17:17:07

tvoj

Posts: 4

this is the best and has the smallest filesize emulator for any java archive (.jar) ''midp2exe'' search that for that softwares and will see what i mean. after installing thap softwares, just open any .jar you like and midp2exe will do the rest for you. you can also convert .jar into windows application .exe using that softwares.

12. February 2007, 04:33:13

coolguy2007

Posts: 7

Hello Everyone,

I am wondering to check if it is possible to develop a web service application using J2ME Midlet and run it from local host through Opera Mini? I mean, I downloaded Opera mini for generic i.e., P.C emulator and can launch it using J2ME emulator successfully. Now my intention or goal is to develop a web services application on local host and call it in J2ME emulator using Opera mini. Is it possible to do so? I mean does Opera mini allows an application on local host to parse and display in the emulator?

Please help me....If i am not clear, let me know and i will try to explain in detail.

Thanks in advance and have a nice day!

Coolguy2007

12. February 2007, 12:01:53

Opera Software

Lunkwill

Posts: 1110

The web page must pass through Operas transcoder servers to be viewable in Opera Mini.

14. February 2007, 14:23:41

defza

Posts: 2

No, you can't access localhost, because Opera Mini is just a client, it doesn't do the html page shrinking/reformating.

Therefore, every request goes to the Opera servers to fetch the page, it doesn't communicate directly with the url you type in.

14. February 2007, 19:00:23

jangkrik

Posts: 75

Guys, I need a solution...I've created a wml page and inserted this crap:
<card title="Welcome" id="front" ontimer="#main"><timer value="30"/>
but Opera Mini didn't load the page. What should I do?

14. February 2007, 19:11:55

Shulyaka

The Phantom of the Opera

Posts: 789

OM can't use timer.
GDB has a 'break' feature, why doesn't it have a 'fix' too?

2b|!2b, that is the question
true, that is the answer

22. March 2007, 02:46:48

coolguy2007

Posts: 7

Hi Lunkwill and all,

Ok, if it is not possible to run an application using LOCAL HOST, I think I can deploy my application which can be transcoded by Operamini before display. Now, my requirement is to develop an application which takes user inputs and retrives data from the content server based on the user selection, the retrieved data is converted to an XML tree-like structure and XSLT is then used to transform the structure into the content displayed on the J2ME emulator. I am not able to understand how to do this...I would appreciate if someone can give me clues as how to accomplish this.

Thanks in advance and Please help me.

Regards,
Coolguy

22. March 2007, 09:16:06

Shulyaka

The Phantom of the Opera

Posts: 789

Could you please explain more clear what do you want to do?
GDB has a 'break' feature, why doesn't it have a 'fix' too?

2b|!2b, that is the question
true, that is the answer

28. March 2007, 03:51:20

coolguy2007

Posts: 7

Hi Shulyaka,

This is what I want to do:

A Context-Aware System using XML Technologies for Mobile Handheld Devices

Mobile handheld devices such as smartphones and PDAs (Personal Digital Assistants) allow mobile users to access information anytime and anywhere. However, using handheld devices instead of desktop PCs or notebooks is not without disadvantages and two of them are

1. Handheld devices are with limited functions such as small storage and screens.

2. Mobile users change contexts such as locations frequently, sometimes requires different information, formats, or media.

To relieve the above two disadvantages, mobile content must take the device limitations into consideration and adapt itself to mobile user's dynamic context. This project uses the following steps to develop a context-aware computing system:

1. Visitor's context such as interests, preferences, location, and device capabilities are collected.

2. The system retrieves exhibit data from the content server based on the visitor's context.

3. The retrieved data is converted to an XML tree-like structure.

4. The XSLT is then used to transform the structure into the content displayed on the mobile device.

This project tries to provide mobile users better information and content by proposing a context-aware system which

1. allows mobile users to specify their context or automatically senses context, and

2. displays an adapting content based on the context

I would appreciate if you can give me some information as how to proceed...

Thanks in advance.

Coolguy

28. March 2007, 07:14:05

Shulyaka

The Phantom of the Opera

Posts: 789

First you need to understand what OM servers do. They only transcode webpages to internal format that OM understands. Therefore your System should be a usual website. I really can't see why use XML and XSLT with OM. The System should output a plain HTML page.
GDB has a 'break' feature, why doesn't it have a 'fix' too?

2b|!2b, that is the question
true, that is the answer

Forums » Opera for mobiles/devices » Opera Mini