Global variable

Discussion in 'Android Apps & Games' started by shirkkan, Oct 31, 2010.

  1. shirkkan

    shirkkan New Member
    5

    Oct 31, 2010
    3
    0
    5
    Hello!

    I have two activities, and I want them to share a global variable, so one of them shows it in the screen, and the other activity change it's value.

    I have tried everything I have found on the internet for sharing global variables, but I always tell me an application error when I run it on the phone.

    I would like to know how can I share that variable between the two applications.

    Thanks in advance!
     

    Advertisement

Share This Page

Loading...