开发者

Access Tablet Internal Memory from Third-party application

开发者 https://www.devze.com 2023-04-01 16:55 出处:网络
I am trying to built an application that will alllow user to paste a text file in the Tablet Internal memory by browsing it trough connecting with PC ( IN SPECIFIC DIRECTORY ) and do some file-operati

Access Tablet Internal Memory from Third-party application

I am trying to built an application that will alllow user to paste a text file in the Tablet Internal memory by browsing it trough connecting with PC ( IN SPECIFIC DIRECTORY ) and do some file-operations to it through application. After that user will be able to browse the 开发者_JAVA百科directory again and copy the final-file .

IS there a way to do that?

I can store the final-file in application 'SANDBOX" through application but the user will not be able browse the sandbox. So what is the possible solutions

THANKS


Files created in an application's private storage (what you are calling the "sandbox") area can be given mode world readable so that other tools can access them, however relatively few other applications would know how to find them.

Files that you desire to make generally available should be placed instead on the "external storage" which confusingly on a lot of devices (especially tablets) is built in, rather than a removable memory card. At this point what really distinguishes "external storage" is that data there is naturally shared between apps and easily browsed by the user with common file manager apps (android doesn't tend to come with a file manager, but there are lots out there you can add)

0

精彩评论

暂无评论...
验证码 换一张
取 消