[android-developers] Re: ProgressDialog and sub activities

2009-03-31 Thread vincent.gann...@gmail.com
Any idea? --~--~-~--~~~---~--~~ 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] ProgressDialog and sub activities

2009-03-29 Thread vincent.gann...@gmail.com
Hi all, I have a main activity that launches a sub activity when the user clicks a button as follows: private OnClickListener buttonDirectoryListener = new OnClickListener () { public void onClick(View v) { Intent intent = new Intent(); intent.setClass(Main.this, Sub.class);

[android-developers] Re: ProgressDialog and sub activities

2009-03-29 Thread vincent.gann...@gmail.com
I'm not sure cause it's an indeterminate one. --~--~-~--~~~---~--~~ 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

[android-developers] Parsing date with SimpleDateFormat

2009-03-27 Thread vincent.gann...@gmail.com
Hi all, I'm trying to parse the following date string Fri, 12 Jan 2007 10:00:00 +0100 using SimpleDateFormat. Here is my code : Date date; String pubDate = Fri, 12 Jan 2007 10:00:00 +0100; SimpleDateFormat format = new SimpleDateFormat(EEE, dd MM HH:mm:ss zzz); try { date =

[android-developers] Parsing #xx; characters in XML

2009-03-26 Thread vincent.gann...@gmail.com
Hi all, I'm using a DOM parser to parse XML from Google News. Unfortunaltly, the XML is full of #39; characters and the parser cannot deal with them properly. Is there any way to achieve parsing correctly? Am I missing something? Thanks. --~--~-~--~~~---~--~~ You

[android-developers] Re: Passing parameters to new Activity

2009-03-06 Thread vincent.gann...@gmail.com
Works fine! Thanks Marco. --~--~-~--~~~---~--~~ 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

[android-developers] ListView with TextFilter

2009-03-06 Thread vincent.gann...@gmail.com
Hi all, I have a ListView with the text filter enabled plus an OnItemClickListener. I don't understand how to find out which item from my initial list was clicked because in void onItemClick (AdapterView ? parent, View v, int position, long id) position gives the current position of the clicked

[android-developers] Re: ListView with TextFilter

2009-03-06 Thread vincent.gann...@gmail.com
It works! Great! Thanks Romain :-) --~--~-~--~~~---~--~~ 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,

[android-developers] Passing parameters to new Activity

2009-03-02 Thread vincent.gann...@gmail.com
Hi all, I'm programming an Activity that launches a second one through startActivity just like in the Forwarding example. The main difference is that I'd like to pass some data to the second Activity when starting it, for example an item selected in a list owned by the first Activity. I can't