Включайте файл базы данных с приложением Android через Eclipse

Возможно, вам придется изменить строку

@RequestMapping(value = "/add", method = RequestMethod.GET)

на

@RequestMapping(value = "/add", method = {RequestMethod.GET,RequestMethod.POST})
6
задан Janusz 17 June 2010 в 12:49
поделиться

1 ответ

Is the file in your "res/assets" folder not available using the AssetManager class during testing versus during testing or when installed via a signed apk?

I use a large file that I store in "res/raw" in one of my games, I am able to access this file during testing with eclipse without a problem just using the normal calls to context.getResources().openRawResource()

Deploying databases with your application it a reoccurring topic over in the android-developers Google group here is a post with a few thoughts on the matter.

Good luck.

8
ответ дан 16 December 2019 в 21:45
поделиться
Другие вопросы по тегам:

Похожие вопросы: