Click here to Skip to main content
15,887,027 members
Articles / Mobile Apps
Article

SmartCalc, A scientific calculator for SmartPhone.

Rate me:
Please Sign up or sign in to vote.
2.86/5 (19 votes)
17 Nov 2007CPOL2 min read 55.9K   1.6K   39   13
This lite calculator, written in VB.NET, not only can be useful for installing on your smartphone as a real powerful scientific calculator, but also, can be used for learning some good ideas which I've learnt while developing it.

SmartCalc : Screenshots

Introduction

This lite calculator, written in VB.NET, not only can be useful for installing on your smartphone as a real powerful scientific calculator, but also, can be used for learning some good ideas which I've learnt while developing it.

Background

Although I have no Smartphone, Once I decided to develop a nice and useful calculator to see how .NET compact framework works on a real Smartphone, [ since after a while i could find a real Smartphone to get this tiny calculator installed on. ].

the result can be interesting, specially for those decided to write their first .NET compact framework application.

Points of Interest

When I decided to develop, I was thinking that .NET compact framework, has some namespaces and classes, which might be used for runtime compiling, in-memory compiling, and runtime evaluating mathematics [ codes, in general ], just like .NET framework has. but I'd found out that there is no !, so decided to find a solution for doing that. many many classes were written in VB.NET and C#, which could do that, but all of them have dependencies to Microsoft.NET, not Microsoft Compact.NET. after searching and searching and searching ... I finally found Math.NET library, which was developed in C# and under license of GPL [open source]. yupp ! this one, finally solved my problem.

I used Math.NET Classic cause of its simplicity and lightness. More and more functions and routines could be found in this framework, and could be used to extend SmartCalc's functionalities.

I'll be glad to be informed of any changes you may make in SmartCalc. Also, I would be very thankful if you could share the changed source with me.

References

History

Version 1.0 : 12th Feb. 2007

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
I was born in 1982, Tehran, IRAN. I have been Programming since I was 11, and I'm experienced in :

1) Software Designing, Programming, Developing and Implementing.
2) Windows Forms based Solutions & Apps
3) Component Designing & Programming
4) Web Solutions and Apps
5) Webservices, XML platform developing
6) Smart Device Solutions & Apps
7) Database Solutions & Programming
8) ...

Some of programming languages and techniques, I've experienced :

[Most, are microsoft based. ]

*) BASICA [ Can you remeber ?! ]
*) GWBASIC
*) Microsoft Assembler
*) Turbo Assembler
*) Turbo Pascal 7.0
*) QuickBasic v4.5, v7.0
*) VBDOS v1.0
*) VB4WIN v1.0
*) VB v2.0 upto VB v6.0
*) VB.NET v1.0, v1.1, v2.0, 3.5, 4.0
*) C#.NET v1.0, v1.1, v2.0, 3.5, 4.0
*) ASP v3.0
*) ASP.NET v1.0, v1.1, v2.0, 3.5, 4.0
*) HTML, DHTML
*) VBScript
*) Javascript
*) jQuery
*) AJAX
*) CSS 1.0, 2.0, 3.0
*) XML
*) LINQ
*) SQL Server 2000, 2005, 2008
*) ...

Comments and Discussions

 
Generalerror Pin
Member 227776610-Nov-08 3:52
Member 227776610-Nov-08 3:52 
Questionis it working just by windows mobile ??? Pin
Member 22777662-Sep-08 20:26
Member 22777662-Sep-08 20:26 
AnswerRe: is it working just by windows mobile ??? Pin
Mehran Ghanizadeh7-Sep-08 0:17
Mehran Ghanizadeh7-Sep-08 0:17 
GeneralRe: is it working just by windows mobile ??? Pin
Member 22777667-Sep-08 18:58
Member 22777667-Sep-08 18:58 
QuestionHow do i install this on my blackberry curve Pin
dexter8526-Nov-07 10:32
dexter8526-Nov-07 10:32 
AnswerRe: How do i install this on my blackberry curve Pin
Mehran Ghanizadeh28-Nov-07 9:06
Mehran Ghanizadeh28-Nov-07 9:06 
GeneralPalm Treo 700 wx Pin
DarkStarHarry23-Nov-07 16:38
DarkStarHarry23-Nov-07 16:38 
GeneralRe: Palm Treo 700 wx Pin
Mehran Ghanizadeh25-Nov-07 0:59
Mehran Ghanizadeh25-Nov-07 0:59 
Generalinteresting, but a bit unpolished Pin
GCRTA20-Nov-07 8:34
GCRTA20-Nov-07 8:34 
GeneralRe: interesting, but a bit unpolished Pin
Mehran Ghanizadeh20-Nov-07 9:58
Mehran Ghanizadeh20-Nov-07 9:58 
Thanks Dear GCRTA:
I'm glad to see that this low weight calc pleased you,

1) About the start icon, you're right. I forgot it since I have not access to a real device for a long time.

2) This program is a SmartPhone Application, althoght it can be run in .NET Compact Framework, in both SmartPhone and PocketPC, It has been optimized for SmartPhone.

3) Since the framework is the same, this application can be easily matched and optimized with PocketPC, and surely I'll do that, since as you said, It can be useful for many many users ...

4) This way of switching is the best way I found, although It cant be absolutely OK, but I'm sure it would bother you if I had designed it to lock the status of "MODE" key. so, there surely should be and will be a better way for switching of function keys. I'll think ... but also all of you, dear readers and tester, would be better to help me to find be better solution. so, I'm waiting for your suggestions.


Thanks again,
Regards, Mehran

.NET is the taste of life !

GeneralVery nice application Pin
Mohamamd Oweis20-Nov-07 1:39
Mohamamd Oweis20-Nov-07 1:39 
GeneralRe: Very nice application Pin
Mehran Ghanizadeh20-Nov-07 2:30
Mehran Ghanizadeh20-Nov-07 2:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.