F
F
Fotonick2015-07-01 12:16:09
Java
Fotonick, 2015-07-01 12:16:09

How to copy car database from Avito android application?

The Avito android application has a filter by car, where you can select the make and model of the car. How to make a similar function in your application? Is it possible to copy this functionality from the application's apk file? How is it generally implemented? Is the car database stored in the application or on the server?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ravil Shaimardanov, 2015-07-01
@ravil666

I'm not an expert in this area, but I read somewhere that you can parse the site and select the necessary information from there, google it, it might help

O
Oleg Gamega, 2015-07-01
@gadfi

the database is stored in the application, but not the fact that it is not encrypted, as for example with 2gis. There are many applications for viewing the database on the phone, for most you need root, look through them if it's not encrypted then just copy it.
If encrypted then parse the site.
Functionality cannot be copied, it is easier to write from scratch

I
itdroid, 2015-07-01
@itdroid

Most likely, the full auto database is stored on the server, the results of the latest queries can be stored on the client to speed up the display time. There is also a Rest API through which client applications receive a list of goods (in this case, cars). You can try to dig deeper inside the Android application and find the urls of Avito services, you can also understand how it works. This idea may not work for many reasons:
the code is obfuscated and does not understand anything.
server api closed.
As already mentioned, it is useless to copy the wrapper over the api - it is easier to write it again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question