Problem with continuos animation of children on long press of keys in a Viewgroup.

by Romain Guy » Sat, 07 Mar 2009 00:46:56 GMT

Sponsored Links
 Just call startAnimation(), but no need to start a thread.

Romain Guy
Android framework engineer

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them


Other Threads

1. browser failed because of "Failed to find provider info"

Can someone help me?


2. Listview populate with Xml file

Hello i search a tuto which show how to populate au listview with an
xml file of internet. I found one but it populate with attribut of a

xml file:
<recette name= Le Cari de Boeuf  type= Repas  Country= France 
nbrofpers= 4level= " content= Coupez le boeuf en morceaux
(style daube). mincez les oignons, coupez les tomates en petits
morceaux et pilez ail, sel poivre e>

public  ArrayList<ArrayList> renvoi_liste_recette_xml() throws

  ArrayList<ArrayList> aTableRetour = new ArrayList<ArrayList>();
  URL myURL = new URL("
  DocumentBuilderFactory fabrique = DocumentBuilderFactory.newInstance
  // cration d'un constructeur de documents
  DocumentBuilder constructeur = fabrique.newDocumentBuilder();
  Document document = constructeur.parse(myURL.openStream());
  Element racine = document.getDocumentElement();
  NodeList liste = racine.getElementsByTagName("recette");
  for(int i=0; i<liste.getLength(); i++){
          ArrayList<String> aTableauTmp =  new ArrayList<String>();
          Element E1= (Element) liste.item(i);
          //aTableRetour[i]= "";

  return aTableRetour;

I give you an exemple of my xml file(i would like to populate my
listview with the content of markers and not attributs):
xml file:
                <nom>L'ours blanc</nom>
                <heberg>Hotel ****</heberg>
                <nom>Le coin du paradis</nom>
                <heberg>Chambres d'hotes</heberg>
                <heberg>Hotel **</heberg>

If anyone know a tuto for that or if anyone can help me to fit the
fist code to my xml file it will be great because i'm blocked here ...


3. How to update the UI from service

4. color lookup table

5. How to turn off camera sound on G1?

6. reduce list view font size

7. ADC deadline drawing near