Saving an image file in phone memory

Hi everyone,
I want to save a file (an image file) in my phone/ memory-card memory.
i've infact captured it from camera and now want to save in the memory not in the RecordStore.
What should i do ?
Please help me.
Thanks in advance

hi,
You will need the pda optional package jsr75 for file connection. Then create a byte vector from the image and then write the bytes to the location
byte[] bytes = ... // from input stream
String filePath = "file:///c:/"+aFileName;
          System.out.println(filePath);
          OutputStream os = null;
          FileConnection fc = null;
          try {
               fc = (FileConnection)Connector.open(filePath);
               if(!fc.exists()){
                    fc.create();
               os = fc.openOutputStream();
               for(int i = 0;i< bytes.length;i++){
                    os.write(bytes);
          } catch (IOException e) {
               throw new IOException();
          }finally{
               if(os != null)
                    os.close();
               if(fc != null)
                    fc.close();

Similar Messages

  • Reading files from phone memory

    Hi All,
    I am developing a Universal application using vs 2013 in windows phone 8.1. I am stuck in finding and reading file from phone memory.
    I have used the Localfolder syntax
    StorageFolder folder = Windows.Storage.ApplicationData.Current.LocalFolder;but it didn't worked. Its Showing the application data. But i want to read the file exixts in my phone memory.Then i have usedStorageFolder file = KnownFolders.DocumentsLibrary;but as i read from the forums its not suggested way to approach. Please suggest me the way to find the file from phone memory and to read it.Any help would be appreciatable!!

    Hi sarika,
    That is expected, see the documentation for more information:
    App capability declarations at Documents section, you need declared at least a file type association.
    Furthermore You can't use the Documents library in a Windows Phone Store app.
    You can't publish a Windows Phone Store app that specifies the documentsLibrary capability to the Windows Phone Store. The Store blocks the publishing of the app.
    Your app can't access the Documents library in the phone's internal storage. If another app creates a Documents folder on the optional SD card, however, your app can see that folder.
    --James
    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.
    Click
    HERE to participate the survey.

  • Problem actually viewing files in phone memory and...

    When I browse the phone memory and the memory card using the file manager a lot of the files show empty but I know there are things in them.  I also copied the memory card to my computer and looked and have the same problem...even after selecting to view hidden files as well.  The folders just show empty.
    Also...my contacts are set to be saved in phone memory...yet I cannot find a "contacts" folder anywhere in phone memory.  The memory card has a "contacts" folder but it appears empty when viewing it.
    Any ideas?
    Solved!
    Go to Solution.

    The Nokia File Manager gives access to just a fraction of the phone memory, and several directories on both the phone and the memory card are write-protected and also typically read- and view-protected.  (The workaround for the card is to put the phone in Mass Storage mode, or to use an external card reader.)  But in my experience, there really are lots of empty directories!  I figure it's a side effect of Symbian's 10+ year history.  If you really want to see what's on your phone, install a third party file browser like Y-Browser (http://www.drjukka.com/YBrowser.html , scroll down to the bottom) or X-Plore (http://www.lonelycatgames.com/?app=download ).  Even better, install Mobile Guard (http://www.netqin.com/en/guard/symbian/ ) for read access to protected directories like C:\Private and C:\Sys.  (Mobile Guard is a suite of programs, some of which may run automatically like a download manager...so don't be alarmed by the pop-ups.  You can turn most of them off.)
    Your contacts are stored somewhere in C:\Private, as well as email, SMS messages, etc.  That's why you can't find them.  This is the nature of Symbian's "System Security" feature.  Hope that helps!

  • How to delete other files in phone memory

    i had a problem that other files in my phone are rapidly increasing in size they have increased from 60 mb to 103 mb in two days and now my phone take so many time to process any application that i open.
    Please help me i want to set memory card as default memory for all application as i had saved maps, messages in memory card.
    I think that internet browsing has eaten my phone memory, i had also deleted all my privacy data from internet but nothing helped me.
    Please help me guys how do i delete or move these other files.

    It is very strange that you lost ~43 MB of phone memory in two days!  If you think the web browser cache is still to blame, you can try deleting it manually using a third-party file browser like Y-Browser (http://www.drjukka.com/YBrowser.html , then scroll to the bottom) or X-Plore (http://www.lonelycatgames.com/?app=download).  Delete the entire contents of C:\System\Cache , but not the Cache folder itself.  Reboot and see if that makes a difference.
    If that doesn't fix the problem, some people have blamed Bluetooth file transfers on lost phone memory.  Maybe you have done this lately?  Otherwise see this thread for advice: /t5/Eseries-and-Communicators/E72-RM-530-Phone-memory-full-for-no-apparent-reason-any-solution/m-p/1... .  (Beware that I rambled too much. )  Your best friend may be NetQin's Mobile Guard program.  Its File Manager feature includes an "Analyse Storage" option that will look for the largest files on any drive.  Post a followup if you need more advice.

  • (6230i) Unable to delete...file from phone memory

    Hello ...please help ...
    ...im having trouble deleting file from my phone memory (music file) that i downloaded from www.uaemobiles.com/wap/down.aspx?MN=3332383573&CD=​74752
    file is stil in my service inbox..
    please guide me ...i wanna get rid of that file..

    Check the 'More Like This' discussions on the right hand column.  I suspect you may find the answer there.
    Ciao.

  • File name used by plug-in for saving the image file.

    I have a program that creates a web page that has an object tag with a call to a program and that program delivers a PDF file.  When my users want to save that image the name of the image is a random name.  Is there any way to make the plug-in, Adobe, use the meta tag Title or any other infromation that my program can provide, as image (file)  name to be used for saving the image. (the initial suggested name)?  I really appreciate your help.

    One option is to rename the file after it's been exported using Windows File I/O API.

  • Automation in saving a image file with a specific max file size

    Hi everyone,
    I hope someone can help me by this.
    Background info:
    We got several image files every 2 weeks which should be edited and mainly reduced in size for web purpose. This work needs 1 work day for one man/woman to do, because he/she has to open the file save for web and then set the quality to a value were the file is nearly about 150-200 KB in size.
    The images are different, some have few colors, some have a lot of colors and there are also different in resolution. But they should not be reduced in resolution, only in quality. All other specs of the image should be kept 
    Is there any possible script, plug-in or similar which can do the same (Saving with a specific max. file size) in some automatic and faster way?
    Any help is really appreciated!
    Thanks in advance!
    Kind regards
    Packesel

    *push*
    Hi everyone,
    I still need help with this. Is there any tool (OS X) or script for Photoshop who can fulfill this (see title).
    ANY help is really appreciated!
    Thanks in advance.
    Regards
    Packesel

  • Nokia 7373-how to move images etc to phone memory ...

    Hi Ive just bought a cool nokia 7373 and after bluetoothing all my images/videos/music from my old samsung Im having trouble sorting them all into images/videos/music folders.
    They are all in my memory card muddled up just now but if I mark all my pics and then go to move marked then send to Images folder its saying not enough memory?
    Why is this does anyone know as I thought I had more memory on the nokia than my samsung?
    Thanks in advance
    Laura.x

    Hi Jake,
    If you do the following steps, it should work!
    - Go to "People"
    - Click on "Phonebook" at the top so that the dropdown opens and shows you what it populating the contacts in your phone.
    - Uncheck everything but Google. (That means un-check Sim Card, Phone, Facebook, and even Google+)
    Once you do this, when you add new contacts, it should default to Google. The only other option is to "train" yourself to select your Google account rather than phone (under "Contact Type") when adding new contacts.

  • Problem in saving edited pdf files in phone

    it only occur when I save a notation or highlighted text in the PDF file ( around 7.1MB) but when I try to a lower size pdf file, the file is been saved.

    Make sure you disable the Preview pane in Windows Explorer.

  • Delete file from NOKIA C5-03 phone memory

    I still face a problem that when I buy mobile then phone memory was 40MB, but now it reduced to 30MB. I try to browse and remove unwanted file from phone memory. But nothing gonna happen.  I also use pc suite, mass storage etc, but can't. What can I do now?

    Try clearing browser cache and your messages from inbox. Try installing ET optimizer or netqin mobile guard. They both can be used to remove trash files.
    blitZkid
    Nokia C7: Running on Nokia Belle
    "If I'm helpful in anyway, a click of appreciation on the star would be nice"

  • How to keep a copy of the image file on memory card when using tethered shooting with a Nikon D800?

    I love tethered Shooting but as default (at least for Nikon) Lightroom does only save the file on the computer, not on the memory card.
    Now I want to have a backup of the image file on the memory card additionally to downloading it. The tethering software digiCamControl can do this with my camera, so it is technically possible.
    So how can I achieve this using Lightroom tethering?

    Thanks. FWIW I'm very keen on improving tethering and lobbied Adobe endlessly until they added the overlay for shooting into layouts because it was a major reason why some of my clients were unable to switch to Lightroom from PhaseOne. But we have to be realistic and remember that tethering just isn't a key market for Adobe as it is for PhaseOne, so progress is painfully slow. For example, where is live view or setting exposure which are in PhaseOne? I'd be amazed if we get those features for a few versions, and that's why I point serious tethered shooters to other solutions. And realistically, assuming your understanding of the SDK is correct you shouldn't expect a change until the next full version of Lightroom.  Good if it happens, but I wouldn't bet on it.

  • Viewing phone memory files on N82

    hi....I dunno how to view the files in phone memory of N82 by data transfer mode. Memory card details are unable that i know but what abt phone memory details...how can i see the files??
    Thanks in advance

    you can use the file mgr on the phone to see the file structure of your phone memory, if you want a more detailed view of ALL folders and files including system and hidden, you can use a third-party file manager (x-plore for example). let me remind you that playing with these folders and files can be dangerous.
    Fear not those who argue but those who dodge

  • Phone memory - 5800XM

    Hello
    Though I have not saved any application in the phone memory, it shows that I am left only with 48mb of phone memory.
    Can anyone tell me how to check what is using up my phone memory?
    Thank you

    These other files could be:
    1. Cache memory - this is accumulated as you use internet on your PC. This also includes passwords, history, etc. To clean this, it depends upon what browser you use
    2. Application data - like game save files, application association files, for apps that use hardware (for example, Nokia Sports Tracker needs association files between app data and GPS module even if the app was in memory card). If you uninstall certain apps, these other files also decrease, whether or not they are saved on phone memory.
    3. Image thumbnails - obviously you should know what these are.
    4. A few other things that I do not know.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • Nokia Asha 206 Phone memory problem.

    I have a Nokia Asha 206. Recently I updated it. After the update now out shows phone memory full all the time though I don't have any file in phone memory accept those which I could not delete. Please tell me how to solve this problem cause even if anyone sends me text msg it does not come to my phone cause memory is full. Even I can't send any msg. Everytime I try to send or receive something it showed memory full.i have external memory having 700mb free space but only 37kb internal free space.

    Hi, wasimul. Welcome to our community. We suggest deleting some of your files like photos, videos, and text messages that you no longer need. You can also save your contacts directly to the memory card to avoid such issue. Another option is to reset it to its original settings. Here's how: Restore factory settings. The link is still applicable regardless of your location. We look forward to your reply. 

  • The export operation failed to create an image file

    I've been experiencing bizarre behavior when attempting to export images to my Usb-connected card reader. After reading some threads on this form, I was convinced that my reader was defective. Same problem on a brand-new reader.
    The specific behavior was as follows: I attempted to export roughly 150 custom-named 500 KB image files to the memory card. The last 15 or so failed to transfer and I got the message, "the export operation failed to create an image file for the versions identified below."
    Trashing VP list didn't help. What did was changing the custom name. There was nothing particularly unusual about the original custom name and the new one was virtually identical. After changing the name, the export worked without a hitch.
    Has anyone experienced similar behavior? Any ideas what's going on?

    problem was that the NEW card reader was faulty as well. My luck!

Maybe you are looking for

  • Creating a new document using XQuery

    Hello everyone, I wondered if there was a way to create a new document using XQuery. What I am trying to do is to run a query on XML file and try to print the results in HTML for viewing purpose. The HTML is spitted out on DOS prompt. Instead I wante

  • How do i turn off the feature so that it stops speaking all of my playlists

    how do I turn off the feature on my ipod so that it stops speaking all of my playlists

  • X200s BSOD when resuming from hibernatio​n

    I always get a BSOD regarding CLASSPNP.SYS when trying to resume from hibernation after the laptop has hibernated because of critical battery level. The BSOD also says that "physical memory dump failed with status 0xc000009c". If I just choose to hib

  • WPA Security Connection dropped

    Okay, so I switch from WPE to WPA and everything was running great until last night when I fired up my system. My connection was no longer available and I couldn't get it to reconnect. All my pc's (Windows XP) are still connecting fine. How is it I c

  • Why won't iTunes connect to the iTunes store?

    My iTunes software won't connect with the online store. When I click 'Help' from iTunes sw it says I'm not connected to the internet. How to correct?