Coping midlet to different server - internet connection problem

41 views
Skip to first unread message

Jukooz

unread,
Dec 1, 2011, 3:33:36 PM12/1/11
to microemulator-support
Hi,

I'm new to micromulator.

I like demo of opera mini (http://www.opera.com/developer/tools/mini/)
and would like to have similar thing on my website. Don't want to
reinvent the wheel so, since microemulator is open source and opera
mini is free, I thought about using it as they did it. Copied midlet
files (applet.jar,mini.jar,skin.jar) and used appropriate html code.
Midlet runs, Opera runs, skin is in place, but when trying to view any
website, opera says "Connection Failed. Unable to connect. Please
review your network settings." What is causing the problem? How can I
fix it?

Bartek Teodorczyk

unread,
Dec 2, 2011, 9:00:48 AM12/2/11
to microemula...@googlegroups.com
Hi

The Opera Mini demo on website runs in applet environment. If applet
connects itself to the network (Opera Mini does) it is limited only to
the same address as applet website. In your case Opera Mini tries to
connect to the different address which is forbidden.

BR,
Bartek Teodorczyk

> --
> You received this message because you are subscribed to the Google Groups "microemulator-support" group.
> To post to this group, send email to microemula...@googlegroups.com.
> To unsubscribe from this group, send email to microemulator-su...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/microemulator-support?hl=en.
>

Jukooz

unread,
Dec 3, 2011, 5:37:47 AM12/3/11
to microemulator-support
So after further investigation, if I understand correctly, in order to
connect to internet, they have to channel it through proxy installed
on their server. Is it possible to find path they used for proxy and
its port, so I could install proxy in the same way on my server? Or
maybe it is possible to just change the code responsible for that for
path I would use to install proxy?

Thanks,
jukooz

Bartek Teodorczyk

unread,
Dec 6, 2011, 4:32:46 AM12/6/11
to microemula...@googlegroups.com
On Sat, Dec 3, 2011 at 11:37 AM, Jukooz <juk...@gmail.com> wrote:
> So after further investigation, if I understand correctly, in order to
> connect to internet, they have to channel it through proxy installed
> on their server. Is it possible to find path they used for proxy and
> its port, so I could install proxy in the same way on my server? Or
> maybe it is possible to just change the code responsible for that for
> path I would use to install proxy?

Yes, you are correct.

You could, theoretically, to override the server the midlet is
connecting, but some source code modifications of MicroEmulator would
be necessary.

Best Regards,
Bartek Teodorczyk

Jukooz

unread,
Dec 8, 2011, 6:23:50 PM12/8/11
to microemulator-support
You said theorethically. Would it be that hard? Would it take more
than appropriate application and knowledge of the location of these
data in MicroEmulator?

Regards,
jukooz

Bartek Teodorczyk

unread,
Dec 9, 2011, 7:49:57 AM12/9/11
to microemula...@googlegroups.com
If you are a software developer then it is not that hard. If you are
not, you won't make it by yourself.

Best Regards,
Bartek Teodorczyk

Jukooz

unread,
Dec 9, 2011, 8:13:53 PM12/9/11
to microemulator-support
I'm not software developer unfortunately. But could you tell me please
what is the location of these data (proxy address/path and port) in
such a applet? I have already decompiled it with Java Decompiler. Want
to install proxy the same way they did it. If it was impossible, I
would also find a way to compile it again.

Regards,
jukooz

Reply all
Reply to author
Forward
0 new messages