Any reason you just can't use plain old html and innerHTML, I'm doing
that to display the media list in my app, I can easily scroll through
a list of more than 300 videos quite quickly.

I will have a demo version in a few days, but basically I use xml to
build most of the navigation, my iphone app is designed to access upnp
media servers via a custom java server I designed, I just keep passing
request queries in the form of content Id's back an forth. but when I
got to actually building the playlists I ran into a problem.

Apparently the servers I go after are not producing well formed xml,
which made passing the xml to app difficult, unless I wanted to run it
through a verification parser. AND the content lists could could be
hurge, Even implementing a simple paging scheme. I solved the problem
by (and this maybe is the answer to your question) generating the html
in the java program and doing an innerhtml just replacing that give
with my generated list. This proved extremely fast.

There are of course security issues and InnerHTML is considered bad
form in some circles but in certain tasks its sometimes the best way
to go. Some solution using JSON could also work.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to