Elements. Build native projects for any modern development platform, using the language(s) of your choice. Oxygene (Object Pascal), C#, Swift, Java, Go. | RemObjects Software

FirstAndroidApp

Language: Iodine, Platform: Cooper, Category: Android
https://github.com/remobjects/ElementsSamples/tree/master/Iodine/Cooper/Android/FirstAndroidApp

DisplayMessageActivity.java

package org.me.firstandroidapp;

import java.util.*;
import android.app.*;
import android.content.*;
import android.os.*;
import android.util.*;
import android.view.*;
import android.widget.*;

public class DisplayMessageActivity extends Activity
{
	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);

		Intent intent = getIntent();
		String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);

		TextView textView = new TextView(this);
		textView.TextSize = 40;
		textView.Text = message;
		ContentView = textView;
	}

}