Answer the question
In order to leave comments, you need to log in
Habrahabr app for android?
I have long wanted to learn how to write for Android, I decided to start with an application for Habrahabr, for a smartphone and tablet, with selective autoload.
As I understand the API only gives information about the user. The posts themselves I think to take from the mobile version. However, I also wanted to implement tree-like branches in the comments, displaying the comment rating and karma (optional). Then I thought that it would be better to pass all this through my server, that is, take all new posts, squeeze all the pictures to reduce traffic (moreover, make 3-4 versions of pictures for different traffic load settings), process comments to give a convenient look, and then, using compression, users will be able to download all this for themselves. As a result, a day to process, well, I think 50 posts maximum. But the savings will be 10 times for users.
What ideas are there? What do you think should be done or what is the best way to implement it? At the moment, I have enough experience to make a web service out of this (with compression and changing the view for mobile devices) and customization. And yet, will there be any problems that the service will constantly parse habr? Won't block?
Answer the question
In order to leave comments, you need to log in
As an option, make a web service that will provide an API to get all the necessary information, the standard api from Habr has rather poor functionality. I think there will be enough clients who want to use this api.
As for specific technologies, I recommend looking here towards RESTful Web Services. And about your concerns about constant requests for habr, then nothing prevents you from caching the results.
So I join the answer above: the main thing is to do it.
pda.cnews.ru/
m.rbc.ru/
m.cnews.ru/
probably so - at least for a smartphone.
for a tablet to make up somehow differently.
use the existing 3 applications, swear at their shortcomings.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question