dimanche 24 avril 2011

Android Activity

I succeeded to have a simple Activity working with pointer and keyboard events:

public class HelloAndroidActivity extends Activity {

    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {
        TextView tv = new EditText(this);
        tv.setText("This is an EditText view in an AWT Window: \n");

I can't go further without the Binder IPC system. It's an important piece of software in Android because almost all the public application framework relies on it to find and use services (window manager, audio, input methods, ...)

There is a temporary hack to replace the IPC system (for the graphical part only):

The current start process is:

Aucun commentaire:

Enregistrer un commentaire