[android-beginners] Parsing Namespaced XML with XMLPullParser

2009-08-27 Thread Dave Bordoley
Can anyone point me to a good example of parsing namespaced XML (similar to atom) with and XMLPullParser. Google searching has been somewhat unfruitful so far. thanks, dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[android-beginners] Re: Mulittouch in android?

2009-07-22 Thread Dave Bordoley
Short answer is that the device driver supports it but the functionality is not exposed in the Java API. The hero most likely uses a hack see: http://groups.google.com/group/android-platform/browse_thread/thread/209b512a9fdf7367?pli=1 for the gruesome details. Dave On Wed, Jul 22, 2009 at 7:41

[android-beginners] Re: XML Parser

2009-07-20 Thread Dave Bordoley
XML Pull Parser is great. See http://developer.android.com/reference/org/xmlpull/v1/package-summary.html. Gives you the streaming benefits of SAX but is much easier to work with imo. Dave On Mon, Jul 20, 2009 at 11:32 AM, Victor Pantoja wrote: > > Hi > > I'm using SAX for parsing some XML files.

[android-beginners] Best practice for polling a remote resource periodically

2009-06-25 Thread Dave Bordoley
Hi All, I'm starting to write an app that will periodically poll an HTTP resource and use the data to update a View. My initial thought process on how this will work is that on application startup, my activity will spawn a worker thread that will maintain an object model of the data and update it

[android-beginners] Re: 500kb OPML parsing issues

2009-06-10 Thread Dave Bordoley
Use a SAX parser to parse the XML, see http://developer.android.com/reference/javax/xml/parsers/SAXParser.html. Dave On Tue, Jun 9, 2009 at 7:36 PM, renegadea...@googlemail.com wrote: > > Right this is the problem. I am trying to find specific words within > this large OPML file which content i

[android-beginners] Best practice for AsyncTask when screen is rotated

2009-06-02 Thread Dave Bordoley
So I have an AsyncTask that is being used to perform a simple http request in the background. As a constructor argument to the task, I pass a reference to the current activity and use methods on the activity to manipulate which gui elements are shown in the onPreExecute(), and onPostExecute() meth

[android-beginners] Re: Google Maps on Android

2009-06-01 Thread Dave Bordoley
Did you sign up and configure your application specific maps developer key? dave On Wed, May 27, 2009 at 10:52 AM, simonfro...@googlemail.com wrote: > > Hello Everybody! > > I currently getting started with developing for Android and I was just > doing the "MapView Tutorial" from http://develop