Debugging and file access

Hi!
I have a problem developing a midlet for MIDP2.0
In emulators, everything works fine but I observed some funny behavoir when running that midlet on the mobile phone. Anyway, I am not asking for a solution for that problem, but for a general one:
What is in your opinion the best way to debug the midlet on the mobile phone (not in emulator because it works there...)? How do you write debug messages? Is there a possibility to write something into some kind of log file? I know there is no access to the file system in general, but can I maybe wreite something into a file which is in the JAR file? Please post some example code if there is any possibility to do this =)
Cheers!

You can write the data into the RMS, and pack a second MIDlet in the suite that allows you to read the data.
A couple of other options are displaying it on screen (good for quick fixes and catching small bugs), or sending the data over the network and logging it on the server (in theory the best solution, but in practice if the MIDlet is not networked to begin with you might end up having more bugs and wierd behaviour from the network code than the application you are trying to debug).
shmoove

Similar Messages

  • 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]

  • Folders and Files access denied from Server 2008 on Windows 7

    I upgraded my server from 2003 to 2008. Now my Windows 7 machines can't open files in the Shared Documents on the server.  Error comes back with access denied.  Can use remote desktop with a Windows 7 machine and have access to the Shared Documents
    folder.  Any help as to why getting access denied would be great.

    Hi,
    Plesase check ntfs permisions and share permssions of the shared folder. You could try to set share permissions to Full Control for the Everyone group to see if the issue still exists. 
    Share and NTFS Permissions on a File Server
    http://technet.microsoft.com/en-us/library/cc754178.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Problems with third party package and file access

    I am using a third party package that allows me to decode
    multipart forms that I use to upload files to our server.
    I have been able to write my own code (JSP) that both reads and
    writes to our filesystem. However, when I try to upload a file
    using the third party package the method I am using fails with
    the following IO exception: The error message is "access is
    denied." But the files get written and are usable (even binary
    files). I have checked the directories and all the dirs I am
    writing to have read, write and execute permission.
    I have access to the code so when I duplicate the actual
    methods used for writing (FileOutputStream.write(foo)) in my
    JSP, it writes fine without exceptions. In fact, I use
    FileOutputStream.write() in other code and it works fine. My
    question is: why would FileOutputStream work in packages we have
    developed and not in a third-party package. I have added the
    codebase and filePermissions to <weblogic_home>\weblogic.policy
    without any changes.
    I am running WLS 5.1 and NT 4.0 with SP5.
    Does this problem sound familiar to anyone?
    thanks for any and all help,
    saulj

    HI Mike,
    If you have third party Document Management System, then you can post two different message, i.e. service order in transaction details of the third party tool with link to document which would be posted to third party Document management server.
    If you don't have third party document management system and what to use sap infrastructure, then you don't need to maintain attachment, maintain the link between the third party tool and SAP document repository, with some login utilities.
    Best Regards,
    Pratik Patel.
    Reward with points if it is of any help to you!

  • Can I use the new Time Capsule to backup my mid 2010 Macbook Pro? Also can I want to free up my hard disk, can I save my photos and files on the time capsule and later access through wifi?

    Can I use the new Time Capsule to backup my mid 2010 Macbook Pro? Also can I want to free up my hard disk, can I save my photos and files on the time capsule and later access through wifi?

    Can I use the new Time Capsule to backup my mid 2010 Macbook Pro?
    Yes, if you are asking about using Time Machine to backup the Mac.
    Also can I want to free up my hard disk, can I save my photos and files on the time capsule and later access through wifi?
    You are not thinking of deleting the photos and files on your Mac, are you?  If you do this, you will have no backups for those files.
    Another concern is that Time Machine backs up the changes on your Mac. At some point, Time Machine will automatically delete the photos and files from the Time Capsule.....you just don't know when this might occur.
    In other words, only delete files from your Mac that you can afford to lose.

  • Question re Accessing catalogues and files from an external hard drive in Elements 6.

    Having just acquired an ehd, I have successfully carried out a trial back up of an Elements 6 2000 picture catalogue from an XP based PC, using the Elements 6 full back-up process. This process is intended to be used eventually to transfer this and other catalogues onto a new Windows 8 PC installed with Elements 11.
    However, in the interim I would also like to be able to access the picture files and the catalogue data on the ehd from a Vista based laptop which also has Elements 6 installed. Can you please advise how to do this without carrying out a full restore process that would load all of the files onto my laptop's hard drive.
    In transferring the picture files to the ehd I also seem to have lost the original file structure that was on my PC, as folders have been renamed numerically and are all held individually in the main folder of the ehd. Whilst this doesn't matter too much whilst the files remain on the ehd, provided the catalogue still knows where to find them, has the original file structure been permanently lost, or can I recreate it when I eventually restore the files and catalogue on the new Windows 8 PC?
    I'm anxious to get this process right as I have a much larger catalogue to similarly back-up and transfer, once I have acquired the new PC, and was hoping to be able to similarly access this catalogue by my laptop from the ehd as there is insufficent hard disk space on my laptop to hold all the 20,000 files involved.
    Please help
    Gardener 179

    Thanks for your help re my original questions. 
    Reassured regarding not having lost the file structure of my pictures, and bearing in mind the relatively small catalogue I had backed up, I thought that rather than restoring by leaving the picture files on the EHD, I would after all restore to the laptop hard drive, as a trial run before dealing with my main catalogue. 
    The restore was successful but raised a number of further issues that I would appreciate your advice on:-
    1) The original catalogue name was not used in the restoration process. The restored catalogue on the laptop has simply been named "Pictures". Is this normal and if I now rename the restored catalogue will this create problems with any subsequent supplementary backups of the catalogue?
    2) In restoring the catalogue I heeded the Adobe Help and specified the Vista folder C:\Users\Maurice\Pictures as the location for the picture files rather than simply restoring the original XP folder structure. However, since I also wanted to retain the lower level folder structure of my XP files (which are basically date files) I then specified to "Retain the Original Folder Structure". This has resulted in the full XP folder structure being created within \Pictures on the laptop.
    Is it possible to avoid this situation occurring, or will I have to remove the unwanted XP sub-folder structure from the laptop and reconnect the thumbnails in the Photoshop catalogue to the new file locations? Also if I have to move files in this way will I once again have problems with any subsequent restorations of the same catalogue?
    I have also a couple of supplementary questions re the initial backup to the EHD which I have now looked at more closely:-
    1) The original XP catalogue has 1853 picture files, (and this is identical to that subsequently restored on the laptop), yet in backing up the catalogue to the EHD it seems that in excess of 2200 picture files have been created. Why is this?
    2) As previously advised the pictures are held on the EHD numbered sequentially as "b000001" etc, and due to my selecting the EHD top level root folder as the destination for the back up are held in F:\. Should I have created a new folder, say "Backup 1" on the EHD, and then specified this as the destination folder, as I am concerned that on backing up further catalogues the existing picture files will get overwritten and the Photoshop Backup and Catalogue files confused with previous backups? If so can I move the existing back up files to a new folder now without causing any problems?
    Finally could you confirm what would have happened to the folder structure on the EHD had I carried out the Restore process by locating the picture files on the EHD but retaining their original file structure. Would the picture files have been copied into their original file structure for use by the restored catalogue and the duplicate backup files left unaltered, or would the backup picture files have been replaced by the restored file structure? Also would the "catalogue file" be transferred to the Laptop C:\ drive in this process or would this also stay on the EHD and be accessed from there by Photoshop?
    Sorry for all the questions but I really want to fully understand what is going on before risking doing anything to move my main catalogue.
    Regards

  • I use audio memos and files are saved in icloud. while updating audio memo the apps stop working. i cannot access the apps. how can i retrieve the files saved in icloud ?

    I can't access the audio memo apps but i can see under usage - manage storage that all the files are located in icloud. how to extract .wav files from icloud if the apps is no longer responding to fileshare in itunes? Thanks.

    yes it was solved some time ago. i cant remember exactly but i think i disconnected from the internet and tried accessing the audio apps (or maybe i had accessed the apps first then only turned off internet i cant remember) thereafter the files were in my local apps and then I turned off use icloud. i suggest you backup your ipad on itunes before trying anything. All the best - hope you solve your problem.

  • TS4213 Why can't iPhoto, Pages, Numbers, Keynote and iMovie access my iTunes Library files and Pages, Numbers, Keynote and iMovie access my iPhoto Library files now that I upgraded to '11?

    Why can't iPhoto, Pages, Numbers, Keynote and iMovie access my iTunes Library files and Pages, Numbers, Keynote and iMovie access my iPhoto Library files now that I upgraded to '11?
    Examples of what is going on:
    1. In Pages, Numbers & Keynote, when I go to the media browser the Audio section reads "Open iTunes to populate this list" even after iTunes has been opened, .xml file has been replaced/repaired, etc  AND Photo section reads "Open iPhoto to see photos from your iPhoto Library in this list" even after iPhoto Library has been replaced and new default library created.
    2. In iMovie, similar thing ... when I go to add photos or music to a movie the iTunes files aren't present and the iPhoto photos are missing with similar messages as in #1.
    3. In iPhoto, similar thing ... when I go to add music to a slideshow it says to "Open iTunes to populate this list".
    It is shocking to me that Apple would let something as simple as a pathway link to associated library files get this messed up on an upgrade, but what's even more surprising is that with the number of people who seem to be having this particular issue (and I can tell from all the research that I've done for weeks online that there are a lot of them) that there doesn't seem to be a single clear answer to fixing it anywhere on these community support forums.  Most of what I've seen is rehashed advice from outdated issues.  What I need is a simple answer to how do we get these programs to look for the correct location of the photo and music files because I sure can't seem to find any logical place to do that through the programs' preferences files or the system preferences window?
    Any help would be greatly appreciated.
    P.S. Here's the details on the software/hardware:
    MacBook Pro
    Mac OS X
    Version 10.7.5
    2.4 GHz Intel Core 2 Duo
    8 GB 1067 MHz DDR3
    iTunes 11.0.4 (4)
    iPhoto '11 9.4.3 (720.91)
    iMovie '11 9.0.9 (1795)
    Keynote '09 5.3 (1170)
    Pages '09 4.3 (1048)
    Numbers '09 2.3 (554)

    I have the same problem on a new MacBook Pro. I have not been able to access the iTunes library from iPhoto since I got this computer. I looked in the Preferences file and deleted the com.apple.iApps.plist but there was no com.apple.iApps.lockfile so I just deleted the iAPPs.plist and rebooted the computer.  Still no iTunes available in iPhoto.
    All my music is in iTunes and plays. After reading the above I brought up Pages and I was able to access music and insert a track into a document.
    Do you have any suggestions.

  • Can I move 2TB internal HD from old mac to new mac and still access files

    I just upgraded to a new Mac Pro, we have an old G5 Ma Pro thats getting retired. In the old G5 we have an internal 2TB WD drive with all of our customer art files.
    Can I simply pull the HD from the G5 and stick it in the new Intel machine and have access to all of the files and documents on the new machine?

    Yes.
    But I would clone / backup / off load all the files (2x to be safe) and then reformat the drive to new GPT format.
    Your G5 PowerMac and Mac Pro carry different names, a Mac Pro is Intel-only.
    So I'd pick up at least another 2TB WD Black as a minimum, or maybe you already have backups of those files already.
    Your old system of course isn't compatible and should not be installed until reformatted; clean install and update everything, and you will be "stuck" with 10.6.6 as the minimum build (hopefully most things are compatible now).
    http://macperformanceguide.com/

  • Remote file access doesn't work with Mac and Q10

    I'm running the latest BlackBerry Link (version 1.20, build 7) and Mac OS X (version 10.9) software on my Mac Mini computer. 
    I setup BlackBerry Link for remote file access.
    On my Q10 in File Manager I see my Mac computer but for some reason I don't see any folders. It's just a black blank screen. My carrier is Telus. 
    In link I chose folders to access. It seems like everything is setup properly and I still see only a black blank screen on my Q10. 
    Any Mac users have this issue?

    Me too. None of the sync functions/remote file access/wifi sync using BB Link are working for me. I have a Mac (10.8.5) and a BB Z10 (10.2.0.429). I hope BB comes up with a solution soon. 

  • Smb. Access the volumes and files locally. all lies!

    I want to connect to a windows box which has sharing enabled. I was doing this yesterday and it was fine. Today, Mavericks has thrown in the towel and decided to think different.
    What I normally do is CMD-K and connect to the server. I'll type it in - smb://tardproof - but it can't do it.
    So I'll try connecting to it by it's known, fixed IP address - smb://192.168.0.107 - and ...
    Hmm, that's strange. Since the mac clearly thinks it *can* see it on the network, otherwise why would it be listing it in the finders' "Shared" area? I mean, that's an automatic thing and not something you can command-drag out like normal locations...
    ok.. so if I try to click on it there ...
    Maybe it's authentication. I'll "Connect as ..."
    Dang! Ok, lets think about this. Maybe it's SMB playing up. I know, I'll connect forcing SMB1, since I know Mavericks now defaults to v2.
    and
    Dang! (again). No, wait, the message has changed. "Access the volumes and files locally." Sweet, let me just
    I'm sorry, where?
    hmm, lets just check this out
    so ok, there's definately nothing there in /Volumes, but I know I can ping it. Let's have a look from the other end - can Windows see my mac?
    Yep. All good there. So we have a single direction smb system, in the exact opposite than I need.
    Dang!

    This has been happening repeatedly and has been reported to the hosts in the Lounge. They "are working on a fix."

  • I have installed iTunes Match on my iPhone & laptop. May I now safely delete the music files from my phone and still access my music from the phone? Thanks

    I have installed iTunes Match on my iPhone &amp; laptop. May I now safely delete the music files from my phone and still access my music from the phone? Thanks

    Read this
    http://support.apple.com/kb/PH12492

  • I am having the same problem I think.  With mobileme you simply copy documents to the idisk folder and then synch.  I cannot seem to sink that folder anymore.  Any idea as to how I can simply copy folders to icloud and then access the MS Word and PDF file

    I am having the same problem I think.  With mobileme you simply copy documents to the idisk folder and then synch.  I cannot seem to sink that folder anymore.  Any idea as to how I can simply copy folders to icloud and then access the MS Word and PDF files on my iphone?

    Apple never bopthered to explain that this would happen
    Your iDisk is still accessible after moving to iCloud in exactly the same way as before. Nothing is deleted until June 30th 2012.
    , so I could easily have lost ALL of the files I kept on iDisk.
    No, you couldn't. Firstly, nothing was deleted from your iDisk. Secondly, any files stored on your iDisk should never be your only copy. Even if your iDisk spontaneously combusted, you should keep local backups elsewhere.
    Does Apple WANT people to move their storage elsewhere and stop paying Apple for it?
    Yes. Apple doesn't provide such a service anymore, nor are you paying them for it.
    Apple has made no effort to suggest remedies for the problem it has given iDisk users
    They've provided instructions on how to download your files from your iDisk. What you do with them after that is your choice.

  • The server is available on your computer. Access the volume and files local

    I recently did a clean install on my MacBook (from Leopard to Snow Leopard) and got this error when attempting screen sharing. I provide limited support at my office and do that primarily through screen sharing. One thing I noticed after the install was not only could I not screen share with anyone on the local network, but if anyone tried to connect access my shared folder it would actually open the shared folder of another computer on the network.
    Whereas Screen Sharing would simply time out if I attempted to connect to the majority of computers on the network. However, when I tried connecting to the machine whose shared folders would open if someone tried connecting to my computer, I got the "Connection failed. The server is available on your computer. Access the volumes and files locally." error.
    After performing a hard reset on our Airport Base Station I am now able to screen share with the other computers on our network EXCEPT for the one that gave me the error in quotes above. Any ideas?

    Hi,
    I also encountered this error but in a different situation : after having restored my Lion installation from a Time Machine backup, everything was okay except that I couldn't connect to any disk attached to my Airport extreme.
    I searched for hours and even restored my backup a second time. The problem is specific to only one client since my Macbook was still able to connect to the AE. I ended up resetting all the settings on the AE and restoring them one by one.
    The problem appears when I restore the address range distributed by the AE's DHCP server to the one that was configured before.
    Thus the solution seems to change this address range. Must be something related to a network route or cache or anything like this.
    I hope it will help anybody who encounters this problem. Luckily it seems there are very few : the number of occurences of this problem in google is very low.
    Matt

  • The server is available on your computer. Access the volumes and files locally.

    I have actually solved this issue. However, it was not easy to find support for this specific issue. Here's the problem and solution that worked for me.
    The Problem
    I had an issue with my Macbook Pro and Mac Pro connecting to each other. All of a sudden, I got this message "The server COMPUTERNAME is available on your computer. Access the volumes and files locally."
    The Solution
    After a bit of digging, I found this article:
    http://www.alexanderwilde.com/2011/04/os-x-lion-connection-error-with-afp-and-wo rkaround/
    Steps 1 and 2 of that article seemed to do the trick for me:
    Launch /Applications/Utilities/Terminal and do:
    sudo chmod o+w /Library/Preferences
    defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1
    Now restart your computer.
    From Finder, select an AFP server, or use “Connect To…”.  This will cause the AFP Client to create the full preferences file.
    Thanks to http://www.alexanderwilde.com for helping me solve this.

    Hi,
    I also encountered this error but in a different situation : after having restored my Lion installation from a Time Machine backup, everything was okay except that I couldn't connect to any disk attached to my Airport extreme.
    I searched for hours and even restored my backup a second time. The problem is specific to only one client since my Macbook was still able to connect to the AE. I ended up resetting all the settings on the AE and restoring them one by one.
    The problem appears when I restore the address range distributed by the AE's DHCP server to the one that was configured before.
    Thus the solution seems to change this address range. Must be something related to a network route or cache or anything like this.
    I hope it will help anybody who encounters this problem. Luckily it seems there are very few : the number of occurences of this problem in google is very low.
    Matt

