Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 22, 2008, 10:58 PM   #1
moonraker928
macrumors newbie
 
Join Date: Dec 2008
a view which displays data from web

hey,
so i am trying to output a pie chart on one of the pages in my iphone app. one method i am attempting is to create a space on the iphone page which retrieves the display on a webpage which links to the google charts API

ex:

the blank iphone screen of my app will show a pie chart based on the pie chart that is shown when you visit: http://chart.apis.google.com/chart?c...hl=Hello|World

what are some ways i can go about accomplishing this line of thinking? or is there a much easier iPhone specific API i can use? other strategies?

i used the UICatalog sample code the SDK provided and edited the WebView section by replacing the http://www.apple.com URL with the one shown above and ran the app. nothing was shown on my screen, which means the content on that URL was not processed - why did this happen?
moonraker928 is offline   0 Reply With Quote
Old Dec 23, 2008, 01:39 AM   #2
a5sk4s
macrumors newbie
 
Join Date: Sep 2008
Problem seems to be "Hello|World". I'm not sure what the recommended URL encoding method is, but using "Hello%7CWorld" worked. The vertical bar is considered an unsafe character, hence the issue.
a5sk4s is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Retrieving Data from an iPhone in Recovery Mode Ash9414 iPhone Tips, Help and Troubleshooting 10 Dec 8, 2013 09:38 PM
screen scraping data from web database chill. Web Design and Development 6 Oct 13, 2010 09:52 AM
Request Data from Web Server CNuland iPhone/iPad Programming 4 Jun 17, 2010 12:29 PM
displaying the decoded image source which received data from socket to the screen JinRyu iPhone/iPad Programming 0 Apr 10, 2009 02:36 AM
First attempt at PHP/MySQL, not displaying data from 1st row in DB, what's wrong? edesignuk Web Design and Development (archive) 13 Nov 13, 2004 11:29 AM


All times are GMT -5. The time now is 11:40 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC