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
romain...@android.com

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?




--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

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
marker:

xml file:
<listerecette>
<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>
</recette>
<listerecette>

Java:
public  ArrayList<ArrayList> renvoi_liste_recette_xml() throws
Exception{

  ArrayList<ArrayList> aTableRetour = new ArrayList<ArrayList>();
  URL myURL = new URL("http://www.dgentreprises.com/recette/
listerecette.php");
  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]= "";
          aTableauTmp.add(E1.getAttribute("name"));
          aTableauTmp.add(E1.getAttribute("content"));
          aTableRetour.add(aTableauTmp);
  }

  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:
<liste>
        <item>
                <nom>L'ours blanc</nom>
                <heberg>Hotel ****</heberg>
                <tel>321-123-4567</tel>
                <email>oursbl...@menuirs.com</email>
        </item>
        <item>
                <nom>Le coin du paradis</nom>
                <heberg>Chambres d'hotes</heberg>
                <tel>0450257569</tel>
                <email>para...@menuirs.com</email>
        </item>
        <item>
                <nom>L'Albanc</nom>
                <heberg>Hotel **</heberg>
                <tel>0473589898</tel>
                <email>alb...@menuirs.com</email>
        </item>
</liste>

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 ...
Thanks
Sweet

--~--~---------~--~----~------------~-------~--~----~

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