emanuele-f / PCAPdroid

No-root network monitor, firewall and PCAP dumper for Android
https://emanuele-f.github.io/PCAPdroid
GNU General Public License v3.0
2.08k stars 260 forks source link

Using /sdcard as a database location #393

Closed anpic closed 6 months ago

anpic commented 6 months ago

There is a solution to this problem https://github.com/emanuele-f/PCAPdroid/issues/379 Start using sdcard to save the geolocation database. Saving the database in /sdcard/Android/data/com.emanuelef.remote_capture/ by default Or to some other directory of the user's choice. Then you really only have to export and import SharedPreferences

emanuele-f commented 6 months ago

It does not make sense to save the geolocation database, as it's something that can be downloaded at any time. This is rejected

anpic commented 6 months ago

as it's something that can be downloaded at any time

Excellent understanding of automation tasks :) And if it needs to be done on hundreds of devices? A thousand? Okay, there's no time, so there's no time :(

emanuele-f commented 6 months ago

No it's not about time, this just does not make sense. Under any circumstances, in any universe

anpic commented 6 months ago

Under any circumstances, in any universe

Well, if you are aware of this so clearly, how can you automate the complete transfer of all app settings without internet on a local network between any number of devices? In my universe, need to downgrade the target version of PCAPdroid and make a data backup by bu or adb on one device and then transfer it to the rest. And in yours? Although there is probably no automation in your universe. And only slave manual labor is allowed :(

emanuele-f commented 6 months ago

Again, the geolocation database is not an app setting, there is no use to back it up. Using without Internet is yet another unfeasible use case, and if you really want, you can download yourself after doing the backup, this discussion and task has no sense

anpic commented 6 months ago

Again, the geolocation database is not an app setting

What? ;) Don't believe your eyes :)

Using without Internet is yet another unfeasible use case

Do you already deny the existence of local and internal corporate networks? ;)

you can download yourself after doing the backup

So it's about not just automatically making a backup but also automatically restoring it. And besides without root.

this discussion and task has no sense

You keep saying that every time you don't have a technical argument ;) But it's very funny that a programmer, moreover, who probably automates other people's tasks, denies the importance of automation :)