简体   繁体   English

在Android应用程序中隐藏列表

[英]Hiding a list in an android application

I'm currently designing an application which stores a list of locations and displays them on a map. 我目前正在设计一个存储位置列表并将其显示在地图上的应用程序。 What is the best way to protect this list from being pilfered by another developer and put in a copy app? 保护此列表免遭其他开发人员窃取并放入复制应用程序的最佳方法是什么?

I will be investing a lot of time in creating this list of locations through my own research and exploration so i'm hoping to keep it hidden. 通过我自己的研究和探索,我将投入大量时间来创建位置列表,因此我希望将其隐藏起来。

Thank you 谢谢

You can store it in your apps private directory.Android prevents other apps from assessing it. 您可以将其存储在应用程序的私有目录中。Android会阻止其他应用程序对其进行评估。 However in a rooted device, the user can gain access to your private file.In this case you can go with some encryption.Obfuscating your app code with proguard is a good option as it makes reverse engineering your apk file difficult. 但是,在具有root用户权限的设备上,用户可以访问您的私人文件,在这种情况下,您可以进行一些加密。使用proguard混淆应用程序代码是一个不错的选择,因为这会使反向工程apk文件变得困难。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM