Android Whatsapp 数据存储 - 所有数据都存储在手机本地?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21663738/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Whatsapp data storage - all data stored locally on phone?
提问by Nikhil
Its possible to receive a huge number of images/text if you are part of Whatsapp groups. Are these stored locally on my phone ?
如果您是 Whatsapp 群组的一部分,则可能会收到大量图像/文本。这些是本地存储在我的手机上吗?
I'm able to continuously "Load earlier messages" even when the phone isnt connected to internet so these must be stored locally. Is there a way to keep images in the server.. maybe this way the images can be of higher resolution too.
即使手机未连接到互联网,我也可以持续“加载较早的消息”,因此这些消息必须存储在本地。有没有办法将图像保存在服务器中..也许这样图像也可以具有更高的分辨率。
采纳答案by marino
Yes, Images, like all media and messages received through WhatsApp, are stored locally. They're stored in /data/data/com.whatsapp/
and can't in any way be saved on a server.
是的,像所有通过 WhatsApp 接收的媒体和消息一样,图像都存储在本地。它们存储在/data/data/com.whatsapp/
服务器中并且不能以任何方式保存在服务器上。
In iOS, the files are in /var/mobile/Containers/Shared/AppGroup/*/Message/Media
(where * is the whatsApp folder). You need to have jailbreak to access the folder.
在iOS 中,文件位于/var/mobile/Containers/Shared/AppGroup/*/Message/Media
(其中 * 是 whatsApp 文件夹)。您需要越狱才能访问该文件夹。
回答by Vinod Kumar
In WhatsApp, all the data will be stored in your device. Any message and image will get stored in your phone. Both chat history and images will be stored in a database on the device and images will be visible through the gallery within a folder named WhatsApp.
在 WhatsApp 中,所有数据都将存储在您的设备中。任何消息和图像都将存储在您的手机中。聊天记录和图像都将存储在设备上的数据库中,图像将通过名为 WhatsApp 的文件夹中的图库可见。
If you delete any image from the WhatsApp folder in the gallery, you won't be able to see the deleted image in WhatsApp anymore. Looking at a chat's history, the deleted image will look blurred, and clicking on it you will result in an error message saying "sorry this media file doesn't exist on your SD card".
如果您从图库中的 WhatsApp 文件夹中删除任何图像,您将无法再在 WhatsApp 中看到已删除的图像。查看聊天历史记录,删除的图像看起来很模糊,点击它你会得到一条错误消息,说“对不起,你的 SD 卡上不存在这个媒体文件”。