[Q] how do i get media files associated with vlc? - Galaxy Tab Q&A, Help & Troubleshooting

I downloaded the pre alpha of vlc, and though it works when i point it at a media directory, I would very much like to be able to "open file as" from within astro or es file explorer, but alas, when i tap on a file, vlc doesn't appear in the list of applications that will open this file type (doesn't matter wether it's an avi, mwv, mov, etc.)
Does anyone know of a way to solve this and allow me to open files that i'm browsing for?
it's particularly annoying to have to add each folder i have media in.
further, I would like to be able to open video files that are stored on a windows share over the wifi network, and I've yet found a way to mount cifs shares... I don't get why that functionality isn't built into android when it's built into linux mount tools... ideas?

cpgeek said:
I downloaded the pre alpha of vlc, and though it works when i point it at a media directory, I would very much like to be able to "open file as" from within astro or es file explorer, but alas, when i tap on a file, vlc doesn't appear in the list of applications that will open this file type (doesn't matter wether it's an avi, mwv, mov, etc.)
Does anyone know of a way to solve this and allow me to open files that i'm browsing for?
it's particularly annoying to have to add each folder i have media in.
further, I would like to be able to open video files that are stored on a windows share over the wifi network, and I've yet found a way to mount cifs shares... I don't get why that functionality isn't built into android when it's built into linux mount tools... ideas?
Click to expand...
Click to collapse
You need to have a CIFS compatible kernel (or add the cifs.ko module yourself) and use CIFS Manager to mount SMB shares just like they were local folders. I'm running Jt's version of CM7.1 and use CIFS manager to mount shares from my file server and watch movies all the time.

