Fixed BUG0003
This commit is contained in:
parent
f884a89ad6
commit
e5c39eb203
3 changed files with 249 additions and 269 deletions
|
@ -12,17 +12,16 @@ import android.view.View;
|
|||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
|
||||
public class DisplayMessageActivity extends FragmentActivity {
|
||||
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
// Get the message from the intent
|
||||
Intent intent = getIntent();
|
||||
String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
|
||||
|
||||
|
||||
|
||||
// Create the text view
|
||||
TextView textView = new TextView(this);
|
||||
textView.setTextSize(20);
|
||||
|
@ -73,6 +72,7 @@ public class DisplayMessageActivity extends FragmentActivity {
|
|||
return rootView;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void share(){
|
||||
Intent intent = getIntent();
|
||||
|
|
|
@ -32,7 +32,7 @@ public class MainActivity extends FragmentActivity {
|
|||
|
||||
public final static String EXTRA_MESSAGE = "de.marcelkapfer.morseconverter.MESSAGE";
|
||||
public String tfOutput = "";
|
||||
int lastFragment = 0;
|
||||
public static int lastFragment = 0;
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
|
|
Reference in a new issue