Removing SDCard Folders?

36 views
Skip to first unread message

Joey Troy

unread,
Jul 31, 2017, 10:28:35 AM7/31/17
to android-porting
I am porting android to a no Audio device and trying to figure out how to remove the Alarms, Movies, Music, Notifications, Podcasts, and Ringtones folders from the SDCard. I have tried to edit the sdcard.c file in system/core/sdcard but no dice.

Joey Troy

unread,
Aug 1, 2017, 1:22:30 AM8/1/17
to Satish Patel, android-porting
Sastish,

Didn't work but I was able to solve it. I basically based it from the DIRECTORY_MUSIC in the Environment.java file and did a 'grep -rnw -e 'DIRECTORY_MUSIC' through the source and found the following file, and commented out the directories I didn't want to see and it worked perfectly!


On Mon, Jul 31, 2017 at 10:43 AM Joey Troy <joey...@gmail.com> wrote:
Thanks Satish. I will give that a try and update the post.

On Mon, Jul 31, 2017 at 10:17 AM Satish Patel <tosati...@gmail.com> wrote:
Hi,

This would be best place to check 

check for the path and filter out what you do not need. 

and remove unwanted build path.

--
satish

On Mon, Jul 31, 2017 at 6:28 AM, Joey Troy <joey...@gmail.com> wrote:
I am porting android to a no Audio device and trying to figure out how to remove the Alarms, Movies, Music, Notifications, Podcasts, and Ringtones folders from the SDCard. I have tried to edit the sdcard.c file in system/core/sdcard but no dice.

--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Regards,
satish patel

Satish Patel

unread,
Aug 1, 2017, 1:22:54 AM8/1/17
to joey...@gmail.com, android-porting
Hi,

This would be best place to check 

check for the path and filter out what you do not need. 

and remove unwanted build path.

--
satish
On Mon, Jul 31, 2017 at 6:28 AM, Joey Troy <joey...@gmail.com> wrote:
I am porting android to a no Audio device and trying to figure out how to remove the Alarms, Movies, Music, Notifications, Podcasts, and Ringtones folders from the SDCard. I have tried to edit the sdcard.c file in system/core/sdcard but no dice.

website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Regards,
satish patel
Reply all
Reply to author
Forward
0 new messages