Actually it's because of this line, which took me two days to figure
out when I was doing it:
In class A:
...
btOk.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
bus = new Intent(AndTeste.this,
Buscador.class);
===
The proper way to do this is to provide an int value for requestCode
in startActivity. Then in OnActivityResult you have a
switch(requestCode) and within each case you have a switch for
resultCode. You seem to be confusing requestCode and resultCode.
Your requestCode should probably be something
2 matches
Mail list logo