WTK 2.5.2 Emulator always asks about file access

Is there a way to suppress the question that the emulator asks about accessing a file using a Fileconnection? It asks it on EVERY SINGLE ACCESS and seriously interferes with debugging. (On the real device, I can give permission once and be done with it).
Michael D. Spence
Mockingbird Data Systems, Inc.

In (for Windows) C:\Documents and Settings\spence\j2mewtk\2.5.2\appdb:
- Make a copy of _policy.txt so you can undo this later if you want.
- Find the domain you midlet runs in (e.g., domain: identified_third_party).
- Change these two lines:
blanket(oneshot): read_user_data_access
blanket(oneshot): write_user_data_access
to read
allow: read_user_data_access
allow: write_user_data_access

Similar Messages

  • I do not have credit card but in review your account always ask about the card information. what should i do?

    i do not have credit card but in review your account always ask about the card information. what should i do?

    Call the Apple Store and ask them what you should do if you want to purchase on line without a credit cart and without purchasing a gift card which seems to me would require a credit card.

  • When starting SAP client always ask about license server

    Dear Users,
    from few days every user who is loggin into SAP 8.8 PL16 is asking about license server address.
    After typing license server address everything works fine until next start of the SAP client - prompt for license server shows again and again.
    Regards
    GN

    >
    RAHUL MOUNDEKAR wrote:
    > Hi GN........
    >
    > Instead of giving server name in the License Server just input IP Address and just check it.......
    >
    > Regards,
    > Rahul
    The same situation - names are resolved propertly. This issue occurs only on that customer installtion from few days.
    I have even upgraded 8.8 from PL14 to PL16 believed that it helps, but helped not...
    Regards
    GN

  • PLS help me about file access!!

    now the file struct is like the bellow:
    <root>/db
    db.db
    <root>/server
    RemoteDataImp.java
    how to write the code in RemoteDataImp.java to access file db.db??
    the code writen bellow is wrong!
    dataWrapper = new Data("../db/db.db");

    first if this is a file for your database then you need to connected to
    the machine and then you make the code that can access this file
    if you use windows then all you have to do is go to control panel
    and then open Data Sources (ODBC)in User DSN click on Add button
    there choose the database driver if you use Access then double click on
    that then anther box will popup there in Data Source Name write the name
    of the file or any name let say in your case the name is db.db
    then down there you will see a button calls Select click on that
    button to select the file you have saved you database in
    I will give you an idea about how to call you database files if you use Access
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    public class RemoteDataImp {
      private static final String DEFAULT_DRIVER = "sun.jdbc.odbc.JdbcOdbcDriver";
      private static final String DEFUALT_CONNECTION_INFO = "jdbc:odbc:db.db";
      private PreparedStatement setUserNames,removeUserNames;
      private static Connection connection;
      public RemoteDataImp(String driver,String info)throws Exception{
        if (driver == null) driver = DEFAULT_DRIVER;
        if (info == null) info = DEFUALT_CONNECTION_INFO;
        Class.forName(driver).newInstance();
        connection = DriverManager.getConnection(info);
        connection.setAutoCommit(true);
      public PreparedStatement prepareConnection(String sql) throws Exception{
        return connection.prepareStatement(sql);
      public RemoteDataImp()throws Exception {
        this(DEFAULT_DRIVER,DEFUALT_CONNECTION_INFO);
      public void saveToDB(/*the user calss which is containing the set and get */ user) throws Exception{
        RemoteDataImp r = new RemoteDataImp();
        if (setUserNames == null) {
           setUserNames = r.prepareConnection("INSERT INTO userTable (USER_ID,NAME,E_MAIL) VALUES(?,?,?)");
         setUserNames.setString(1,user.getUserId());
         setUserNames.setString(2,user.getName());
         setUserNames.setString(3,user.getEmail());
          setUserNames.execute();
      ublic void removeFromDB(/*the user calss which is containing the set and get */ user) throws Exception {
        DatabaseConnection d = new DatabaseConnection()
        if (removeUserNames == null) {
       removeUserNames = d.prepareConnection("DELETE FROM userTable WHERE USER_ID =?");
    removeUserNames.setString(1,user.getUserId());
        removeUserNames.execute();
      public void finalize() throws Throwable {
        try {
          connection.close();
        catch (Exception ex) {
    }

  • HT204053 How can I delete my iCloud account which I do not remember anything about the information that I entered about 4 years ago. It always asks my birth date but it seems I did not enter my correct date how can I bypass this question???

    How can I delete my iCloud account which I do not remember anything about the information that I entered about 4 years ago. It always asks my birth date but it seems I did not enter my correct date how can I bypass this question???

    You cannot delete the account from the server (partly to prevent the username from becoming available again and some-one else using it to pretend to be you).. Having disengaged your devices from it, go to http://icloud.com and delete any data in there such as contacts and calendars. Then just ignore it.

  • My home button isn't working well so i went to my service provider to ask about the problem. They advised me to update my iPhone to iOS 5 but the problem is no matter what i do, there is always an error. What should I do?

    My home button isn't working well so i went to my service provider to ask about the problem. They advised me to update my iPhone to iOS 5 but the problem is no matter what i do, there is always an error. What should I do?

    If you are having Issues with downloading iOS 5....
    Try temporarily disabling your firewall and antivirus software and try again...
    See here for Connection Issues
    http://support.apple.com/kb/TS1379
    From Here
    http://www.apple.com/support/itunes/troubleshooting/

  • I wanna ask about my imessages, because everytime that I am using my apple ID it is always saying that my username and password was incorrect.But I am really sure that I have input the correct username as well as my password.How can I resolve this problem

    I wanna ask about my iMessages, because everytime that I am using my apple ID it is always saying that my username and password was incorrect.But I am really sure that I have input the correct username as well as my password.How can I resolve this problem?

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • "Always ask me where to save files" does not work.

    Summary: The "Always ask me where to save files" feature does not work. No dialog box comes up, apparently because the browser is stuck on a bad old read-only lastDir location, in a prefs.js file that I can't edit.
    Details:
    I am using Firefox 30.0 on Mac OS 10.6.8. My Mac has a both a read/write Mac partition that I use most of the time, and a bootcamp Windows partition drive ("C"), which I can read but not write to.
    At some point I accidentally tried to download a file from a site, using Firefox, to the read-only Windows C drive. Ever since that time, I have not been able to download any files from Firefox, except to the firefox/downloads folder. This is inconvenient. If, in preferences, I try to set downloads to ""Always ask me where to save files", the dialog box does not come up when I actually try to save files. This problem does not apply to saving photos by right-clicking them.
    If I open, in text-edit, mozilla/firefox/profiles/t4vockvue.default/prefs.js, which was saved yesterday, I can see a problematic line. It reads:
    user_pref("browser.download.lastDir", "C:\\Documents and Settings\\[etcetc]");
    C:\\Documents and Settings\\[etcetc] being the read-only windows directory.
    This prefs.js is apparently not an editable file.
    I tried to fix this by opening a browser tab in Firefox and opening about:config. The editable browser.download.lastDir does NOT show the same "lastDir"....it shows some directory that I successfully downloaded photos to, by right-clicking on a photo.
    How can I fix this problem?
    Thanks.

    To confirm which profile folder is active when you are running Firefox, it is easiest to open it from inside Firefox as follows:
    Sometimes the file that stores the customizations becomes corrupted and fails to update properly at the end of your session. You can rename the file and customize from scratch.
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    In the first table on the page, click the "Show in Finder" button (Windows: "Show Folder" button).
    Hopefully you are using a separate profile folder on each OS.

  • I run OSX10.6.8. Just dwnlded FF8.1 and everytime I go to open it I am asked about the disk image. But if I delete the dmg, the program won't run.

    I just downloaded the 8.1 version. It was a 30+mb file. Previously I ran 4.0. So I drag the new Firefox icon into the Apps folder. It does its merge thing with the old version. Problem is when I click to open FF now, it always throws up this window asking me about the disk image of what I just downloaded. I even tried restarting the computer--but the same message pops up. I checked on your website and it says that I need to "eject" the disk image (i.e. I'm guessing that means the 30+ mb file I just down loaded), so since I don't have an eject option that I can find (except for external harddrives and cd/dvd), I just drug it into the trash. I go to empty the trash and I get a message that that dmg file is "in use" even though FF is completely shut down. So again I'm guessing that means that even though I already merged that dmg file with the old 4.0 version file, if I dump the update file it seems that it's going to mess up the actual revised program file still remaining. I just want to be able to click on the icon in my dock like I've always done and have FF open. I don't want to keep being asked about disk image stuff. Somehow this feels like an easy resolution, but I just can't seem to put my finger on how to resolve it. Thanks for you help.

    Nope---didn't work. I've owned Macs for about 12 years so although I am brain dead on some things, I do have a working knowledge on most things. I only say that to say this--I did try holding down the mouse and choosing empty trash. It asks if I want to permanently delete what's in there. I say yes--and then I get the same identical message again-----'The operation can't be completed because the item "Firefox 8.0.1.dmg" is in use I can then click stop, or continue.' So apparently that complains the same way it does if I click it up on the menu :)))
    As for item owned by---that's not an issue and isn't coming up. User is not a problem either as I am the only user on this system. There is only ONE file in my trash at the moment at that is this dmg file. Nothing Mac. Nothing owned by anyone other than Firefox. The problem seems to be that the dmg file and the original 4.0 FF file are working in tandem with each other--even though I have already drug the new 8.0 globe into the Apps folder and it updated the FF app with the new stuff. If I could force the dmg file to go away, I would do so, but at every turn the system is telling me it can't be done because it seems to think that dmg file is in use---even though everything is shut down and/or ejected. Hey--I'm getting ready to head out and won't be back till evening. I'll check back in this evening. Thank you again for your help.

  • "Save as" dialog box doesn't come up, even though I have "Always ask me where to save files" selected (email attachments)

    Recently, the "save as" dialog box quit appearing when I attempt to download email attachments. I have the "always ask me where to save files" box checked in the tools/options/general/downloads area. The box still appears when I use Chrome, but not when I use Firefox.

    Hello,
    Can you please follow these steps and provide the value for the configuration 'browser.download.useDownloadDir'
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''', to continue to the about:config page.
    Can you please provide the values for the following keys
    #browser.download.useDownloadDir
    #browser.download.lastDir
    Thank you

  • How can I buy a song but always asked the security questions and you don't remember them what should I do

    How can I buy a song but always asked the security questions and you don't remember them what should I do

    Write down your security questions.......
    Here is what you should do if you do not remember the answers to your Apple ID security questions:
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email addresssign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers. 
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID passwordcontact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.
    Cheers,
              Alec

  • I've set m4v files to "always ask" but it opens in the browser player anyway

    Since one of the latest version, Firefox now has a built-in player for certain flash based videos, like m4v. Now, when I try to download such videos (by copy-pasting the direct url to the file into the url bar) it will just open that video in the player. I've tried changing it from always-ask to save file, but even that won't work.
    Is there anything I can do to remedy this?

    hello, firefox 21 and above now make use of the codecs that are included in your OS that enable it to directly play mp3 & mpeg files (also for html5 videos). in order to disable that, enter '''about:config''' into the firefox address bar (confirm the info message in case it shows up) & search for the preference named '''media.windows-media-foundation.enabled'''. double-click it and change its value to '''false'''.

  • ITunes always asks to allow incoming connections

    I have the apple firewall turned on. iTunes is set in the firewall to allow incoming connections.
    With iTunes Home Sharing turned on every time I start iTunes I am asked to allow incoming connections. I reply yes and the next time I restart iTunes I am asked the same question again.
    If I turn iTunes Home Sharing off I am never asked about allowing incoming connections when I use iTunes.
    Is there something else I should be doing? ( other than turning the firewall off )
    Any help would be appreciated.

    If you are experiencing this problem on your Mac, follow these simple steps to get rid of the Allow or Deny popups:
    1. Go to the Applications folder and drag iTunes to the Trash. Don’t worry, your music, videos, and entire media library are not affected and will still be there. Only the iTunes software will be uninstalled (though it's always wise to have a backup, particularly of your iTunes Store purchases or anything else that would be difficult/expensive to replace).
    2. Reboot or log out of your Mac. This step may or may not be necessary, but it certainly doesn’t hurt.
    3. When you are logged back in, go to Apple’s website to download the latest version of iTunes if you haven't already..
    4. Install iTunes. Do not import any songs or videos if it prompts you to do so.
    All of your media should be right where you left it the first time your fresh installation of iTunes is opened. If you get another firewall popup asking to Allow or Deny incoming network connections, make your choice and that should be the last time you see it. Future iTunes launches shouldn't pester you anymore.
    From: MacYourself
    http://www.macyourself.com/2009/08/19/itunes-keeps-asking-to-allow-or-deny-incom ing-connections/
    Hope this helps.

  • Recovery partition always ask for a WI-Wi-Fi  FI network, how to turn of?

    If I start from the recovery partition, it always asks for a network.  since we have our network almost never on (security) I wonder if you can turn this off or bypass.
    I know that if I start up the computer holding alt I can select the recovery volume, but wondered it there is a faster way.
    Thanks.

    mende1 wrote:
    If you press Command, Option (Alt) and R keys instead, you will start in Internet Recovery, which requires you to connect to a Wi-Fi network
    Really? I did it a couple of months ago and don't recall having to do it wirelessly, since I have no such network connection. About OS X Recovery states:
    In order to reinstall OS X Lion or OS X Mountain Lion, you will need to be connected to an Ethernet or Wi-Fi network.

  • Disable "asking about to close a window"

    Hey, with Safari 3, there is the "Taboo-Plugin" included, so I read right...
    It makes me insane, that Safari is always asking me if I want to close really the window, only cause I written some text in any field.
    Is there any option to disable this new function?
    Thanks, Peter

    iBod,
    Closing multiple tabs is a different issue from the one schottenfalke asked about.
    In Safari 3, if you enter text into a form on a web page, and later close the page, it asks if you really want to close it. This is not addressed in the Preferences, nor can I find anything in the plist.
    Any way to turn it off?

Maybe you are looking for