Typo during cut/past for:
String C = pullParser.getAttributeValue(null, "c");

On Feb 5, 12:08 am, Mystique <[email protected]> wrote:
> Hi Master Murphy,
>
> The list is a ArraryList<HashMap<String, String>>
>
> ArrayList<HashMap<String,String>> list = new
> ArrayList<HashMap<String,String>>();
>
>                         while (eventType != XmlResourceParser.END_DOCUMENT) {
>                                 if (eventType == XmlResourceParser.START_TAG) 
> {
>                                         // Get the name of the tag (eg scores 
> or score)
>                                         String strName = pullParser.getName();
>                                         if (strName.equals("tezt")) {
>                                                 HashMap<String,String> map = 
> new
> HashMap<String,String>();
>                                                 String A = 
> pullParser.getAttributeValue(null, "a");
>                                                 map.put("a",A);
>                                                 String B = 
> pullParser.getAttributeValue(null, "b");
>                                                 map.put("b", B);
>                                                 String c = 
> pullParser.getAttributeValue(null, "c");
>                                                 map.put("c", C);
>                                                 list.add(map);
>                                         }
>                                 }
>                                 try {
>                                                 eventType = pullParser.next();
>                                         } catch (IOException e) {
>                                                 // TODO Auto-generated catch 
> block
>                                                 e.printStackTrace();
>                                         }
>                         }

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

Reply via email to