Maybe you are looking for

  • CX_SY_CONVERSION_NO_DATE_TIME XSLT Exception

    Hi, we're running ECC6.0 and created a Web Service(WS) out of a SAP-Function Module(FM). When calling this WS from Excel-VBA (XP; WS-Toolkit) the following error pops up: CX_SY_CONVERSION_NO_DATE_TIME: XSLT Exception An Error occured while deserializ

  • Process Chain issue-Needs urgent Help

    R/3 Master Data Main Chain Problem Description: When we trigger the process chain from SM64, the process chain fails at the step as shown below. There are no logs for the local chain i.e. the local chain fails without linking. If we manually schedule

  • Can't delete Appleworks or get it out of my trash

    I want to delete appleworks because I never use it. I deleted it. It went into my trash. when I tried to empty the trash I got a message that said appleworks couldn't be deleted because it was in use by the system. When I tried to drag it out of the

  • Styles and Effects Effects

    In the Styles and Effects palette, under Layer Effects, we seem to have lost the WOW NEON styles. Short of a reinstall, does anyone have any suggestions how to get these Wow Neon effects back? Dave

  • Mouse Click Suddenly STOPS working... on all mice

    I had a situation today I've never seen before. I selected an item in a folder in the finder to drag and drop, but I couldn't let go. My mouse would not receive a single click/left click. I thought it might be the mouse so I switched mice to an Apple