Log in

View Full Version : Java


mamamia
08-07-2005, 03:51 AM
Hello. I need to do internet banking on my PDA. Problem is the login box on the internet banking site is an applet that requires Java. How/where/what do I use on my PDA to make this work?

I'm not a Java professional and my knowledge is pretty basic. For my laptop, I just download the Java thing from the Sun Java website and the internet banking website works just fine. But that Sun Java thing doesn't work on the PDA.

The PDA is a HP hx4700 that runs on Windows 2003.

Darius Wey
08-07-2005, 05:42 AM
Hi mamamia, welcome to Pocket PC Thoughts.

You might want to have a look at these two articles:

http://www.pocketpcthoughts.com/forums/viewtopic.php?t=41081
http://www.vikdavid.com/mobile/

There are quite a few options available, so it all comes down to choice really.

Also, please don't cross-post. I've deleted the other thread you made in "HP iPAQ Pocket PCs". Thanks! :)

mamamia
08-07-2005, 10:51 AM
After installing Creme all I get is a grey colour box in place of the Java applet. I guess its one step better than not being able to see the grey box from before.

Here's the link to the site with the applet if anyone's interested: https://internet-banking.dbs.com.sg/

Does anyone confirm if Creme can open this applet or not?

mamamia
08-07-2005, 12:47 PM
Creme sort of generated a log and as much as I can decipher it, it seems the problem was that Creme could not recognize https. Anyone know about this problem?

Menneisyys
08-07-2005, 12:55 PM
After installing Creme all I get is a grey colour box in place of the Java applet. I guess its one step better than not being able to see the grey box from before.

Here's the link to the site with the applet if anyone's interested: https://internet-banking.dbs.com.sg/

Does anyone confirm if Creme can open this applet or not?

With CrEme, it doesn't work, not even over a simple http (not https) connection, with a local file. It complained of "Class not found" when I linked the applet from either a local directory or directly (with adding a "codebase" attribute to the < applet > tag) from the .sg site, via a https connection.

With Netfront 3.2, both local and remote direct linking, works. However, it doesn't work when it’s straight in the original page. Dunno why – the applet, the way I access and load it is exactly the same. It doesn’t like applets linked from secure pages? It doesn’t like pages that both have JavaScript code and Java applets? Dunno, I may need to find this out (another bug to find out in NF… - there’re quite a few…)

With ThunderHawk, it seems to work. I haven’t been able to check whether it really works, though, as I have no account with the bank.

The applet doesn’t have any special. It has some methods called from JavaScript (isUseridValid(), getUserid(), isPinValid(), resetPin(), RSA_EncryptPIN(), getPinLength(), requestFocusPin(), resetAll() etc). It doesn’t communicate back to the server (except when it’s passed a parameter ‘operation’ ‘1’ instead of the default ‘0’, but then, it only sends the results with a getAppletContext().showDocument() call), just checks whether the user PIN is valid or not with pretty heavy, java.math.BigInteger and java.util.Random-based (that is, there’re no javax crypt/security packages involved) computation.

You may also want to read this (http://www.pocketpcthoughts.com/index.php?action=expand,42026&/pocket_pc_web_browsers_-_the_complete_roundup.htm) on the alternative browsers, especially on Thunderhawk.

Bottom line: give a try to Thunderhawk. If it doesn't work, let me know and I try to find out why NF doesn't work with the specific setup, while it worked flawlessly with a (from my Web server) directly linked JAR file/applet.

Menneisyys
08-07-2005, 12:56 PM
Creme sort of generated a log and as much as I can decipher it, it seems the problem was that Creme could not recognize https. Anyone know about this problem?

It wasn't even able to load the applet when accessed thru plain HTTP (that is, I've downloaded the JAR file and directly linked it from the local file system).

mamamia
08-12-2005, 02:39 AM
Thanks for the help. I'll try your suggestion: Thunderhawk. Once again, thank you!

Menneisyys
08-12-2005, 05:42 AM
NP. Keep us posted.