Answer the question
In order to leave comments, you need to log in
How to create an Android mobile application for a website?
Good day. I beg you, tell me the direction? There is one site, something like a social network. You can send instant messages, chat with users, view photos, create an account. I really want to make a client application for Android for this site. As a matter of fact, I started to learn Java programming. But I don't know where to go. I paid for the courses, I quietly go through them because I come home from work very late. There is a desire but a lot of pitfalls. I want to learn, but to see at least some kind of result. Roughly speaking, to study in the chosen direction to implement the task, and along the way to study other directions and put them into practice ... But still I want to make at least a simple application with sending messages, or at least implementing a chat. What do I need to study for this and in what direction should I move? I don’t know what API of the site and whether it exists at all (((
Answer the question
In order to leave comments, you need to log in
1. read about asynchronous networking.
2. learn how to work with post/get requests
3. learn how to work with parsers, especially if there is no API, you will have to parse html
a lot of them, but I love jsoup because of the ability to work with selectors. by analogy with jquery (javaScript) you can google.
4. read about json/xml (if there is an API, they use json more often)
5. Learn to work normally with lists. List, ListArray, etc.
6. Learn to work with custom adapters.
a good Api site for example vkontakte description
i.e. in other words, this is what the site will respond to a get request like yousite.com?userid=1&token=jrhbmgjhgbbnmmhkik5l&im=all - displaying all messages
the project plan is simple , which cannot be said about the implementation
1. create a website with a chat and api
2. in the Activity of the application make a request
3. in the Activity process the response
all the main work will go to the security of the site and the application, for example, to authorize the user ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question