working with android intents how to pass arguments between father and the intent h in

Posted by yoavstr on Stack Overflow See other posts from Stack Overflow or by yoavstr
Published on 2010-06-07T13:35:49Z Indexed on 2010/06/07 13:42 UTC
Read the original article Hit count: 179

Filed under:

assuming i want to open another activity from my current activty and i want to pass her arguments such as in my case diffculty level how i do it?...

newGameButton.setOnClickListener(new OnClickListener() {
        public  void onClick(View view) {

            Intent i = new Intent(countryCityGameMenu.this,GameScreen.class);    
            startActivityForResult(i, GlobalDataStore.STATIC_INTEGER_VALUE);

        }
    });

is there a way to pass those arguments in the calling ?...

thankx

© Stack Overflow or respective owner

Related posts about android