Hello,

  i am able to get the data from the server.the parsed data i has to show
into  Two activities in the first as text... and in the  second activity as
list ..am able to show in the text field but am unable to show in the list
view ....(in the first activity i will have a abutton when i click on that
in the second activity a list has to appear.....



first activity....

handler =*new* XMLhandler();

Xml.*parse*(sb.toString(), handler);

tv1.setText(ItemStructure.*name*);

myList= handler.retrieveItemStructureList();

Log.*i*("List :::::","R:"+handler.retrieveItemStructureList());

Log.*i*("Res:","R:"+sb.toString());



second activity




XMLhandler handler=(XMLhandler) getIntent().getSerializableExtra("handler");

ArrayList <ItemStructure> *items*=handler.retrieveItemStructureList();

 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
                                android.R.layout.simple_list_item_1);
                setListAdapter(adapter);



so can anyone give me guidance ....

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to