MyMPx.org

MyMPx.org (http://mympx.org/forum/)
-   Mods and Themes (http://mympx.org/forum/mods-themes/)
-   -   Calculator for Rockchip players (http://mympx.org/forum/mods-themes/44081-calculator-rockchip-players.html)

flasher86 8th Jul 2009 9:02 am

Calculator for Rockchip players
 
Hi, recently I wrote a simple calculator in RKP format. You can find it the Download section > Tools
or click here.

It has some basic functions like division, sum or square root. It has a limitation of 7 digits (including these after the decimal point). It is caused by limitation of the compiler which supports 4-byte Float data type.

I've done it for practice purposes as I am aware that such an app is not very useful. I will upload a source code to study for those who are beginners in C and are willing to start developing some tools.

flasher86 8th Jul 2009 9:16 am

Click here to get the source code.

knob 8th Jul 2009 10:48 am

Thanks for sharing this, I have tried it out on my rk2608 320x240 player and it works fine, it's the best homebrew RockApp I have seen yet.

here's how it looks:-

http://i203.photobucket.com/albums/a...Calculator.jpg

flasher86 9th Jul 2009 3:57 am

Thanks for your approval.

One more announcement. If anyone know how to introduce Double data type (though compiler accepts defining double data type, in the end it doesn't differ from float data type) into the rock compiler, tell me and I will modify the source so the limitation of 7-digit number will grow to 15 which would be enough for any calculations.

LiquidN 4th Aug 2009 7:57 am

Hi flasher,
a calculator might be more useful than a stop watch or "fixed" calendar ...
[Something like a adressbook or so would be even more useful ;)]
Could you (or someone else) please tell me how to integrate this rkp-file on a rk2706 (onda777le)?
thanx

flasher86 4th Aug 2009 8:13 am

I have no idea how to introduce RKP platform for a rk2706 player. There is very few of them which support it. I have 2606A 320x240 player and I would like to buy a new one (2706), but only if supports some apps like rkp.

I wonder whether SDK 2706 would help with this.

btw. adressbook would be useful but I don't know yet how to write data using this platform. It would require to fill the adressbook on the pc and add it to the resource file of the rkp.

I am trying to bite the SDK so I would explicit some functions for the platform, and my goal is to make RKP application for tuning the guitar using built-in microphone. It would be VERY USEFUL for me and for many guitar-playing people I guess.

For me it would be awsome, because an electronic guitar tuner costs around 20-40 Euros.

LiquidN 4th Aug 2009 10:21 am

Ah, I guess you have an application-folder for this rkp-file in your firmware?
I just thought it could work because I have a rk 2706 IPodclone with touchscreenbased calculator.
Anyway, for me this programming-issue is to difficult.
I need easy2use tools ;)

Olli 17th Aug 2009 9:50 am

The source downloading doesnt work can u put it to work?

flasher86 18th Aug 2009 12:12 pm

Calc_Source_Code.rar - FileFactory

here you go. Do you know where can I upload these files so it wont disappear after some time?

Olli 18th Aug 2009 9:37 pm

Quote:

Originally Posted by flasher86 (Post 282480)
Calc_Source_Code.rar - FileFactory

here you go. Do you know where can I upload these files so it wont disappear after some time?

take some free hosting & upload there.!


All times are GMT -7. The time now is 11:47 am.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2