Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
res/raw に未加工のリソースがありますが、使用して見つけることができません
context.getResources().openRawResource(R.raw.mystore);
ただし、Rファイルで生成されます
public static final class raw { public static final int mystore=0x7f040000; }
クリーンアップ、リフレッシュ、Eclipes の再起動を試みましたが、何も機能しません。
インポートyourpackage.Rしていないことを確認してくださいandroid.R
yourpackage.R
android.R
これを試して。
InputStream is = getResources().openRawResource(R.raw.mystore);