English 中文(简体)
i 电话: 检查铁路局状况和勘测培训[封闭]
原标题:iPhone app for checking Railway PNR Status and Train Enquiry [closed]

要求制定法典的问题必须 尽可能少地理解正在解决的问题。 包括尝试性解决办法,为什么他们做t工作,以及expected 结果。 另见:。 排出问题清单

Closed 9 years ago.

I wanted to make an app through which we can check our Railway PNR Reservation status and if possible we can do railway Enquiry also but main part is PNR status.

谁能告诉我如何开始? 是否必须为此执行任何计划,如果是的话?

<>UPDATED>:

实际上,一看网站的源代码是怎样做的,一则发现一个链接,在JSON......提供产出。

 { status :  OK ,  data : { passenger : [{ status :  RAC   44 ,  seat_number :  W/L    8,RLGN }],  from :  PUNE ,  alight :  DMN ,  pnr_number :  8162588905 ,  train_number :  *11039 ,  to :  DMN ,  board :  PUNE ,  train_name :  MAHARASHTRA EXP ,  travel_date : { date :  1-12-2011 ,  timestamp : 1322697600},  class :  SL }}

I dont知道如何教化JSON,因为我只知道NSXMLParser...... 我看到了许多联系,但要么一米不正确,要么不理解。 任何人都能够这样做,并向我解释。 我将非常感谢他。

最佳回答
问题回答

here is another Api for getting pnr status in JSON format. http://www.eyvaiinfotech.in/mobile/api.php?pnrno=2449943541





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...