import java.util.*; import java.util.zip.*; import java.util.List; import java.util.regex.*; import java.util.concurrent.*; import java.util.concurrent.atomic.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.text.*; import javax.swing.table.*; import java.io.*; import java.net.*; import java.lang.reflect.*; import java.lang.ref.*; import java.lang.management.*; import java.security.*; import java.security.spec.*; import java.awt.*; import java.awt.event.*; import java.awt.image.*; import javax.imageio.*; import java.math.*; import android.app.Activity; import android.view.View; import android.widget.*; public class main { public static void main(String[] args) throws Exception { androidUI(new Runnable() { public void run() { try { ListView lv = new ListView(androidActivity()); androidShow (ascroll(lv)); } catch (Exception __e) { throw __e instanceof RuntimeException ? (RuntimeException) __e : new RuntimeException(__e); }}}); } static void androidUI( final Runnable r) { androidActivity ().runOnUiThread(r); } static Activity androidActivity() { return (Activity) androidContext_gen(); } static void androidShow(final View view) { androidActivity().runOnUiThread(new Runnable() { public void run() { try { androidActivity().setContentView(view); } catch (Exception __e) { throw __e instanceof RuntimeException ? (RuntimeException) __e : new RuntimeException(__e); }}}); } static ScrollView ascroll(View v){ ScrollView sv = new ScrollView(androidActivity ()); sv.addView(v); return sv; } static Object androidContext_gen() { return getAndroidContext_gen(); } static Object androidContext; static Object getAndroidContext_gen() { return androidContext; } }