Check the default text of the text view inside the main.xml. In 1.5, this is set there and not in the string xml file.
On Tuesday, June 9, 2009, devycn...@googlemail.com <devycn...@googlemail.com> wrote: > > Hello All, > I have added or followed all steps as it is given in the tutorial > guide. > Strings.xml > ---------------- > <?xml version="1.0" encoding="utf-8"?> > <resources> > <string name="hello">Hello World, HelloAndroid!</string> > <string name="app_name">Hello, Android</string> > </resources> > 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" > > > <TextView > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:text="@string/hello" > /> > </LinearLayout> > > HelloAndroid.java > ------------------------ > package com.example.helloandroid; > > import android.app.Activity; > import android.os.Bundle; > > public class HelloAndroid extends Activity { > /** Called when the activity is first created. */ > �...@override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > } > } > > To run this program should give an output as "Hello World, > HelloAndroid!" in the simulator > But I am only getting output as "Android" nothing else, clicking many > times all possible buttons. > > But I get error like > Framework Resource Parser] Collect preferences failed, class org/ > xmlpull/v1/XmlPullParser not found in C:\ycnano\Installable\android- > sdk-windows-1.5_r2\platforms\android-1.5\android.jar > > I am little confuse where exactly the problem could be. > If anybody highlights would be great.. > > Thanks > ycnano > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---