1. Check out our app, Forums for Android! Download and leave feedback here!

[Q] Force Closed When Subtracting

Discussion in 'Application Development' started by xsxbluexsx, Oct 17, 2010.

  1. xsxbluexsx

    xsxbluexsx New Member
    Thread Starter
    5

    Oct 17, 2010
    3
    0
    5
    For some reason my program closes when this command is ran.

    let a represent 50
    let b represet 32
    yes i already have variables set up.

    Code (Text):
    1. textOutcome.setText(50 - 32);
    Everythine is imported and varables are set. but it force closes on that command and im 100% sure of it.

    Can Any one atleast solve this issue?
     

    Advertisement

  2. mohitjaitly

    mohitjaitly Active Member
    15

    Oct 18, 2010
    34
    0
    15
    India
    try to debug the issue. you sure textOutcome is initialized ?
     

Share This Page

Loading...