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.
画像、mp3、オフィスファイルなどのファイルをAndroid SDK(eclipse)に取得して、プロジェクトで使用するにはどうすればよいですか?
フォルダに入れられたapkで使用したい場合はres/drawable/、コードで使用できますR.drawable.yourfile
res/drawable/
R.drawable.yourfile
プロジェクトでファイルを使用する場合は、ファイルをassets/フィルダーに入れて、後でコードから次のようにアクセスできます。context.getAssets().open( 'filename' )
assets/
context.getAssets().open( 'filename' )