Hi Kunju,

First you should know about what data/request info do those 20 sites
need, to send back the flight rate for your request in some format
(JSON, XML etc.,).
That means, you first need to identify the below 2 points,
1. Individual 20 request URLs for each of your 20 sites.
2. The response format they send you (Mostly will be in XML or JSON).

Once you receive these 20 responses separately, it is up to you to
consolidate those 20 responses and show your response to your user.
i.e., Your code will do 20 different requests and will take those 20
responses into consideration for creating the display for your user.
However, you should take note of the time that will be taken for these
20 requests and processing those responses. Instead, you can try
researching for a single website/application that does all these
requests and consolidation and send you the consolidated response in
XML or JSON format which you can directly show to your user. You may
need to pay for this though, and the response consolidation cannot be
customized, obviously.

Regards,
Sravan





On Mar 10, 8:45 am, Spiral123 <cumis...@gmail.com> wrote:
> Wow.  I actually planned to be nice when I browsed the group this
> evening.
>
> Here is the kindest response that comes to mind:
>
> your post makes no sense.
>
> 1. Just because you decide to use JSON to send your flight data
> request to a number of websites does not mean that they will accept
> it.
> 2. How Google finds the data from the sites and displays it is
> something you need to ask them.  Without actually knowing I would
> guess that they tap into one or more aggregated data feeds that must
> already exist to serve travel agents.
> 3. If you know where you want to go from and where you want to go to
> and when then I suggest you research each of the 'several sites' you
> have in mind and find out what api (if any) they publish for 3rd
> parties like yourself.
>
> I would recommend that before you spend a lot more time working on
> this that you step back and work out if the end result that you have
> in mind is actually going to give any added value above all the
> existing solutions that are already out there.
>
> On Mar 8, 11:07 am, Kunju Vava <android...@gmail.com> wrote:
>
> > Hi
>
> > I am developng an app which displays fight ticket rate from  several sites,
> > i decided to use json to send the data,  the problem is there are 20 more
> > sites
> > showing the details of flight rate , so how we can write this URL, if the
> > data containe URL have big length and cannot find it
>
> > how the google find all the data  from sites and display
>
> > i give the input as from and to place and date of journey, based on this
> > input how we can finnd rate from a sites?
> > plse give any idea?
> > reply?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to