Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Calculating in android

Calculating in android

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Calculating in android

Postby Drakenus » Wed May 19, 2010 8:49 pm

Hello,
I´m newbie to android, but i'm learning quickly
Before I have coded in PHP and Javascript...
But I would like tutorial where you can show me how to do some calculations like a calculator and I need to know how to input numbers in my app which is supposed to calculate equation ( I mean something easy like this 15/5+21-6+ln5-PI = xxx ) i read some texts and I didn't find solution and any example of it. please help
Thanks for help and tutorial if there will some
Drakenus
Freshman
Freshman
 
Posts: 2
Joined: Wed May 19, 2010 4:41 pm

Top

Re: Calculating in android

Postby Trip » Sat May 22, 2010 3:31 am

ditto ... any information on declaring functions would be useful
Trip
Junior Developer
Junior Developer
 
Posts: 19
Joined: Sat May 22, 2010 2:58 am

Re: Calculating in android

Postby Trip » Tue May 25, 2010 4:16 am

you'll need to break down your string and have functions to call the different operators with variables
shouldnt be to difficult

private Double domath(action, value, sourcevalue){};
Trip
Junior Developer
Junior Developer
 
Posts: 19
Joined: Sat May 22, 2010 2:58 am

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests