Android Application Development Tutorial - 159 - Finishing XML parser

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thanks for the great tutorial, I need to parse KML files in android, and this helped out quite a bit. Thanks for explaining what your different classes did, very helpful.

TimGrote
Автор

Please, now i want to get the text node within a certain localName, sometimes the tag has no attributes, for example <Country>Egypt</Country>, how can i get this text or textnode which is not assigned to any attribute?

MohammedAbdelnaby
Автор

@el0j two things to check (1) if you have set up permissions for INTERNET in the manifest (2) if you are using HoneyComb or IceCreamSandwich (Android 3.0 or above), use AsyncTask for loading streams/files from the internet. What was shown in the video probably only works for older SDKs

svchwsvchw
Автор

Hey I figured it out...we need to add INTERNET Permission to access google...
Thankyou for the great tutorial.

androiddeveloper
Автор

There's still a way to use the weather API it's quite easy you just need to trick the Google api into thinking your are google calender by adding this =en&referrer=googlecalendar directly after the location (eg. Richmond, VA) in the URL so add this on in the string builder part of the program. I hope this helps.

apauloo
Автор

i'd love to see it too, or perhaps you could a you tube response with how to do it ...either way i love to get the link

roughlyEnforcing
Автор

Tried adding this and it underlines StrictMode and wants me to create a new class for it...has no options to import. Am compiling for 2.2 like the tutorial says to but trying it on my phone 4.0.4.

jtkirk
Автор

Can you clarify how to use AsyncTask in this context?

MahmoudAbouEita
Автор

Hi guys...do we need to do something with the "Button" cause my app doesn't get information from internet. I have set up the permission into Minifes... The "Button" is doing nothing...

vofoni
Автор

Hy Brian, could you please send me the informations to use wunderground api instead of google!
Thank you!

DoctMartin
Автор

My View is black. No button, not textfields or Else? Everthing seems ok, nor error in DDMS. Whats the problem? Any Idea?

klofisch
Автор

(Title)The Joy Luck Club(/Title)
(AuthorsText)Amy Tan(/AuthorsText)
in startDocument method How do i get Title and Authors Text when I don't have attributes for title and AuthorsText????

Автор

Why wasn't a NetworkOnMainThreadError thrown, are you using an SDK lower than HoneyComb ?

Fabs
Автор

At 3.52 it says the current time in F is 84 degrees, isn't that supposed to be temperature?

Ethernet
Автор

Hey i am getting Error when I run it on my emulator. What could be possible wrong. I did exactly what the tutorial said...

androiddeveloper
Автор

Already available on travis offical website

imran
Автор

I dont get any error. The program just stops working at
xr.parse(new

herp_derpingson
Автор

if u guys enter whitespace in edit text, replace it with %20

phomaccuocdoi
Автор

Got Error . This code were not working same as series from 111-121 :(

imran
Автор

i have tried with %20 and it doesn't work :( any other solution for white space?

DanielMarinescu
join shbcf.ru