[英]Cordova App location on android phone
I am total cordova beginner. 我是科尔多瓦的初学者。 I created a sample application that runs on my phone. 我创建了一个在手机上运行的示例应用程序。 It is a simple Test Database with 1 Customer Table. 这是一个带有1个客户表的简单测试数据库。 Eventually I will want to import data from a local file. 最终,我将要从本地文件导入数据。 It might not be necessary to know where my app is located on my phone in order to do the import. 进行导入可能不需要知道我的应用程序在手机上的位置。 However, where is my app located on the phone? 但是,我的应用程序在手机上位于哪里? I am using a file browser that shows hidden files, and I can't seem to find the app. 我正在使用显示隐藏文件的文件浏览器,但似乎找不到该应用程序。 I can run the app as it has an icon on my phone. 我可以在手机上运行带有该图标的应用程序。 The name of the app is HTML5_2. 该应用程序的名称为HTML5_2。 It also is called com.coolappz.html5_2. 也称为com.coolappz.html5_2。 But I can't locate it using the file browser on my phone. 但是我无法使用手机上的文件浏览器找到它。 Does anybody know what the app path is on the android phone? 有人知道Android手机上的应用路径是什么吗? Galaxy S5? Galaxy S5?
This question had been asked before but does not have any answers. 之前曾问过这个问题,但没有任何答案。 Maybe this is just one of those wonders of the world that just works but nobody knows why? 也许这只是世界上行之有效的奇迹之一,但没人知道为什么吗?
Thanks. 谢谢。 Mike 麦克风
If you use the config.xml of phonegap or cordova and read the documentation in the web you can see that in preferences you can pick the android-installLocation and select if internalOnly, auto or preferExternal. 如果您使用phonegap或cordova的config.xml并阅读网络上的文档, 则可以看到,在首选项中您可以选择android-installLocation并选择internalOnly,auto或preferredExternal。 If you pick preferExternal, the app be install on the SD. 如果选择preferredExternal,则该应用程序将安装在SD上。 More easy to see the complete rute and write the code. 更容易看到完整的行规并编写代码。
You can see more of the App install location here 您可以在此处查看更多应用安装位置
Regards and good code ;) 问候和良好的代码;)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.