Answer the question
In order to leave comments, you need to log in
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
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
- 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!
Make a website and output it via cordova and you will have an application)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question