T
T
tutunges2015-12-15 11:51:54
Android
tutunges, 2015-12-15 11:51:54

How to create an android application using php example?

Explain on the fingers how to implement?
I want to make an application for android (duplicate the site).
site structure:
index.php (sections) -> list.php (list of articles) -> story.php (article)
* when accessing index.php, all sections are displayed
* when clicking on a section, you go to list.php and use the GET method the section ID is passed, a list of articles whose parent is the passed ID is displayed
* when you click on the article, you go to story.php and the article ID is passed using the GET method, the article with the passed ID is displayed
*all data is stored in SQL
QUESTION: How to implement the same scheme in android studio?
As I looked (read) it should look something like this:
activity1 (sections) -> activity2 (list of articles) -> activity3 (article)
How to pass ID between activities?
Where to store articles (base, xml, txt)?
How to make a selection for a list of articles of a specific section?
How to display the article itself?
The amount of data is not large, about 300 articles.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
IceJOKER, 2015-12-15
@IceJOKER

And you want to get all the answers to your questions?
Here is a list of topics you should learn : Activity, fragment, bundle, sqlite, xml, json
SQL doesn't store anything, it's a query, data is stored in a database (mysql, sqlite...)
Look! 100500 topics covering everything you need!
Or cook $$$, I can write

A
Anton Shcherbakov, 2015-12-15
@WestTrade

- Deploy the site on the hosting.
- Write an API for connecting third-party applications.
- Take Apache Cordova, write a shell in JS + HTML + CSS. Learn how to cache data.
- PROFIT!

N
Nicholas, 2015-12-15
@ACCNCC

Make a website and output it via cordova and you will have an application)

T
tutunges, 2015-12-15
@tutunges

The site is deployed and has a mobile version, for this reason I don’t see much point in making the application work over the network.
I want the app to work offline.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question