[android-developers] How to move an image between an activity to another

2016-06-14 Thread Simon Usardi
I refer only to the java code...
Thank you in advance for your time.







-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/a432950d-0170-42f9-af0d-20f6bf90de72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: where am I wrong?

2016-06-13 Thread Simon Usardi
sardan Khan tnks for your time

Il giorno domenica 12 giugno 2016 17:14:52 UTC+2, Simon Usardi ha scritto:
>
> package com.example.non.inizializzareunaltraactivity;
>
> import android.content.Intent;
>
> import android.support.v7.app.AppCompatActivity;
> import android.os.Bundle;
> import android.view.View;
> import android.widget.EditText;
>
> public class MainActivity extends AppCompatActivity {
> public  final static String messaggioExtra = 
> "com.example.non.inizializzareunaltraactivity.MESSAGE";
>
> @Override
> protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_main);
>
> }
> public void invia(View view){
>
> Intent Portale = new Intent(this, PaginaMessaggio.class);
>
> EditText nascoasto = (EditText)findViewById(R.id.Hint);
> String y = nascoasto.getText().toString();
>
> Portale.putExtra(messaggioExtra, y);
> startActivity(Portale);
> }
> }
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/f12fd1e0-7029-4464-b1ea-e92e585dfe4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] where am I wrong?

2016-06-12 Thread Simon Usardi


package com.example.non.inizializzareunaltraactivity;

import android.content.Intent;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

public class MainActivity extends AppCompatActivity {
public  final static String messaggioExtra = 
"com.example.non.inizializzareunaltraactivity.MESSAGE";

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

}
public void invia(View view){

Intent Portale = new Intent(this, PaginaMessaggio.class);

EditText nascoasto = (EditText)findViewById(R.id.Hint);
String y = nascoasto.getText().toString();

Portale.putExtra(messaggioExtra, y);
startActivity(Portale);
}
}

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/baf053d4-dd01-4ef0-86c5-c001c35323ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.