[android-developers] i have problem about listview adding can any one help me?

2011-08-31 Thread Jhew SAN
package com.cityweather; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import

[android-developers] I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
Logcat say error this line viewInfo.removeViewAt(positionToRemove); final ListView viewInfo = (ListView)findViewById(R.id.listView1); final SWFForeCastInfoLayoutAdapter adapter = new SWFForeCastInfoLayoutAdapter(this, data, data.getCurrentConditionData());

[android-developers] Re: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
change from viewInfo.removeViewAt(positionToRemove); to what -- 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] Re: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
i will send my full source to ur mail what is ur mail -- 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] Re: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
i don't know. plz tell me -- 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

[android-developers] Re: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
adap.remove(); don't have have only adapter.registerDataSetObserver(); -- 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] Re: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
how can i change that line? -- 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] MODE_APPEND can not use

2011-09-01 Thread Jhew SAN
@Override public View getView(int position, View convertView, ViewGroup parent) { // TODO Auto-generated method stub if(convertView==null){ if(convertView==null){ convertView = (LinearLayout)layoutInflater.inflate(R.layout.searchlayout, null); TextView tx1 =

[android-developers] i do weather forecast and have problem about add city

2011-09-03 Thread Jhew SAN
i can only add city one line now i get data from google how can i save data and add city delete city e mail tawisak.ruksu...@gmail.com -- 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] how to loop XmlSerializer

2011-09-04 Thread Jhew SAN
This is for 1 time File newxmlfile = new File(/sdcard/new.xml); try{ newxmlfile.createNewFile(); }catch(IOException e){ Log.e(IOException, exception in createNewFile() method); } FileOutputStream fileos = null;

[android-developers] how to make iteration XmlSerializer for store data

2011-09-06 Thread Jhew SAN
File newxmlfile = new File(/sdcard/sss.xml); try{ newxmlfile.createNewFile(); }catch(IOException e){ Log.e(IOException, exception in createNewFile() method); } FileOutputStream fileos = null; try{

[android-developers] How can i remove item in listview

2011-09-12 Thread Jhew SAN
listViewInfo = (ListView)findViewById(R.id.listView1); tempListAdapter = new SimpleAdapter(this, weatherlist, R.layout.list_row, new String[] {city, low, high}, new int[] {R.id.CITY_CELL, R.id.LOW_CELL, R.id.HIGH_CELL}); listViewInfo.setAdapter(tempListAdapter);

[android-developers] How to delete tag in XmlSerializer when i remove from listview

2011-09-13 Thread Jhew SAN
package demo.weatherforecast.main; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import org.xmlpull.v1.XmlSerializer; import

[android-developers] how can i get data value from ArrayListHashMapString, String weatherlist to string

2011-09-13 Thread Jhew SAN
listViewInfo.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView? a, View v, final int position, long id) { // TODO Auto-generated method stub AlertDialog.Builder adb = new AlertDialog.Builder( EditCity.this); adb.setTitle(Delete?); adb.setMessage(Are

[android-developers] Re: how can i get data value from ArrayListHashMapString, String weatherlist to string

2011-09-13 Thread Jhew SAN
I want to get value from weatherlist to write in XML -- 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