速報APP / 工具 / Kalkulon

Kalkulon

價格:免費

更新日期:2013-06-08

檔案大小:309k

目前版本:2.3

版本需求:Android 2.2 以上版本

官方網站:http://www.kalkulon.de

Email:contact@kalkulon.de

聯絡地址:j.holetzeck@googlemail.com

Kalkulon(圖1)-速報App

Kalkulon is a programmable expression calculator for programmers available for your Windows, Linux and Android device.

If you just need a simple calculator Kalkulon is probably not what you are looking for.

But if you are looking for a scientific calculator with the following features

* C-like syntax, e.g.: (0x10>>3)+(6|4)*7

* variables, e.g: bitmask = 0x0F0F; 0x1234&bitmask

* user defined formulas and scripts, e.g.: AddMul(a,b,c)=(a+b)*c; AddMul(1,2,3)

* fully programmable, e.g.: if, while, do, etc.

* result history (out, outl), e.g.: 3+4; out+8; outl[0]+outl[1]

* casts, e.g.: ((u8)-1)<<8

* dec, hex and bin number format, e.g.: (128+0x3d)&0b01101100

Kalkulon(圖2)-速報App

* strings and list, e.g.: list = {"Hallo ", "World"}; list[0]+list[1]

* syntax coloring for easy use of long expressions

* autoload file ("autoload.k") for user defined variables, formulas, programs

* GPL license

which can share formulas and scripts between your desktop and mobile device you should give Kalkulon a try.

For devices without hardware keyboard I recommend Hacker's Keyboard!

Details:

On the Android device the example and help files are automatically copied into "SDCARD/Kalkulon" folder on first start. This is also the working directory for Kalkulon. Put your Kalkulon scripts here, e.g. from your desktop PC.

The Exec() command works a little bit different on Android:

If the command is ACTION_EDIT or ACTION_VIEW, e.g.

Kalkulon(圖3)-速報App

Exec("ACTION_EDIT", "runregtest.k")

an Android Intent is sent to start an external Activity.

For all other commands a normal system() call is executed, e.g.

Exec("echo 1 > xxx") writes "1" into file "xxx" in Kalkulon folder.

For more details have a look at http://www.kalkulon.de

Change log:

2.3:

- adjust colors for better readability (with and w/o syntax highlighting)

2.2:

- add syntax highlighting

Kalkulon(圖4)-速報App

2.1:

- new setting for simple output (suppress "outl[i]" prefix)

- enlarge layout of list views for easier touching

- "Clear session" now visible in Action Bar

2.0:

- add: text size of input can be set via "Settings ..." menu

1.9:

- add: support of octal numbers with prefix "0o" (zero "o") -> "0o1234567"

1.8:

- add: text size can be changed by zoom gesture

Kalkulon(圖5)-速報App

1.6/1.7:

- fix: keep soft keyboard open for Android >= 4.x

1.5:

- add: Android 4 look and feel (please report issues to contact@kalkulon.de)

- add: select and copy from output window

1.4:

- add: "Clear input history" menu item

1.3:

- add: Exec() now supported on Android (see description in overview)

- fix: error messages were cut-off

Kalkulon(圖6)-速報App

- fix: LinePos() returned wrong line number

1.2:

- check if user deleted application data

All APK files available here:

https://bitbucket.org/jholetzeck/kalkulon-for-android/downloads

Kalkulon(圖7)-速報App