user1469591
user1469591

Reputation:

Android R.Raw files in SD card?

The files we store in android R.raw folder(eg mySong.mp3) are present on Mobile internal memory or in SD card.

i have a song audio 100MB and i am using this in my android application.

      MediaPlayer mPlayer = MediaPlayer.create(context, R.raw.mysong);
      mPlayer.start();

Just wanted to know that when user install .apk this 100MB song will stored in SD card or internal memory of phone ?

Upvotes: 0

Views: 233

Answers (2)

darshanz
darshanz

Reputation: 412

well you can decide.

You can set the field android:installLocation in the root manifest element to prefer install location. values may be :

internalOnly: force internal

preferExternal: prefere SDCARD

auto: System will decide

Install in sd card is supported only devices with android 2.2 and higher.

Upvotes: 6

Chirag Patel
Chirag Patel

Reputation: 1611

Depend on your apps store.you install apps in SDcard so R.Raw store in Sdcard otherwise phonememory.

one solution of your question.when you install apps then after go to application->manage->click on apps and click on move to sdcard option.try this

Upvotes: 0

Related Questions