a query.
I try to send data through a variable from one activity to another, but I can not extract the value.
I send it this way:
Intent intent = new Intent(this, EssenMain.class);
intent.putExtra("foto",account.getPhotoUrl());
startActivity(intent);
And I receive it in this way in the other activity:
Bundle bundle = this.getIntent().getExtras();
if(bundle !=null) {
String fotoString = bundle.getString("foto");
But it is the case that although the data is in the bundle, I can not pass it to the String fotoString variable, which acquires a value of null.
This is validated in the debug mode, of which I attach an image.
Please your help and thank you