Help regarding file access

hi. i have written code in j2me for playing audio and video files using createPlayer method.But i am playing these files using uri.I have allowed for file browsing. The uri i have given in the bracket is :
Manager.createPlayer("file://localhost/root1/abc.mpg");
which is working fine in J2ME wtk2.2
But it is not working in sony ericsson emulator 2.2
I think sony emulator does not support this protocol. but has support for playing MP3. So which uri i shud give to it.
PLS help urgently .thanx in advance.

why don't u search on a sony ericsson forum??

Similar Messages

  • Help Regarding File I/O in a procedure using Cursor

    Hi all,
    I am using a procedure, which uses a cursor, in this cursor we do some calculations and then write these calculations in a .csv file using utl_file package.
    We have 2 approaches,
    1. In every loop of cursor calculate and write then and there itself in the .csv file this means that file is open for total execution time of cursor.
    2. In every loop of cursor calculate the values and at end of loop get the accumulated value in temporary variables and write into the file once, rather than in loop.
    Which approach is better? Any visible proofs of which is better approach?
    i. Our database server is a stand alone server.
    ii. The file to be created is on same server.
    iii. Our server is single CPU, single disk server.
    iv. at a time only one user will access the file to write and that too everytime file is created with unique name having timestamp in its name.
    Considering all these points, can you guys pls help me in deciding which is better approach, how and why?
    Thanks in advance,
    Avinash Bhamare.

    Hi,
    Thanks for the link,
    But it is not what i am looking for...
    My doubt is simple and regarding whether we should be doin the I/O operations on any file in a loop or outisde loop.
    Thanks & Regards,
    Avinash.

  • Help regarding files after re-installing M. Lion

    Hey everyone,
    I stupidly deleted the VAR folder today when I was using DaisyDisk and didn't look into it before hand. I then had to reinstall Mountain Lion which worked succesfully adn didn't delete my files however they didn't come back in my normal user window but are still on my HD. I opened iTunes and nothing was in there, my folders on my desktop are gone etc etc. If I spotlight any of the files though they show up and also if I go into the Users folder it shows my old user but doesn't show up in the login pane for me to log into.
    Is there anyway I can get my old user back with my files? As I said everything is still on my HD but for some reason Mountain line basically made a new user for me adn I can't access my old one.
    I hope I have provided enough info for somebody to be able to help. Thank you in advance any help is appreciated.

    If you have a hard drive and it's not Filevaulted you can recover the non-overwritten files with a external boot drive and a copy of $100 Data Rescue installed on it.
    .Create a data recovery/undelete external boot drive
    The software reads the 1's and 0's of the bits themselves, not going by what anything else says.
    You have to quit using the internal drive/MacintoshHD partition particulary as the more your using it, the more it's writing over your files and less is recoverable.
    Also it might be possible to see and grab the files without Data Rescue from the external drive.
    Once you have your files, you just erase and install fresh and return those files into the new account and then #6 repair users permissions.
    ..Step by Step to fix your Mac

  • Regarding "File Access Parameters" in Integration Directory

    Hi,
       Suggest me how to provide the source and target directory names if i place the input file in the C- drive of my local system.
        I provided the source directory name in the following way.
           <b>C:/Dinesh/XI/INP</b>
       But IS is not picking the file.

    Hi,
    You need to place the file in a folder that is shared and that can be accesed from your Xi server.
    Share your folder DIINESH and then in your file adapter give the directory as <b>
    IPADDRESS of your machine\Dinesh</b>
    Make sure XI can acces your folder and that ports are open. If not, then use this blog to set up your local desktop as a FTP server,
    /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
    Regards,.
    Bhavesh

  • Need design issue help regarding database access..

    I have an web application running on tomcat that will have access to a database connection pool. I have found a free java api that provides connection pooling. The code i will be using is:
    ConnectionPool pool = new ConnectionPool("local",
         10,
         30,
         180000, // milliseconds
         url,
         "b_lightyear",
         "BeyondInfinity");
    pool.getConnection();
    I need to put the above code somewhere where all my beans and classes can access it easily. I thought i would create a static class called DBConnector and have a getConnection() method to return a connection from the pool. However i would want the DBConnector class to be initialised on tomcat startup so that all the database pool can be initialised then. I dont see how i can do this? I know i can make a servlet initialised on tomcat startup but if i put the above code in a servlet how will i access it in my beans and java classes. I wont have the request, response objects available.
    Discuss.

    You should not need to 'control' access to the pool via a static method. The pool itself is probably implemented as a Singleton anyway. BTW, what pool are you using? DBCP from Jakarta is popular, stable and free.
    You use the Servlet's init() method for startup tasks and its destroy() method for clean-up tasks. Initialize your pool in the init() method of your Servlet. Simple. Just make sure you don't declare instance variables in your Servlet, can lead to thread-safety issues.
    BTW, love the Toy Story allusion! :^)
    - Saish

  • Help regarding file attachment

    Hello All,
    I am developing a form where the user will add details about a person.At the end there would be a button called "Add Photo" when the user clicks the button the add files dialogue will open. The user can browse through the photo and can add the Photo.The max size limited should be 700 KB.After the user has added the photo the photo would be shown as a thumb nail view. Also the user can change the photo later on .I am also thinking about : If the user clicks on the photo it would be displayed in its original size and one close button will appear on the bigger photo on the top right hand side corner.If the user clicks it then the photo will become thumb nail view once again. Is it possible to design in LiveCycle Designer 8.2 or am being too optimistic ?
    Thanks.
    Bibhu.

    Hi Bibhu,
    Here is an example:
    https://acrobat.com/#d=jTxbDqy4gH9r2oALyXQQhQ
    Check out the script in the layout_ready event of the larger image.
    Good luck,
    Niall

  • Help regarding file name

    Hi All,
    I want to write my logging information into a file with filename <month><year>.log
    How can I do this using the log4j xml configuration file?
    Thanks, Sachin

    I don't have the documentation here but you would use a DailyRollingFileAppender. If you are working with log4j then you should have the docs accessible. Check it out. If I recall correctly there is an example of that in the tutorial that comes with the product.

  • UAG file access still gives script error with SP3 RU1

    Hi,
    I seems that UAG SP3 RU1 still have the same bug regarding file access and script error.
    Also tried to change back and fort between CInt and parseInt (see link below) after SP3 RU1 has been Applied and still no luck :(
    http://itcalls.blogspot.dk/2013/03/uag-2010-file-access-application-fails.html
    If anyone have this working please let me know.
    UAG SP3 version is 4.0.3123.10000 and im running 4.0.3206.10100 just to confirm i have Applied KB 2744025
    /Peter

    I'm having the same issues, and currently unable to update to SP4 due to a problem with using the UpdateSchema tool.
    Does anybody know of a workaround at all?
    Thanks
    Martin

  • I want to uninstall and then reinstall Firefox but I can't uninstall it. Nothing happens when I click remove in program access and defaults and the helper.exe file in the firefox uninstall dir doesn't do anything either.

    I want to uninstall and then reinstall Firefox but I can't uninstall it. Nothing happens when I click remove in program access and defaults and the helper.exe file in the firefox uninstall dir doesn't do anything either.

    "program access and defaults" is not the place to remove programs in Windows. You need to go to the control panel and click on Add and Remove programs. For instructions on how to uninstall Firefox, see [[Uninstalling Firefox]]

  • Java Access Helper Jar file problem

    I just downloaded Java Access Helper zip file, and unzipped, and run the following command in UNIX
    % java -jar jaccesshelper.jar -install
    I get the following error message, and the installation stopped.
    Exception in thread "main" java.lang.NumberFormatException: Empty version string
    at java.lang.Package.isCompatibleWith(Package.java:206)
    at jaccesshelper.main.JAccessHelperApp.checkJavaVersion(JAccessHelperApp.java:1156)
    at jaccesshelper.main.JAccessHelperApp.instanceMain(JAccessHelperApp.java:159)
    at JAccessHelper.main(JAccessHelper.java:39)
    If I try to run the jar file, I get the same error message.
    Does anyone know how I can fix this?
    Thanks

    Cross-posted, to waste yours and my time...
    http://forum.java.sun.com/thread.jsp?thread=552805&forum=54&message=2704318

  • I cannot open files - they come up with an error opening this file - access denied.  Help!

    All my adobe files are now the same - they will not open at all - access denied with no reason other than an error!  Help!

    Hi - Strangely enough the files opened the very next time I tried!  It 
    must be my fickle computer!  My Adobe is quite new so I do not think it is 
    outdated.
    Thanks for the reply anyway - I will plough on.
    Cheers -Patti
    In a message dated 01/04/2015 09:57:13 GMT Daylight Time, 
    [email protected] writes:
    You  have been mentioned
    by  Anubha  Goel
    (https://forums.adobe.com/people/Anubha+Goel?et=notification.mention)  in Re: I cannot open files - they come up with an error 
    opening this file - access denied. Help! in Adobe Community - _View  Anubha
    Goel's reference to you_
    (https://forums.adobe.com/message/7394775?et=notification.mention#7394775)

  • Help! FCP 6.0.6 Export Failed "File Access Denied"

    I use HDV video captured via Firewire with a Sony external HDV deck.
    In FCP, I use "Easy Setup", Format: HD / Use: HDV-1080i60.
    Export using Quicktime (not quicktime conversion) and set export using HDV 1080i60.
    No matter the legnth of the sequence, I will get the error message, "File Access Denied", but not until the end of the export! So it will go until the export should be "done", then give me the error message.
    All files are on the computer's hard drive, no external hard drives are used to or from when exporting.
    Any help would be appreciated! Thanks in advance!

    Did you COMPLETELY UNINSTALL FCP before you reinstalled it?
    Trashing the icon is not enough - there may be corrupt files remaining which will ruin the new installation.
    This article tells you how, together with other troubleshooting techniques:-
    http://support.apple.com/kb/TS1846?viewlocale=en_US
    Alternatively you can use FCP Remover but it will clear everything from the FCS set of apps:-
    http://www.digitalrebellion.com/fcs_remover.htm

  • Need help regarding may ipad, i cant access my ipad, need help regarding may ipad, i cant access my ipad

    need help regarding may ipad, i cant access my ipad, need help regarding may ipad, i cant access my ipad

    Can you be little more specific?

  • MaxDB KNLDIAG file access denied

    Hi,
    I'm a DBA recently assigned to support MaxDB database (ver 7.6) used by
    SAP Content Server in our windows 2003/32 bit environments.
    Initially, our windows support group granted the DBA group access to
    the files on E:\sapdb\data\wrk\CD1 where the KNLDIAG and other files
    are allocated. We were able to view the KNLDIAG file when errors
    occurred.
    However, when the database instance is placed offine and back online,
    we loose access to the KNLDIAG file, but not the other files on the
    same directory/subdirectory.
    Can you explain what is happening?
    Is MaxDB doing something behind the scenes?
    What can be done so that we don't loose access to this file?
    I would appreciate any help you can provide.
    Regards,
    Bill

    Hi Bill!
    > I'm a DBA recently assigned to support MaxDB database (ver 7.6) used by
    > SAP Content Server in our windows 2003/32 bit environments.
    > Initially, our windows support group granted the DBA group access to
    > the files on E:\sapdb\data\wrk\CD1 where the KNLDIAG and other files
    > are allocated. We were able to view the KNLDIAG file when errors
    > occurred.
    > However, when the database instance is placed offine and back online,
    > we loose access to the KNLDIAG file, but not the other files on the
    > same directory/subdirectory.
    >
    > Can you explain what is happening?
    Yes, no problem!
    > Is MaxDB doing something behind the scenes?
    Of course not - it's well documented
    Unlike Oracle MaxDB does not use the same file all the time to write out the error messages.
    Instead, with every restart the last file 'KLNDIAG' (and/or 'KNLMSG'  in more recent versions) is renamed to 'KNLDIAG.OLD'. If there is already an 'KNLDIAG.OLD' this file is gone afterwards.
    Then a new file is 'KNLDIAG' is created by the MaxDB Kernel with the default permission of the folder.
    Usually these are dictated by the Windows account that runs the MaxDB-Service.
    If you did not change this, this would be the "local systemaccount".
    On my test system this results in default permissions that allow members of "Adminstrators", "Backup Operators", "System" and of course the "Owner/Creator" to access the file.
    > What can be done so that we don't loose access to this file?
    Simple: if you want to access it via OS tools, make sure that the user is a member of the "Administrators" or the "Backup Operators" group.
    If you don't want to do that, just use the file access via the DBMGUI or DB Studio (or DBMCLI) to get access to the file.
    regards,
    Lars
    p.s.
    Maybe you didn't notice that by now - the KNLDIAG file is not simply written at the end of the file, but consists of a startup header part and a body which is cyclically overwritten.
    For any newbies I cannot overstate the importance of reading the documentation [http://maxdb.sap.com] and/or get a training for it (SAP course ADM 515 really pays of here...)

  • Server 2008r2 and windows 7 pro slow to no networkshare file searching and file access (green progress bar)

    we are running a windows server 2008r2 sp1 domain controller and a 3com gigabit switch to which 7 windows 7 pro computers are connected. We are only using the windows server to distribute a few printers and as a network share (z drive).
    we are storing all files (word documents only) centrally on the server (z share), and files are accessed and written to the z share.
    Problem is that file access from the z share on the windows 7 client computers is at best buggy. we are able to browse the z-share, but as soon as we want to search the z-share for files (f.i. use file explorer with "content: memorandum") the green
    progress bar shows and no search is performed. something like alphabetically sorting a directory on map/file name on the z-share also shows a green bar with no sorting. manually going to the files works.
    One thing i noticed, sometimes not all files that one user created and stored on the server is visible and can be found by another user. I prefer to disable all offline file caching setting, because that feature is not used. no files should be made accessible
    offline. i don't know where to change that on the server side. 
    I am reluctant to experiment on the server end (2008r2 sp1), so i tried a few suggested solutions on the client end (windows 7 client)
    I tried disabling offline file caching
    i tried properties (z share) ==> advanced and map optimizing and several options there
    i tried disabling the smbv2 protocol and disabling the smbv1 protocol (using
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi command etc. posted by microsoft)
    i tried disabling windows defender
    i tried accessing the z share via ip and server name (the share is mapped via its servername, e.g. dennis-dc1\share). still the same
    file searching on the clients c drive ('own harddrive') works much better, file searching on the server also works.
    any suggestions or solutions that i can test on the client side, as mentioned i am reluctant to change something on the server side. if a solutions works, i prefer to change it on the server side.

    Hi,
    The issue could be due to windows indexing service taking long time in sorting and searching in mapped drives. Please try the steps belwo to disable windows indexing service or search service on the windows 7 client to resolve the issue.
    You can click on Start and select Control Panel, click on
    Programs and Features, go into the Turn Windows Features on or off section Scroll down the list and uncheck the box next to Indexing Service or Windows Search.
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • Is there a Wholesale issue with Infinity 2?

    So I've been on Infinity Unlimited for a few months and was getting constant 35-36mbps down and 7-8mbps up with latency of around 20-21ms (Draytek 2750n synced at 40/10). A couple of weeks ago I reviewed my package and as part of this I was advised t

  • Windows 98 drivers for Creative Ensonique Audio

    Hello I've got a Creative Ensonique Audio PCI (CT480). The problem is, that I haven't got any drivers disk, so that I've had a look at the creative website. At the download area I've found a driver, called "Standalone driver for Creative ENSONIQ Audi

  • ThinkVanta​ge Toolbox works but crashes when clicking on "settings"

    Hi. I have just changed my HDD, from a SG Momentus 500GB to the same but 750 GB. Computer's a ThinkPad T410, OS is W7 Ultimate 64bit. With the previous disk I never experienced any issues with ToolBox, while with this one everything works, but when I

  • R/3 Plug-In for NW04s

    Hi, Currently, we are on PI_BASIS Level 8 (SAPKIPYI58)in our R/3 system and our R/3 was just recently unicoded as well.  What level should we be at for NW04s?  Also, we are getting a short dump in R/3 when doing a simple plant text extraction (0PLANT

  • AIR 3.2 video upside down and mirrored

    Here is a bug report https://bugbase.adobe.com/index.cfm?event=bug&id=3156631 SVC video decoding upside down and mirrored - AIR version 3.2.0.270 Everything was ok before update. Problem Description: In AIR desktop version there is a big problem with