pvtjoker42 said:
You need to have a CIFS compatible kernel (or add the cifs.ko module yourself) and use CIFS Manager to mount SMB shares just like they were local folders. I'm running Jt's version of CM7.1 and use CIFS manager to mount shares from my file server and watch movies all the time.
Click to expand...
Click to collapse
Thank you for your response. I'm running Overcome 3.1.0-KRATOS on my SGT. it Doesn't appear to have integrated cifs support. after doing some searching around, I found a cifs.ko (in this thread - http://forum.xda-developers.com/archive/index.php/t-1075980.html ). I used the version that is cwm flashable, installed it, and though the files are where they were advertised to be, if i attempt to do a:
Code:
insmod /system/lib/modules/cifs.ko
it says:
Code:
insmod: init_module 'cifs.ko' failed (Device or resource busy)
and CifsManager, upon attempting to mount a share says:
Code:
Mounting the share has failed with an error.
mount: invalid argument
I'm really not sure what's going on here... any idea?
also, does anyone have any idea about how to link media types with applications when it doesn't show up in the list?

Related

Where does the browser download files to??

I've downloaded a couple .mp3's from a website that show up in the downloads folder within the browser (stock). They are available as ringtones in the system, but do not show up in the stock music app. I've use OI Filemanager to look in the logical locations but can't find them anywhere! I've also used terminal and ran:
#find / -name '*.mp3'
and all that shows up is the amazon app location...
Really noob-ish question, but I can't for the life of me find these files...
epicphotoeye said:
I've downloaded a couple .mp3's from a website that show up in the downloads folder within the browser (stock). They are available as ringtones in the system, but do not show up in the stock music app. I've use OI Filemanager to look in the logical locations but can't find them anywhere! I've also used terminal and ran:
#find / -name '*.mp3'
and all that shows up is the amazon app location...
Really noob-ish question, but I can't for the life of me find these files...
Click to expand...
Click to collapse
on mine they show up in a /sdcard/download hope this helps
So I've been told, but the only thing that shows up in there, both with terminal and mounted in windows, are pictures I've gotten via mms...
Is there anywhere else they could go? like ext2/3?
are you using a userinit.sh script with media2sd. if so then it could be on your ext2/3/4 (whichever applies to you) partition
No sir. I haven't quite figured out how to use that yet. I haven't really modded my phone in almost a year until a few days ago. Still reading up on those things.
well this may be out on a limb but you can check /system/media since you said they show as ringtones but not on your sdcard.
Not there either...
How about this, is there a way to edit the default download location to something I want?
epicphotoeye said:
I've downloaded a couple .mp3's from a website that show up in the downloads folder within the browser (stock). They are available as ringtones in the system, but do not show up in the stock music app. I've use OI Filemanager to look in the logical locations but can't find them anywhere! I've also used terminal and ran:
#find / -name '*.mp3'
and all that shows up is the amazon app location...
Really noob-ish question, but I can't for the life of me find these files...
Click to expand...
Click to collapse
well whenever i download mp3s from jamglue.com i find my downloads i nthe download folder on sd card
use astro file manager. better features.
but anyways... this is waht i do
1i find the mp3 download in sdcard>download
2. i rename the file and put .mp3 at the end. and click yes whenever i says iam changing file blahblahblah
jsut make sure whenever u rename the file to put .mp3 at the end. i am pretty sure this will work in OI tho
brian_v3ntura said:
well whenever i download mp3s from jamglue.com i find my downloads i nthe download folder on sd card
use astro file manager. better features.
but anyways... this is waht i do
1i find the mp3 download in sdcard>download
2. i rename the file and put .mp3 at the end. and click yes whenever i says iam changing file blahblahblah
jsut make sure whenever u rename the file to put .mp3 at the end. i am pretty sure this will work in OI tho
Click to expand...
Click to collapse
They are not in:
/system/media (or subs)
/system/sd
/sdcard
/sdcard/media (or subs)
/sdcard/download
they did not show up using:
#find -name 'wakeup.mp3'
or several variations of that.
when mounted on the pc, no search finds these files.
Not using compcache or a userint.sh
They will not show up in the music app, but can be used as ringtones/notifications.
What all did you use for args with find?
# find / -name \*.mp3
_or_
# busybox find / -name \*.mp3
or whatever the file/extension name might contain. I wouldn't use the actual name because I found a lot of downloads not called the file name, they were called things like download1.mp3 etc so try searching for the extension maybe. If find from / doesn't find anything I would be suspicious that it actually downloaded lol
epicphotoeye said:
They are not in:
/system/media (or subs)
/system/sd
/sdcard
/sdcard/media (or subs)
/sdcard/download
they did not show up using:
#find -name 'wakeup.mp3'
or several variations of that.
when mounted on the pc, no search finds these files.
Not using compcache or a userint.sh
They will not show up in the music app, but can be used as ringtones/notifications.
Click to expand...
Click to collapse
wellll... idk what to tell you but i suggest using jamglue.com to download your music.. you would have to make a free account first tho. jamglue is seems a lot simpler
Same issue on my girlfriend's G1. Her's has CM 4.2.5, and have tried downloading mp3 ringtones from myxer.com. They show up in ringtones, but cannot be located within the entire file system. I tried downloading a picture through the web browser and it ended up in the sdcard/download folder as expected.
Anybody figure out where mp3s are ending up??
In mine, they are in sdcard/Music. Take a look there. I believe that was a default folder on the original card.
Thought I checked just about everywhere including the folders mentioned above (and now below):
/system/media (or subs)
/system/sd
/sdcard
/sdcard/media (or subs)
/sdcard/download
/sdcard/Music
I will take another look later tonight and leave an update if I found them or not.
Pretty strange imo.
try taking a logcat and starting the download
Depending on the app, sometimes it will create its own folder on your as. Have you looked thoroughly for any new folders?
edit- sorry, dbl post
Just checked back all over the sd (now including the Music folder). Plugged the sd card into my pc and searched it and did not find the files we just downloaded. Can't find it anywhere on the phone's internal memory either.
Downloaded the Log Collector app, but it does not give the option to log the Browser app. Any other log apps that might allow this??
Any other ideas?
Thanks!
Just do adb logcat in cmd prompt
put the code that appears after downloading the mp3 in code tags or at pastebin.com

Copy files to micro-SD via GUI - QtADB

Since I can't see this app mentioned already anywhere in this subforum I thought this might help someone out. I found an app which is a GUI front-end for ADB and allows you to copy files anywhere including /mnt/sdcard2 (the micro-SD card).
It works on Windows, Linux and MacOS and has a bunch of other features in addition to this. You need ADB working first to be able to use it.
http://qtadb.wordpress.com/features/
If it works as good as it looks it should be pretty handy. Been wanting to copy things to SD2 without pulling the card..
I just use Estrong exploer and use the LAN option. Search for your pc on the wifi lan, then drop any files you want to transfer into your shared folder (windows) and you can copy and then paste them on to SD2card from estrong explorer.
insight3fl said:
I just use Estrong explorer and use the LAN option. Search for your pc on the wifi lan, then drop any files you want to transfer into your shared folder (windows) and you can copy and then paste them on to SD2card from estrong explorer.
Click to expand...
Click to collapse
I feel kinda dumb.. I use the same Estrong file explorer over the lan and have just never even thought about SDcard2. Funny, I move stuff all the time between the tablet and PC. Sheesh! Maybe I am getting old!
QtADB has WLAN option too
since today new version is available
more details You can find on our website
Using 0.7.6 and it connects fine, but it wont list any files on the tablet. Am i missing something obvious? Debugging mode is on, 'adb devices' detects it.
It works with tablets so if file list is empty i think You dont have busybox. Read faq and about on our website
I have busybox and I followed the FAQ but still no files list. I'm sure i am just missing something simple.. I have emailed you a debug.log.
Edit: Sorted it out with help from 7ymekk. Awesome app

Need file browse

is there like a folder path or file browser standard in the nook color? It seems really different from a regular PC or notebook. Whenever I test normal file browse code on the Nook, I just get "no files".
I'm not sure I'm getting you here. What are you trying to access?
"/" is the root of the filesystem. Typically you can only access this if you have a file explorer that has the capabilities. And even then you need to go into the options to access it.
"/sdcard" is normally where user stuff resides. Downloaded files, etc.
What are you trying to get to? A little more information may help.
Its in regards to Nook develop via Adobe Air. I use the FileReference.browse method to browser for a file and it works just fine on my PC and in testing environments but when I move it onto an actual nook, it doesn't work because when I click on the "browse option", it just gives me a "no files found" message. It doesn't even give me an option to browse the folders.
Beyond me, I haven't done anything code related in many many years. I looked up a bit on the method, and see conflicting information regarding having to specify file type before the browse method. Hopefully someone with more experience than me will be able to help.
I would post this question in the developer's forum but I don't have 10 posts yet.

[Q] Where does file created by fopen() resides ?

In Windows Phone 8 Runtime component (C++/CX) we can use fopen or CreateFile2 to create/open a file. For example
Code:
fopen("hello.txt", "w");
You see, I don't explicitly specify any path. And I can't figure out where this hello.txt resides? It can't be in Installed Location, and it isn't in Local Folder. Where is it?
Well, you could try the following:
_fileno() to get the integer file descriptor from the FILE*
_get_osfhandle() to get the Win32 HANDLE from the fd
GetFileInformationByHandleEx() to get the file name from the HANDLE.
I *think* those are even all supported on WP8, though I haven't checked except for the last one.
APIs like GetFullPathName() would make it easy, but may not be supported. CreateFile2 would let you skip the first two APIs in that list, if it works.
I inspected the WP8 .vhd file, and saw that my file was created in the Install folder. It looks like native code does not conform to the rule (Install folder is read-only location)
Whaaaaaat?!? That's... um. Serious. I'll look into it.
onmyway133 said:
I inspected the WP8 .vhd file, and saw that my file was created in the Install folder. It looks like native code does not conform to the rule (Install folder is read-only location)
Click to expand...
Click to collapse
Are you sure it does not create it on the root of the isolated storage space? That's rather unexpected to have the file in a read-only folder...
The install location is read/write to the app.
What
the
hell?
I can send test code if anybody wants, but it's easy enough to check yourself. You don't even need native code to do it, the .NET APIs work well enough.
I am somewhat confused.
mcosmin222 said:
Are you sure it does not create it on the root of the isolated storage space? That's rather unexpected to have the file in a read-only folder...
Click to expand...
Click to collapse
You can create a simple project to test this. In the C++ WP Runtime Component project, just use fopen or CreateFile2
Then use Hyper-V manager and Disk Management to easily inspect the WP .vhd file (I'm using Emulator)
You can use some things like IsoStoreSpy to see that the newly created file does not reside in the Local Folder (in WP8, they rename Isolated Storage to Local Folder)
I wrote a small app to test it; I can share the source if you want. It's really simple. I used the native APIs to create the file and write to it, then used the managed APIs to confirm it was there and read it, then used the native APIs to delete it, and the managed ones to confirm it was gone. Very simple. I then used the managed APIs to create the file myself (await Package.Current.InstalledLocation.CreateFileAsync("hello.txt")) and it worked.
Have you tried to create a xap file in the Install folder and reboot?
My 8X is freezing after creating a xap...
@spikedviper: No, I haven't tried anything like that. I don't seem to have write access from my app to the folder where pre-installed / OEM XAPs reside.
I did try editing the manifest; I was able to edit it with no problems but changing the capabilities didn't *do* anything, so I'm pretty sure it's still only parsed at install time.
hm...so what is the default path if no path specified?
looks like it stores it here: ms-appdata:///Local/ anyway check out "Data for Windows Phone" at msdn

[Module] Multi-Mount - Mount one or more filesystems (e.g. CIFS/SMB, NFS, etc.)

As the name suggests, this module allows you to mount multiple filesystems (such as CIFS/SMB and NFS). I created this for my personal use, but thought I'd share it in case others find it useful. It's not particularly robust (e.g. config files are naively sourced), but it gets the job done. Enjoy!
GitHub
Hi,
Thanks for sharing. And this new mounded volume would be available widely in any file explorer at mount_target="/mnt/cifs-share"?
BR,
amplatfus
Yes (hopefully!), assuming the rest of the mount params are correct for your CIFS share. Your file explorer needs to allow you to navigate there, though. E.g. I know Solid Explorer has the option.
Or, you could try specifying mount_target="/data/media/0/cifs-share" instead, which should correspond to /sdcard/cifs-share. (You can't set mount_target to /sdcard/cifs-share directly, though -- it won't work, I think because /sdcard represents an emulated FAT32 filesystem, and you can't mount to FAT32.)
Hope it works for you!

Categories

Resources