How to save files in mobile phone

Hello good people!
How can i save some information from my midlet to the mobile phone (eg, in a text file or something) for use the informations later, when the application is started again ?
Thank you!

If you want to save information at the first start of the MiDlet, you can use RecordStore.openRecordstore(NAME,false) then catch the exception to know if the recordstore exits, if not then you may create it and if it exits, it will be open and you may RecordStore.addRecord() to add record to it.
hope this answers your question.

Similar Messages

  • How to invoke Java file into Mobile phone

    hi
    I have one java file (as servlet to display WML content on mobile phone) but i don't know how to invoke it into mobile phone . Can you help me ?
    Give me your answer asap
    Thanks
    .

    Depends on the phone. Some let you send an app via IR or bluetooth, and others (like the sharp) make you do it via the wap browser.
    Suggest you investigate http://www.midlethosting.co.uk

  • I want to upload some files from mobile phone to webserver? how? thanks!

    I want to upload some files from mobile phone to webserver? how? thanks!

    The vibrating phone was created in Java. Some british company is selling the program to women for on the go fun. I'm pretty sure the actual code in the program is only a few lines.
    Oh... you were talking to the other guy. He wants a java app to upload something to a JSP or database server.

  • Will not print files from mobile phone says it **may have** a virus- and deletes the file

    My HP photosmart premium with wireless ePrint, will not print files from mobile phone says it **may have** a virus- and deletes the file?!? My Fiance has the same phone, and I used it. It completed the file??? If I text message and E-mail address, my cell phone will come up as and E-mail address... has anyone else had this issue? Is it because I texted the the file? It didn't seem to be and issue on any of the other mobile phones used.... I am out of answers.... I tried to E-mail as well...
    Thanks in advance

    I have nearly the same problem, the printer discards my print job even when i have entered my email address as authorised senders.
    Details from my other post:
    I sent 2 emails to the printer:
    - one is a 3 lines of text and numbers in a GIF file sent as an attachment
    - another is a jpg circuit diagram paste in a word doc sent as an attachment
    both are classified as spam and refused to print. i have no email coming back saying it failed (even i have checked "Email Job Status" in ePrint Settings.
    So what will this HP printer print?
    How can I switch this useless spam filter off?
    I have get this filter off! I need this email printing to work reliably, that is a major reason I bought this printer
    Any suggestions are welcomed...
    HP's slogan on the box:
    "Now you can print from virtually anywhere" (but get discarded every single time!)

  • How to save file in users temp directory in java

    How to save file in users temp directory as "<Drive Name>:\Documents and Settings\<User Name\Local Settings\Temp".

    Shouldn't the System property "user.home" reference to that directory on windows? So if you call System.getProperty("user.home");, I think it should return that path at least up to <User Name>. I never really tried it on Windows though.

  • HT4993 hello i would like to ask .. how much need to know mobile phone's code? thank you

    i would like to ask .. how much need to know mobile phone's code? thank you

    Did you already try the suggestions from this article?
    Symptoms
    In certain situations, iPhone may present one of the following symptoms:
    "Invalid SIM" or "No SIM Card installed" alert appears intermittently.
    Status bar displays "No Service", "No SIM" or "Searching" in a location with good network coverage.
    Resolution
    If you encounter any of the above symptoms on your iPhone, try these steps to attempt to resolve the issue:
    Update your iPhone to the latest version of iOS.
    Toggle Airplane mode On and Off.
    Try turning iPhone off and then on again.
    Check for a carrier settings update. Tap Settings > General > About. If an update is available, a prompt will appear.
    Remove the SIM Card and verify that it is a valid, carrier-manufactured SIM. Also verify that it is not damaged, worn, or modified. Then reinsert it.
    Restore the iPhone.
    copied from iPhone: Troubleshooting No Service or No SIM

  • How to save files in MUSE?

    I have watched many of the MUSE tutorials, both on the Adobe site and Lynda, but I have not seen anywhere how to save files, or where. Please help. Thanks.

    Can you please elaborate your query here? Which file exactly are you referring to that you are unable to save? In Muse, it is just the Muse site/project file primarily with the extension .muse that you save/save as through the File menu.
    Thanks,
    Vinayak

  • How to call Sri Lanka mobile phones and land-lines...

    How to call Sri Lanka mobile phones and land-lines from skype? When i am in overseas how to use skype to call to Sri Lanka mobile phones and land-lines? Can i know the process, how to get skype credit?, how to get subscriptions?, what are the rates for mobile phones and land-lines?

    CajoTech wrote:
    Were unable to call corporative landline numbers in Finland (010 and 020 numbers). We have 1 package for landline calls inside finalnd and the other one for making calls to mobile phones. Any idea what else do we need?
    Hello and welcome to the Skype Community.
    Your account shows that you have an Unlimited World Subscription which includes calls to private landlines in Finland. Your Subscription does not include calls to corporate landlines or to cellphones in Finland. To call corporate landlines you need to Buy Skype credit and to call cellphones either credit or a specific Skype subscription 
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • How do you add a mobile phone number into iMessages in settings

    How do you enter a mobile phone number into IMessage in Settings on an Ipad?

    Take a look at this.
    iOS and OS X: Link your phone number and Apple ID for use

  • MP4 files from mobile phones

    Hi -
    I just copied some MP4 videos from my mobile phone on to my iMac using a USB adapter to take the videos from a Micro SD card. However I can't get them to play properly. They will open in Quicktime and VLC but there's no sound. Does anyone know why this is or how I can fix it? They work fine on my mobile phone, I can hear sound so I know it's in there somewhere. Any help much appreciated.
    Thanks.

    How do I get info while it's playing in QT?
    Open the "Inspector" window and check the information on the "Format:" line. This should refer to the audio and video compression formats used in the file.

  • How to save file on server folder

    hi
    i was trying to save file in my specify folder path.
    but it cann't save on than location.
    if i will not specify path then it directly save file on "c:program files\tomcat5.7\bin\mytextfile.txt"
    if i will specify perfect path "c://systemfile//mytextfile.txt"
    it saves on that location.
    if i will define path as ".//www//systemfile//mytextfile.txt"
    "//www//systemfile//mytextfile.txt"
    "//systemfile//mytextfile.txt"
    ".//mytextfile.txt" it cann't save file on location

    i know how to upload file .
    i need to save file on my web folder " /www/file/ xxxx.txt"
    how i will save it .over ther in my program i will specify location "c:/Program file/file/xxxxxx.txt"

  • How to save file with the "/" symbol in the name?

    Hi,
    I have Adobe Professional 8.  I need to save files with names that include the symbol /, but Adobe interprets, for example, A/88/6, as file name 6, in a folder named 88, in a folder named A, and sets up new folders to accommodate that.  I cannot substitute another symbol as I already have thousands of pdf files in a database using the / symbol, and I need them in the same folders.
    I would very greatly appreciate any advice,
    thanks,
    Mo.

    Thanks.
    As I said, I'm pretty ignorant about these things.  I wouldn't know how to begin using a "hack".  All I know is that I was able, for over a year, to save .pdf files directly from my browser on several computers, and use the forbidden "/" symbol in every file name.  After saving the files, Adobe will happily open them, and allow me to edit and re-save them, although I now see that it will not allow me to "save as" them under a different name without removing that symbol.
    I may not be tech-savvy, but I can state that everything I have said here and above is entirely accurate.  I would be happy to open a dropbox account to show you countless .pdfs with the symbol "/" in the name.
    This is honestly not that big a deal.  I greatly appreciate this discussion, and you have inspired me to become slightly less computer-ignorant.
    Hope you all had a great New Year.  I am still recovering.
    Cheers,
    Mo.

  • How do I activate a mobile phone when say a level in lookout goes high and sets off alarm.

    I require to alert a user to an alarm condition both by web and mobile phone. I am not using a network just standalone PC

    If you're using a standalone PC, then you can send SMS messages to cell phones using the ASCII Object when an alarm occurs. You'll connect a modem to your Lookout PC and use the ASCII Object.
    You'll need to implement the SMS protocol in the ASCII Object.
    I am not sure how you can update a web page from a stanalone PC tho'.
    Hope this helps!
    Rgds,
    Khalid

  • How to save files received with iChat?

    I was in a text chat with a friend. He sent me an mp3 file, and it showed up in the chat window with the familiar play controls of Quicktime.. I was able to listen to it and everything. However, I couldn't figure out how to save the files??? All I could do was play, rewind etc...no way that I could see to save it.
    Any help you can provide?
    Thanks,
    John
    PowerMac G5 Dual 2.3   Mac OS X (10.4.2)  

    Hi John,
    You should be able to drag it from the window to the Desktop and subsequently, any folder.
    Alternatively you can set iChat to save all Chats and replay it from there.
    Or use Save As when the App that uses the files is open with the file in question.
    Ralph

  • How to get telephone and mobile phone for one partner

    Hello Expert,
    In VA03, I open one sales order and go into the partner tab. Then I selection one partner and click "Detail" button, one page with partner detailed information will pop up.
    In the pop-up window:
    There are two fields: Telephone and Mobile Phone.
    In my program, I want to get these two information. 
    I tried to call FM 'ADDR_COMM_GET' by passing address_number(VBPA-ADRNR), table_type('ADTEL'), iv_current_state(SPACE). For some partner, it works, but for others it doesn't work.
    Then I find table ADR2 which is used to keep phone infomration. There are two entries in the table. But how can I identity which one is telephone and which one is Mobile phone?
    So can any expert help me on how to get the telephone and Mobile Phone of the pop-up page?
    Thanks in advance,
    Best Regards, Johnny.

    Read ADR2-TEL_NUMBER where ADDRNUMBER = VBPA-ADRNR and R3_USER = '2' or '3'.
    These are the possible values
            Telephone is Landline Telephone
    1     Telephone is Default Under Landline Telephones
    2     Telephone is Mobile Telephone but Not Default Mobile Phone
    3     Telephone is Default Mobile Telephone
    X     Obsolete - No Longer Valid

Maybe you are looking for

  • User exit to create change pointer as soon as network is created(CN21)

    Hi All I have to use function module change_pointers_create_direct . This function module i have to use in a exit which is called as soon as a network record is created(CN21). Then I will use SMD tool to track changes made to these pointers. can anyo

  • Errors found during preflight & where is export to PDF in CS5 ?

    Hi, I have updated a small manual  and then tried to export to pdf so I could open it with Acrobat 9 in order to impose with Quite Imposing. I couldn't find the export to pdf control so I tried preflight testing and discovered two chapters with error

  • Passing arguments to script

    Hi, I created a dialog which load folder files and when i click the button i run another script by StartScript(...) command How could i pass my arguments to the script (the files paths)? Thanks Solved! Go to Solution.

  • Help!! After shutting itself down 3 times.

    Ater shutting down 3 separate times----it won't boot up at all!!!

  • VHS (NTSC and PAL) conversion to DVD

    I am trying to figure out an easy way to convert years of old kids videos (VHS in both NTSC and PAL format) to DVD. I have seen there are combo VHS players (NTSC) with DVD recorder and hard drives. This looks like a lot easier than connecting Canoplu