2012-12-31 48 views
2

我對XMLWise有疑問。我想讀以下plist文件在我的資源文件夾(R.raw.key_text.plist)Android XMLWise從資源文件夾中讀取Plist

<dict> 
    <key> 551 </key> 
    <string> Hello World </ string> 
    .... 
</dict> 

而對於我的Java:

Map<String, Object> properties = Plist.load(/*What do I put in here*/); 

我在網上搜索,但可以」 t似乎找到了一個結論。我想將它們打印在旁邊的字符串旁邊。

幫助表示讚賞。謝謝

回答

0

把你的plist放在那裏。

Map<String, Object> properties = Plist.load("R.raw.key_text.plist"); 
+0

我不能得到那個工作....看我回答這個關於所以這裏 - http://stackoverflow.com/questions/15180821/android-cannot-find-plist-in-res -raw-使用-xmlwise – gts101