Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
user57
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Jul 2011
Default [Q] Hide From Gallery

I have created a folder on my external sd card named Movies.

I use Moboplayer, and have pre-set it to only view that folder when opened. But, after viewing any of the files in the sd card folder, the folder and files are displayed in Gallery. How can I prevent that from happening?

Or, put another way, I want to store some video files on my external sd card
and want to be the only one who is able to view them?
 
gunnyman
Old
#2  
gunnyman's Avatar
Senior Member
Thanks Meter 1779
Posts: 6,090
Join Date: Apr 2010
Location: Greenville SC

 
DONATE TO ME
create a file in that directory called .nomedia that will prevent it being scanned by Gallery
Uncle Gunny says, "MAKE A NANDROID"
HTC One
Nexus 7 it's like buttah™
Nook HD+
Rooted and Running whatever ROM I'm into at the moment.
Don't be a d*ck -Wil Wheaton
I know that you just got here, so don't be lazy, but there are stickies, so read them maybe?
Unlocking and rooting your HTC One with a Mac
Quote:
Originally Posted by MrGriffdude View Post
It's like when you clean cat piss out of the carpet. It's technically clean but the stench takes a while to go away
Oh BTW I'm fat.
 
user57
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Jul 2011
Thanks, I'll try that later today and report back.
 
user57
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Jul 2011
Quote:
Originally Posted by gunnyman View Post
create a file in that directory called .nomedia that will prevent it being scanned by Gallery
As a beginner with Android, I'm not sure I know how to do what you said to do.
Can you please tell me the easiest way to create that file? Thanks again.
 
gunnyman
Old
#5  
gunnyman's Avatar
Senior Member
Thanks Meter 1779
Posts: 6,090
Join Date: Apr 2010
Location: Greenville SC

 
DONATE TO ME
Sure. Open an adb shell. Change to the directory you want the file in. Type "touch .nomedia "
Press enter

Sent from my Desire HD using XDA Premium App
Uncle Gunny says, "MAKE A NANDROID"
HTC One
Nexus 7 it's like buttah™
Nook HD+
Rooted and Running whatever ROM I'm into at the moment.
Don't be a d*ck -Wil Wheaton
I know that you just got here, so don't be lazy, but there are stickies, so read them maybe?
Unlocking and rooting your HTC One with a Mac
Quote:
Originally Posted by MrGriffdude View Post
It's like when you clean cat piss out of the carpet. It's technically clean but the stench takes a while to go away
Oh BTW I'm fat.
The Following User Says Thank You to gunnyman For This Useful Post: [ Click to Expand ]
 
jostarr
Old
#6  
Member
Thanks Meter 0
Posts: 46
Join Date: Feb 2011
As an Android beginner, I have no idea what or how to use and adb shell.

Does it require that the Tab be Rooted?
Can I use a file manager like Astro?
Can I open the folder on my win xp desktop and create the file om the sd card with windows explorer?

Sorry to be so dense here, but, I am trying to learn what to do.
 
kierandill
Old
#7  
Senior Member
Thanks Meter 10
Posts: 195
Join Date: Feb 2008
Quote:
Originally Posted by jostarr View Post
As an Android beginner, I have no idea what or how to use and adb shell.

Does it require that the Tab be Rooted?
Can I use a file manager like Astro?
Can I open the folder on my win xp desktop and create the file om the sd card with windows explorer?

Sorry to be so dense here, but, I am trying to learn what to do.
Get the free ES File Explorer from the store. You can do all the MS Windows-esque file management with that.

What is going to prevent someone else from launching Mobo and seeing the same files that you do?
 
jostarr
Old
#8  
Member
Thanks Meter 0
Posts: 46
Join Date: Feb 2011
I do have ES File Explorer installed, and didn't find a way to create a new file in that folder. Can you please suggest what to do when I get to the folder in question? Thanks.

As for your question about others using Mobo, is there a way to password protect a give app?
 
The Odom Project
Old
#9  
The Odom Project's Avatar
Senior Member
Thanks Meter 53
Posts: 383
Join Date: Jun 2011
Location: Prescott AZ
Quote:
Originally Posted by jostarr View Post
I do have ES File Explorer installed, and didn't find a way to create a new file in that folder. Can you please suggest what to do when I get to the folder in question? Thanks.

As for your question about others using Mobo, is there a way to password protect a give app?
Ok, es 101: the key to finding everything is the menu button that spears on the dock in es. From there you can select new> folder.
android/linux 101: any file or folder named starting with a period is deemed "hidden". An example would be a folder called .media. Because the name behind with a period, it is now hidden. To show hidden file, go into es file explorer settings, and check "show hidden files"
Devices:

Sprint Samsung Epic 4g Touch | AOKP Build 27, Swagger Enabled
Acer Iconia A500 | AOKP Build 27
Samsung Series 7 Slate | Windows 8 Build 8250
 
drkalo
Old
(Last edited by drkalo; 30th July 2011 at 10:27 AM.)
#10  
drkalo's Avatar
Senior Member
Thanks Meter 252
Posts: 500
Join Date: Jul 2009
Location: Sofia
...and if you don't want to play with renaming folders every time, try Hide It Pro from the market. You set a password that is required to open the app. It disguise itself as a fake audio manager. You just need to browse to the file you need to hide and select "share with audio manager". There's a really good guide inside the app when you install it but its rather simple Works great on Iconia.

https://market.android.com/details?i...=search_result

It also displays adds but its free and your hidden content is just a "click" away You can hide any file type compared to Photo Vault and Video Vault (they support only several file formats and they are paid apps)
Galaxy Note - White
Nexus 7 Grouper - 32GB

bssh.euBulgarian Society for Surgery of the Hand

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more