View Single Post
Old 06-05-2010, 03:18 PM   #1
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 851
Karma: 194010
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Calculator AUTORUN-App for PRS-505 / 300 / 600 (confirmed)

Find attached a public beta java-script-calculator port for the PRS-505.

Attention: There is a bug in the released code!
Parenthesis "(" ")" arn't working. Giving (1+2)*3=7 which is obviously wrong.
Solution: rename
var openp = function(){ to var popen = function(){
and
var closep = function(){ to var pclose = function(){
in "calculator.js"
Valid code is integrated in PRS+ here

I just add this information here and want not to push this article by a new posting to this thread.


Use and start it like any other Autorun-App.

UserInterface is pretty straight forward:
Move pointer with "joystick", select key/function with "center"
Nummeric buttons can be used to input numbers too.
NextPage and holding center button = equals
PreviousPage "C"lear last input
Menu-Button exits the app.

Basically this is a port from: http://www.motionnet.com/calculator/
Changes are done in "sign", "M+", intruduced "M-" and "%" as well as a "C"lear besides the "AllClear"-Button

This app was developed most of the time in my "FSK Test-Environment for Autorun Applications under MS-Windows"
(shameless self promotion)
Attached Files
File Type: zip Calc-Autorun.zip (12.4 KB, 495 views)
File Type: zip Calc-Sim.zip (12.9 KB, 431 views)

Last edited by Mark Nord; 11-26-2010 at 10:29 AM.
Mark Nord is offline   Reply With Quote