myMPX
Advertisement


Go Back MyMPx.org > MyMPx.org Forum > Mods and Themes

Calculator for Rockchip players
Reply
Post New Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old 8th Jul 2009, 9:02 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Lightbulb 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.

Last edited by flasher86; 9th Jul 2009 at 4:01 am.
Reply With Quote
  #2 (permalink)  
Old 8th Jul 2009, 9:16 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Click here to get the source code.

Last edited by flasher86; 18th Aug 2009 at 12:15 pm.
Reply With Quote
  #3 (permalink)  
Old 8th Jul 2009, 10:48 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

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:-

Click the image to open in full size.
__________________
-----------------------------------------------------------------------------------------------------------

Last edited by knob; 30th Jul 2009 at 12:07 pm.
Reply With Quote
  #4 (permalink)  
Old 9th Jul 2009, 3:57 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

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.

Last edited by flasher86; 9th Jul 2009 at 4:00 am.
Reply With Quote
  #5 (permalink)  
Old 4th Aug 2009, 7:57 am
New Member
 
Join Date: Aug 2009
Posts: 7
Default

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
__________________
green theme 4 777le
Reply With Quote
  #6 (permalink)  
Old 4th Aug 2009, 8:13 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

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.

Last edited by flasher86; 4th Aug 2009 at 8:19 am.
Reply With Quote
  #7 (permalink)  
Old 4th Aug 2009, 10:21 am
New Member
 
Join Date: Aug 2009
Posts: 7
Default

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
__________________
green theme 4 777le
Reply With Quote
Sponsored Links
  #8 (permalink)  
Old 17th Aug 2009, 9:50 am
New Member
 
Join Date: Aug 2009
Posts: 4
Default

The source downloading doesnt work can u put it to work?
Reply With Quote
  #9 (permalink)  
Old 18th Aug 2009, 12:12 pm
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Calc_Source_Code.rar - FileFactory

here you go. Do you know where can I upload these files so it wont disappear after some time?
Reply With Quote
  #10 (permalink)  
Old 18th Aug 2009, 9:37 pm
New Member
 
Join Date: Aug 2009
Posts: 4
Default

Quote:
Originally Posted by flasher86 View Post
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.!
Reply With Quote
Reply

Tags
calc, calculator, compiler, rkp, rockchip

Sponsored Links



Similar Threads
Thread Thread Starter Forum Replies Last Post
any rockchip players on tinydeal.com? ikesmasher General Discussion 3 14th Apr 2009 11:25 am
Bought 4 different Rockchip players- none come with F/Ware! iixorbiusii Support and How To 16 17th Aug 2008 2:49 am
Alternative fix for rockchip players you can try cpox10 Dead Players 0 16th Mar 2008 7:13 pm
Rockchip players? jsevinsk General Discussion 2 5th Apr 2007 7:12 pm
I am thinking of importing Rockchip players to the US VegasPlayer General Discussion 6 19th Feb 2007 4:31 pm


All times are GMT -7. The time now is 4:36 pm.


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

Designed by indiqo.media