You should probably include the URL of the calendar application (if you can) if you expect any sort of useful response.
But, since you've posted a question for an online calendar that apparently (?) loads the calendar dynamically with javascript you could try checking if the calendar uses any AJAX-service on the HTTP server to retrieve the calendar events (using for instance Firefox with the Firebug plug-in). That would typically yield a more parseable source of calendar data (such as a REST service returning JSON or XML) than trying to pick apart javascript. (Checking the TOS for the service might also be a nice gesture, they may not be too keen on 3rd parties piggy-backing on their calendar) On 6 Apr, 17:52, Neutron_boy <[email protected]> wrote: > I am fairly new to Android, but have some experience reading and > understanding code, including Java. > My question is: If I want to parse a URL such as a calender from a web > page, how do I go about this? > > My thoughts: To pull the XML, do I use text? > i.e.: > > try { > URL text = new URL( http:// and here is where I am not sure what to > have. The script below is the source for the calender in the XML of > the website > <script type="text/javascript" > src="9278a6f3de5f9e54f2aeeb74ac1f0a7eembedcompiled__en.js"></script>) > > Do I then follow with XmlPullParserFactgory parserCreator = > XmlPullParserFactory.newInstance(); > XmlPullParser parser = parserCreator.newPullParser(); > > parser.setInput(text.openStream(), null); Do I still use an open > stream here? > > rest of code....... > > Thanks in advance for the help and insoght -- 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

