How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask JoelK Your Own Question

JoelK
JoelK, Electrical Engineer
Category: Programming
Satisfied Customers: 553
Experience:  I am an MIT graduate with a Master of Science Degree in Electrical Engineering from UC Berkeley.
76287196
Type Your Programming Question Here...
JoelK is online now

Problems with Android java calculator project

Customer Question

Problems with Android java calculator project - The text area does not display correct data.


Getting following errors:


Errors:


Press: 7.6 + 9  
This should all display on the TextView


Press: 12
This display as 12.00 - as decimal point has not been used, it should display as 12 only


Press: 6+4 = 1
Display 13.01
If any number is XXXXX after any result, it should set all to zero, unless user press +,-,*,/ than it should continue to hold and use for calculation


Press: +/_
Display -0.0, but should display -0 only and able to add number
Example 1: +/- 1 should get -1
Example 2: +/- able to display on the screen so if user press 4.5+5= (get 9.5) * +/-2 it should display 9.5*-2


Del button - it is working, but when it is delete all number, it should display 0


 


Here are all code and errors:


http://wikisend.com/download/391368/Calculator.zip


 

Submitted: 2 years ago.
Category: Programming
Expert:  Russell H. replied 2 years ago.
Thank you for asking your question here at JustAnswer.com. My name is XXXXX XXXXX I will do my best to answer your question today.

Does the text:
"Press"
ever display?

Does the code compile properly and produce object code / a .Class file ?

What is the time-frame for making this all work?

Thanks.
Customer: replied 2 years ago.

Hi


Thanks for helping.


The app compiles and work with out any general errors, the errors are during the processing the functions.


If you create new app project and copy and paste the codes in, you will see the errors if you use the errors text file.

Expert:  Russell H. replied 2 years ago.
Given that this is for Android, I unfortunately can't work on it. I have Opted Out, opening the case to any other Expert in this category that will take on the case.
Customer: replied 2 years ago.

Ok


Just please somebody can help me, as the time is ticking.


 


Note: I did mention on the start that it is Android.

Customer: replied 2 years ago.
Relist: Other.
The expert didn't help to solve me the problem
Customer: replied 2 years ago.
Relist: Other.
The expert didn't help to solve me the problem
Customer: replied 2 years ago.
Relist: I still need help.
Expert:  adamd-mod replied 2 years ago.

Hello there,

I've been working hard to find a Professional to assist you with your question, but sometimes finding the right Professional can take a little longer than expected.

I wonder whether you're ok with continuing to wait for an answer. If you are, please let me know and I will continue my search. If not, feel free to let me know and I will cancel this question for you and refund your deposit.

Please note, I am just a moderator for this category, I can only try and find experts to help, I can't answer the question itself.

Thank you!

Adam

Customer: replied 2 years ago.

I still need help, so please keep the question active.


 


I was charged twice for this question. I have already request refund for the one of the payment.

Expert:  adamd-mod replied 2 years ago.

Hello,

Thanks for replying.

We will continue to look for a Professional to assist you.

If you decide on a refund, or wish to keep the credit for a future question, then of course we'd honour it.

Thank you for your patience,

Adam

Expert:  JoelK replied 2 years ago.

Hello. I am not sure what problem you are describing. Are you compiling C++ code on a pc for an Android calculator application? I have a background in this area, and I will do my best to assist you.

Customer: replied 2 years ago.

Hi Joel

Thank you for help.

 

I am using eclipse to for building the Android app and java codes.

 

Please see the files:

http://wikisend.com/download/391368/Calculator.zip

 

If you run the codes, you will see the errors which are the problems (they are explained in the errors text file.

 

The system does compile without any problems, but the process is not as it should be.

 

 

Expert:  JoelK replied 2 years ago.

I must tell you that I cannot help you at the present time. I do not do Java and I am not familiar with the Eclipse runtime environment.

 

I wish you good luck with your programming project, and I am sorry that I am not able to help you with your debugging.

Expert:  JoelK replied 2 years ago.

I am going to opt out and reopen this question to anyone who knows the Java programming language.

Customer: replied 2 years ago.

Hi


I have fixed the errors.


Could you please close the call and organise refund please.


Thank you


 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
< Previous | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
 
 
 

Meet The Experts:

 
 
 
  • ATLPROG

    ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7260
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
< Last | Next >
  • http://ww2.justanswer.com/uploads/SP/spatlanta2010/2011-6-23_12450_photo.64x64.gif ATLPROG's Avatar

    ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7260
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Computer Software Engineer

    Satisfied Customers:

    5514
    Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
  • http://ww2.justanswer.com/uploads/lifesaver333/2010-10-17_191349_ls.jpeg lifesaver's Avatar

    lifesaver

    Computer Software Engineer

    Satisfied Customers:

    936
    Several years of intensive programming and application development experience in various platforms.
  • http://ww2.justanswer.com/uploads/EH/ehabtutor/2012-8-2_202016_1.64x64.jpg ehabtutor's Avatar

    ehabtutor

    Computer Software Engineer

    Satisfied Customers:

    766
    Bachelor of computer science, 5+ years experience in software development, software company owner
  • http://ww2.justanswer.com/uploads/eljonis/2010-01-06_130406_eljon2.jpg Eljon's Avatar

    Eljon

    Consultant

    Satisfied Customers:

    558
    Founder of StockCanvas.com
  • http://ww2.justanswer.com/uploads/FA/fael/2011-1-15_104041_profile500x500.64x64.jpg Rafael Martins's Avatar

    Rafael Martins

    Computer Software Engineer

    Satisfied Customers:

    446
    Desktop, Mobile and Web Developer. 7+ years of experience. Creative solutions provider.
  • http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

    The-PC-Guy

    Software Engineer

    Satisfied Customers:

    320
    Extensive Knowledge in PHP, MYSQL, CSS & Javascript