I went through the NotePad tutorials and got the minimum hang of it.
Unfortunately, when I tried creating my own application, I failed.
Here's my main class file:
package com.tastekid.TasteKid;
import android.app.Activity;
import android.os.Bundle;
public class TasteKid extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
Here's main.xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<EditText
android:id="@+id/search_input"
/>
</LinearLayout>
When I try to start the app on the emulator I get an "The application
TasteKid (process com.tastekid.TasteKid) has stopped unexpectedly.
Please try again." with a "Force close" button. I have absolutely no
idea what I am doing wrong :-(
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---