xhr / ajax in android

3 views
Skip to first unread message

Ben Carlson

unread,
Nov 29, 2009, 3:35:14 PM11/29/09
to phonegap
I'm trying out phonegap, and as a first app, I thought I'd build a
simple feed reader. I'm using jquery and jfeed, and have it working
fine running on my local web server (wamp, not that it matters). What
I'm having problems with is that the rss content won't load in the
emulator, although the rest of the app runs fine. No errors, warnings,
etc. Just simply won't load.

I'm thinking this is due to the whole security model of not allowing
cross-domain javascript requests?

On my iPhone I have tweetdeck and facebook, those are obviously making
a similar request... what do I need to do to accomplish loading an rss/
atom feed?

Thanks in advance!

-Ben Carlson



Ben Carlson

unread,
Nov 30, 2009, 7:57:31 AM11/30/09
to phonegap
Well, I spent about 1/2 an hour more working on this, and ended up
figuring it out. My path to the local server feed was missing the
http://localhost DOH!

Anyways, I have it working off of a live website rss feed, and it
seems just fine to me.

-Ben
Reply all
Reply to author
Forward
0 new messages