Top "Android-assets" questions

You can use the `assets` folder to store raw asset files.

Where to place the 'assets' folder in Android Studio?

I am confused about the assets folder. It doesn't come auto-created in Android Studio, and almost all the forums in …

android-studio android-assets
How to get the android Path string to a file on Assets folder?

I need to know the string path to a file on assets folder, because I'm using a map API that …

android assets android-assets
Loading existing .html file with android WebView

I did try samples, demos from Google codes and other resources with WebView, but when i try to do it …

android android-webview android-assets
Difference between /res and /assets directories

I know that files in the res directory are accessible from R.class while assets behaves like a file system, …

android android-assets
Play audio file from the assets directory

I have the following code: AssetFileDescriptor afd = getAssets().openFd("AudioFile.mp3"); player = new MediaPlayer(); player.setDataSource(afd.getFileDescriptor()); player.prepare(); …

android audio android-mediaplayer assets android-assets
how to get file path of asset folder in android

I have an Android application used to transfer the .png image from asset folder of Android application to my local …

android android-assets
Accessing a font under assets folder from XML file in Android

I am trying to do a application-wide font change and creating a style file to do so. In this file (…

android android-assets android-gui android-fonts
Opening a File from assets folder in android

I have a .gif file inside the assets folder like this assets/Files/android.gif. when I try to open …

android android-assets
Read a pdf file from assets folder

public void DOCS(View btnDocs) { File fileBrochure = new File("android.resource://com.project.datastructure/assets/abc.pdf"); if (!fileBrochure.exists()) { …

java android pdf android-intent android-assets
How to access files under assets folder of other apk's?

When we browse any apk we found there is one folder named assets. Now I want to access that folder …

android android-assets