H
H
hudrogen2014-06-26 00:12:02
Java
hudrogen, 2014-06-26 00:12:02

How to start developing an application for viewing bus timetables from a website for Android?

Bus station website
I want to develop an application that will allow you to view the schedule from this site on the screen of a mobile device running Android. The user enters the application, enters in 3 fields EditActivity from where, where and the date, clicks on the button and in response receives information from the site with the schedule. Tell me how it can be implemented, what classes to use? Do I need to know web technologies? Prior to that, I developed applications for Android of a different nature, not related to obtaining information from sites (encrypted storage of test information, SMS filter).

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
jutsu, 2014-07-05
@jutsu

I am writing the same application, but for the cinema. All of them have a very similar structure and solutions to different problems.
You can parse the site in the app itself or on the server. I did it on the server, but in your case it's better to do it in the app. Next, you create a model. After receiving a collection of models, you fill in your list.

A
Andrew Pozunyk, 2014-06-26
@Upeek

json or xml depending on what the site gives, http request, AsyncTask

S
Stanislav Katkov, 2014-06-26
@lunaticman

You have 3 fundamental tasks:
1. Parse and catalog data from the site (maybe you should ask the site developer how to do it easier)
2. Create an API for an application that will return data
3. Create an application that will read data from your API.
You need to start from the first and continue as it turns out.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question