English 中文(简体)
更新一个与纸浆一道装运的具体档案?
原标题:Updating a specific file that was shipped with the apk?

我很想知道,是否有办法更新原先装运的包裹中的具体档案?

在我的案件中,我需要确保,在下载纸浆时有某些文本。 然而,我希望能够远程更新该文本,只取代该文本档案,而不是整个文件。

you can write and create files that are in the so called "internal storage", but how do I place the text file there in the first place; that is, how do I make sure that the text file is in the "internal storage" so I can read it with openFileInput(...) after the install of the apk?

因为如果我能够把文本档案放在“内部储存”中,那么可以通过公开的方式来查阅。 档案材料,我可以轻易地在晚些时候超时投放,但首先必须投放。

问题回答

如果你能够在每次更新文本时都能够更新文本的正文,那么,你就必须在网站上公布文本,并附上文件单。 您可以发出警报,向外出火,然后有广播用户检索文件,并将文件储存到照片上。 或者,你可以在网站(戈格尔网站是免费的)上读到文本,并将数据储存在共享参考书上。

如果你需要从案文中读取的代码,让我知道。 而把这一进程用于我的一项建议。 它完美无缺。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签