Playback of MP3s from shared folder

Hello

I have a question relating to the content of the shared folder. I use the following code for the reading of its context:

var audio = new Audio(filepath)
audio.play()

This command works for: filepath value ' audio / monkey.mp3 ", but does not work for 'file:///accounts/1000/shared/music/monkey.mp3' (or ' / accounts/1000/shared/music/monkey.mp3'). I copied this file in this folder on my Dev Alpha (and in addition it bundled with my app). The directory was returned by "invokeFilePicker".

I need this feature to let the user choose custom from the device library music.

Using the debugger remote (aka web Inspector) was not particularly helpful that both motions are displayed as status 'Success' in the tab 'network '.

Here are the lines maybe interesting my config.xml file, in case something is wrong with my permissions:

[...]
access_shared
[...]

[...]


[...]

You have any ideas?

Note for later: don't post questions in the middle of the night after long hours of work...

It was really a permissions problem, but I forgot encapsulate my permissions like this:


    access_shared

It works fine now.

Tags: BlackBerry Developers

Similar Questions

  • Mail app: can't see the IMAP shared folder in iOS10

    Since I updated my iPhone to iOS10 I see the shared folder of the IMAP in the Mail application. IOS9 until the Mail app displays all folders shared IMAP that you were able to subscribe. It was dependent on the setting of the IMAP path prefix. Even I have try different settings I don't recognize any different behavior.

    I have found no comment from Apple for this.

    Someone at - he noticed the same problem? Is there an attempt to solution?

    Same question, very exasperating.  I noticed one thing was that if you delete the account and start over, shared folders are there, at least initially.  If you leave the app and come back later, they are gone.  I suspect that a prefix is stored in the application state that prevents later shared folders to be seen.  I noticed that other applications also have problems, see the shared folders, including by aircraft and shipping, though.  I really liked having access to those from before this update - difficulty please!

  • ICloud Photos, Shared folder using for the screensavers on Apple TV

    On my new Apple TV, I want to use Photos in iCloud to provide pictures randomly a shared folder as screensavers. When I put in place (following the instructions of the manual) the program apparently caught a selection random, relatively small images of the record (20-30?) and just cycled through these photos as screensavers. The product does not seem to choose from all of the shared folder and does not seem to offer a way to even go back and get another small selection of the folder to provide variety. I can apparently use home sharing and get the new selections in the period and re - select the folder (I could do with my old generation of Apple TV), but it is not apparently possible with the iCloud Photos, shared folder option. It also takes me to have my computer and open iTunes. I had hoped to get around this with the new Apple TV.

    Apple support had no answers.

    Is there something that I am missing?

    Need not do anything. You can suggest improvements here https://www.apple.com/feedback/appletv.html.

  • Scan cannot access a shared folder on 10.11.5

    I shared a folder on OSX 10.11.5.  The permissions are correct.  I can access the share from a Windows machine (he asks credentials and is REALLY slow to display files), but when I try to scan a document to sharing it errors every time.  It worked until recently.  I'm 100% sure that the credentials on the scanner are correct.

    Just so there is no confusion I created an account on my scanner on a network (which is on the same subnet) with the same references as those of a user on the OSX machine.  The sharing is visible and accessible in writing from a Windows machine.  When I scan from the scanner (A Konika Minolta Bizhub) it says "error: unable to connect to the server."  This isn't a matter of connection/permissions because when I change the credentials, I get a different error message.

    Any ideas?

    So you're probably aware that Apple has changed the version of SMB used 10.7 and later and as a result many multifunctional no longer able to scan to a share on the Mac via SMB. I know that KM has released a fix for some of their machines that made this work again. Since you mention work recently, I assumed that it was a Mac OS x 10.11.x. Is this correct?

    If Yes, then on the KM, you can navigate to sharing Mac instead of using the address book entry? If you can, and then using this function, you should see the Mac and when you select it, you should get a prompt to authenticate. If you specify the account name on the Mac, that needs to be enabled via system preferences > sharing > file sharing > Options > Windows, then the password file sharing, is the shared folder appears? You get an error at this stage, or when you first select the Mac?

  • Database MS Access Access on the remote computer (shared folder)

    Hello

    I need help.

    I did a program and it works fine on my computer, but several users will use program simultaneously, each on its own computer connected via a local area network to the computer of mine (data is on my computer in the shared folder).

    When I try to access the data on the database (path is the path of the shared folder) I get error 5013 (no database). The problem only occurs when I'm reading something MS access database, but not if I try to read data from the .txt file, then it works fine...

    I use ADO tools

    Can someone help me, I would be very grateful?

    Your code will be a connection string that specifies the odbc driver or your code has a dsn that specifies the odbc driver, or your code will point to a udl file that specifies the odbc driver. You don't need to worry about the details of the driver itself.

    I would also echo what mike said about the jet database. It's the wrong choice for many customers. You can use a jet database to debug sql queries and the design of the table if you wish, but you need to move to a more robust db such as SQL Server or MySQL.

  • CANNOT write to files in the shared folder of XP on a PC running windows 7 - but good vice versa

    I have a laptop under Windows 7 (SP1) and a desktop running XP (SP3).  I have connected both via a wireless network. While I can see and access shared files/folders from one computer to the other computer, I can only read/write files in the shared folder on the portable computer that is running Windows 7.

    If I try and change a file in the shared folder from the PC under XP on my laptop, I get the message "this file is set to read-only. Try again with a different name "."  I know that the file is NOT checked for read-only. When I change the name of the file I get the error message "\\Desktop\SharedDocs\filename.doc you are not allowed to save in this location. Contact the administrator for approval.  You want to save in the folder my documents instead? "If I save the file to another location on the laptop under Win7 it save then OK.  I can not just save a modified version of the file in the same shared folder from desktop running XP.
    It seems that it must be something to do with permissions and access to the parameters of the desktop running XP but I can not find these. Fairly easy to find in Windows 7.
    Finally, I don't have a login/password set for the connection to the computer to Office XP.  I don't have a user name and password for the laptop Win7 but you have turned off password protected sharing.
    Anyone have a solution to this?
    Thank you

    OK - the problem is now resolved.

    I noticed that the read-only for the shared folder has been checked. When I unchecked it and also checked the box "allow network users to change my files" in the shared folder properties/sharing, I was able to modify and save files in the shared folder on my laptop.
    It's a little weird because I thought I had done this the other day where the results have been less successful.  Strange.
    Thanks for your help.

  • Cannot map a shared folder

    I have two computers, X and Y. I want to the map on X, a share named htdocs, who lives in the computer Y.  Both are Windows XP.

    X has ip 10.22.204.87

    There's ip 10.121.241.140
    X belongs to a domain. Belongs to a workgroup.
    Y, I have an administrator called x. X account, I have another account administrator, whose name is different from x.
    Please see my session shell below. Maybe I'm typing the wrong thing.
    C:\>net use \\10.121.241.140\htdocs / user: x
    A senha OU o usuario nome e invalido para \\10.121.241.140\htdocs.
    "Digite a senha para what 'x' is connected has ' 10.121.241.140 ':
    "Digite a senha para what 'x' is connected has ' 10.121.241.140 ':
    O erro sistema 1326 occurred.
    Falha connection: User unknown OU senha incorreta nome.
    C:\ >

    The password is 123 and the password. I can connect with on the computer accounts of Y.
    Can you spot what is my misunderstanding? Thank you.

    You may need to specify that you are using a Local connection rather than a connection to the area.

    Try this:
    NET use \\10.121.241.140\htdocs /user:10.121.241.140\x

    Also note that you will only be able to authenticate as user 'Guest' (IE, not the user "x") if the "Simple file sharing" is enabled on the computer target (10.121.241.140 in your case).
    On XP Home, Simple file sharing is always (forced) enabled.
    On XP Pro, you can disable Simple file sharing - see the following article

    "How to disable the file sharing simple and how to set permissions on a shared folder in Windows XP"
      <>http://support.Microsoft.com/kb/307874 >

    HTH,
    JW

  • Shared folder of Windows XP Media Center number...

    I recently installed a new router on my small network.  I have a main desktop pc that I use as a 'server '.  But just by regard saving the files shared on this topic.  The PC is running XP Media Center.  Well since I installed the new modem/router I can not access the actions of another pc on the network.

    When I installed the new router I have not any changes on the pc.  I rechecked the records to make sure they were always shared and they were.

    I also checked to make sure they were on the same workgroup.  I can ping each computer on the other, so I know that they can communicate over the network.  Don't know what to do next.  IM at a loss.  Any help would be appreciated.

    DS

    It has all the symptoms of a problem of firewall on the server computer.  If you only use Windows Firewall, make sure you that there is an exception "file sharing and printer". Instead of the ping command, try the following command from a window (start-> Run-> "cmd") of each machine control to another:

    nbtstat-a 192.168.1.5

    Where '192.168.1.5' is replaced with the IP address of another machine.

    From the same command prompt window, try to connect manually using the command:

    NET use * \\computer\share

    Where 'computer' is replaced by a computer name or IP address, and "Share" is a shared folder on this computer. Error messages from the command prompt are sometimes more revealing.

    HTH,
    JW

  • With the help of iTunes. How do I do the MP3 from mp4 files - using cds?

    I had a cd I had ripped off music too - initially in iTunes mp4 files.

    I put this cd in my computer and iTunes asked to import the files in.   He said that she already had these files, and I would like to replace them...   I said yes.

    I was hoping that the origianl mp4 files would be replaced by MP3s from my cd - but it wasn't the case.   When I looked in my iTunes folder, to copy them to my sansa, replacement/new files were still all mp4s.

    Currently, in iTunes, if I'm going in Edition > Preferences > import music... the frame is AAC Encoder.   If I change it to MP3 encoder, will be future air imported as MP3 files?  Or should I do something else?

    Advice would be much appreciated...

    Poppy says:

    I had a cd I had ripped off music too - initially in iTunes mp4 files.

    I put this cd in my computer and iTunes asked to import the files in.   He said that she already had these files, and I would like to replace them...   I said yes.

    I was hoping that the origianl mp4 files would be replaced by MP3s from my cd - but it wasn't the case.   When I looked in my iTunes folder, to copy them to my sansa, replacement/new files were still all mp4s.

    Currently, in iTunes, if I'm going in Edition > Preferences > import music... the setting is AAC Encoder.   If I change it to MP3 encoder, will be future air imported as MP3 files? Or should I do something else?

    Advice would be much appreciated...

    I think it's okay from there, they will be imported as MP3 files.

  • Cannot access the network drive after trying to change the shared folder.

    I had a 80 GB drive connected to my E3000 for a few years and it worked without problem. I recently turned to a 250 GB Maxtor One Touch drive. When I plugged it, the router automatically creates a shared folder. I was able to connect to this folder without problem, but I wanted to share the whole score. When I made this adjustment and tried to save the settings, I temporarily lost access to the router. He gave me the standard page cannot be error message appears. When I got access changes seem to be made. When I try to access the drive of my laptop I get this error message, "the mapped network drive could be created", "the name specified network is no longer available". I rebooted and power rolled my router as well reconnected the drive.

    I think that since you have replaced your hard drive, old settings are configured may still on the hard drive of old. You can change the users and group so that it syncs with the new hard drive or start from scratch (reformat the hard drive).

  • _Capture image questions HPDM4.5 SP4 (Errorcode-400 could not connect to the shared folder)

    Hi, hope someone can help me.

    I'm under HPDM 4.5 SP4 on a member of the domain Windows 2008R2 SP1 x 64 server.

    I try to use the model "_Capture Image" on a light field customer non-member HP T610 (Agent version: 4.5.3360.18502, version of the device: 6.1.7601.286)

    Configured the master repository, used Filezilla server and did a test on the FTP and the Shared folder.

    FTP path: ftp: / //hpdm ("C:\Inetpub\Ftproot\HPDM")

    Path of the shared folder: ------\hpdm

    Bin play with the settings and read this for a day, but no mather what I try, whenever I use the model I get: ErrorCode:-400 could not connect to the shared folder.

    Edit: when I run the model, I see a folder created in "C:\Inetpub\Ftproot\HPDM\Repository\Images\test1_1", but the HP Imaging tool displays some time: set up the share folder. Finally the error task and the test1_1 folder is deleted.

    Please advice

    Hello to all you readers looking for the answer to this...

    @ jeff_x thank you for your response.

    1. all units has no (I tried 5)

    2. now 4.5.3660.16798 running and it works

    3. all thin clients running DHCP

    4. all thin clients and server hp - manager already running in a serparate network.

    But the solution was simple. Had to delete all software HPDM

    Fact Download Manager-cutting (sp60327.exe) HPDM and HPDM SP4 (sp64049) < at="" max="" 200kb/s=""> >

    Installed from scratch and configured the master repository with:

    Name of the repository: master repository

    Server address:

    FTP (FileZilla Server, created a user 'anonymous' without password, shared the folder c:\inetpub\ftproot\hpdm to this user and pressed the button "set as home dir")

    User name: anonymous

    Password: (blank)

    Path: simply put ' / '.

    Protocol of shared folder settings

    User name: \user (created a local user for this purpose and placed it in the local administrator group: Administrators)

    Password: (what you do to the top when you created this account)

    Path: just put in "hpdm.

    Hit test and see if it worked for you. BTW, the test button is not the Holy Grail.

    There should be a better manual to set this up!

    I hope that with this info to help a person looking at the same issue 400 error!

  • Configure the SMB shared folder on iMac

    You just bought the officejet pro 8600. I am trying to create a shared folder on the SMB to my iMac running OS X 10.9

    The HP app utility is prompting me to enter my shared folder, but I'm going to an unsecure site and is asking questions, I don't know, as my network path and the user name and the password. Where can I find these things? What is this thing legitimate?

    In addition, in my viewfinder, I the visible shared printer but I can't connect because I don't know my user and password name, that I don't remember setting up and can not find. Help!

    Hi mimifan,

    Welcome to the HP Forums, I hope you enjoy your experience!

    I understand you are trying to set up the network on the Mac folder.

    I'll be happy to help you.

    You will need to contact Apple to get user and password name.

    I would ask them to help the network also folder setup.

    Here are the steps below to configure the network folder if you want to try.

    1. create a new folder on your computer.

    2. right-click (CTRL left click if you use the keyboard of the Mac) and select read.

    3. unlock the screen, set the expression to everyone read/write &, located under the share permissions &...

    4. enter in System Preferences > sharing and select file sharing in the left bar.

    5. click on the Options button, mark the share files and folders using SMB (Windows) and click done

    6. under shared folders, click the sign more and select the configured folder.

    7. ensure that "everyone" permissions are set to read & write under the list of users as well.

    8. you will see the IP at the top of this screen, make a note to configure the EWS page.

    You must use the following path:

    IP-ADDRESS/Sahred-folder-name

    Be sure to include your user name and password when defining the analysis of the network folder.

    I have provided a document to configure the network folder go measures to see if this will solve the problem.

    How to perform a scan: from the control panel (including the Scan to Email, in PDF format, and to a network folder).

    Go to how scan directly into a network (only for network connections) folder.

    I hope this helps.

    Thanks for posting on the HP Forums.
    Good day!

  • Cannot access any shared folder on the network of windows 7 Professional

    Hello

    I have a very strange problem.

    I have a home network with 4 computers.
    I can share files from any computer to the other.

    Recently, I bought a new laptop Lenovo E530 in with Windows 7 Professional installed on it.
    The problem is that I can't access any shared folder on my home network by '\\com-name '.
    I cannot yet access the folders on the computer that is shared from the inside, by specifying there name with the prefix "\".
    However, I can ping or even make remote desktop on other computers on my network.
    I can also access shared folders on my Windows 7 Professional from other computers.
    Looks like there is something wrong with the configuration of my OS from Windows 7 Professional blocking access to any shared folder on my network.
    I get the following error message:
    Windows cannot access \\comp-name
    Check the spelling of the name. Otherwise, it could...
    Error code: 0 x 80070035
    The network path was not found.
    I tried to use the button to diagnose, but without success.
    Help, please
    Dudi.

    Hello

    I suggest you try all the steps from the following link:

    Sharing of files and printers
    http://Windows.Microsoft.com/en-in/Windows/sharing-files-printers-help#sharing-files-and-printers=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    See also: File and printer sharing: frequently asked questions
    http://Windows.Microsoft.com/en-in/Windows7/file-and-printer-sharing-frequently-asked-questions

    Hope this information is helpful and let us know if you need more assistance. We will be happy to help.

  • Access denied error when the output directly in a shared folder in Windows 7

    I have two workstations, the first working (PC1) of Windows Server 2008 R2 and the other work (PC2) of Windows 7 Professional.

    I work on PC1 using the app called "MetaDimention" dealing with PDF files and generates output files as a separation of colors (CMYK color separation) TIFF files. The problem arises when I intend to exit that TIFF files generated by "MetaDimention" directly in the shared folder on the PC2 via the network "workgroup."

    The 'MetaDimention' gives me the error message: JobTicketMerger: the data output destination '\\EQCENTER1\TiffOut' is not valid (ERROR_ACCESS_DENIED).

    where "\\EQCENTER1\TiffOut" is the path to the folder shared network on PC2.

    I noticed this problem when I using Windows 7 and Windows Server 2008, 2012 as an output destination, but there is no problem when the destination using windows server 2003 path.

    I tried to Google the error message generated by the Application of MetaDimention and I found this thread on the other forum:

    MetaDimension output error - problem

    I have the same problem exactly as mentioned, it has, after several positions the person who asked about the problem, he said that he had found the solution by changing some services started as LocalAccount user! but I do not understand what it does exactly. and here's the quote from his original message: "solved!" some services started as LocalAccount, replaced by the user and all ok.

    Please tell me what can I do to solve this problem in some detail.

    Thank you

    Hi Dia,.

    Thanks for posting your query in Microsoft Community.

    Your question is beyond the scope of what is generally answered in this forum of consumer and would be better suited for the IT Pro TechNet public.

    Please post your question in the TechNet Forums.

  • Error access denied when the output directly to a shared folder

    I have two workstations, the first working (PC1) of Windows Server 2008 R2 and the other work (PC2) of Windows 7 Professional.

    I work on PC1 using the app called "MetaDimention" dealing with PDF files and generates output files as a separation of colors (CMYK color separation) TIFF files. The problem arises when I intend to exit that TIFF files generated by "MetaDimention" directly in the shared folder on the PC2 via the network "workgroup."

    The 'MetaDimention' gives me the error message: JobTicketMerger: the data output destination '\\EQCENTER1\TiffOut' is not valid (ERROR_ACCESS_DENIED).

    where "\\EQCENTER1\TiffOut" is the path to the folder shared network on PC2.

    I noticed this problem when I using Windows 7 and Windows Server 2008, 2012 as an output destination, but there is no problem when the destination using windows server 2003 path.

    I tried to Google the error message generated by the Application of MetaDimention and I found this thread on the other forum:

    MetaDimension output error - problem

    I have the same problem exactly as mentioned, it has, after several positions the person who asked about the problem, he said that he had found the solution by changing some services started as LocalAccount user! but I do not understand what it does exactly. and here's the quote from his original message: "solved!" some services started as LocalAccount, replaced by the user and all ok.

    Please tell me what can I do to solve this problem in some detail.

    Thank you

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *

Maybe you are looking for