PDA

View Full Version : need a help



patrik
03-24-2010, 10:51 AM
sir , iam going to develop a window based application which contains tababar and navigation bar both . i want to built a news application similar to new york times .

i want a sample code of news iphone application such as NYTimes iphone application which shows
latest news .
please if u can send me a sample code of this type of application on my mail id i will be thankfull to u .
prateek.trainee@im.chalkpad.in

jima6636
03-24-2010, 06:14 PM
um.....

StMako17
03-24-2010, 10:07 PM
mate was this thread meant for ty? if so he wont see it and im doubting if he can write code anyway.

patryk_w
03-26-2010, 06:27 PM
u might want to write some simple web app (something web based). it would b more than enough for news. this way u won't have have to compile anything and u won't pay for publishing.
just add


<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="touch-icon.png" />

in head section of normal web document and u r good to go.
when u add something like this to your home screen, 'touch-icon.png' will b icon for your webapp.

only important limitation is that u can't use push in something like that, but since u r asking for this kind of code u most likely wouldn't use push anyways

u can find something here: http://code.google.com/p/iui/
it's good for beginners ;)

StMako17
04-07-2010, 01:22 AM
@patryk_w so just create the entire webpage, then copy the HTML you posted to the top?

then when you go to the page, and create a home page app, it will do what exactly? change parameters?

patryk_w
04-07-2010, 06:23 PM
basically it sets scale and springboard icon. in this example it also turns off zooming.
'name="apple-mobile-web-app-capable" content="yes"' means that iphone os will treat this code as application