Writing files to a mobile phone

Can you write text to a file on a mobile phone? I have Sony Ericcision K608i. There is a PDA optional package but this will not work. Are you able to attach something to a mobile phone so it will write text?

Click on the file's icon. Hold down the option key and drag the file to the icon that represents the disk to which you want to copy the file.

Similar Messages

  • Accessing a file in a mobile phone

    Hi ,
    Is it possible to access and read the contents of a text file in a mobile phone using JSP. The regular file select component in JSP is not workin on the phone. when i click on the browse file button it says unable to view this file.
    This is the code of the page, i got it from the internet only. This seems to work properly if it runs on a PC, but when i try it on a mobile it is not able to select the file.
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body>
    <form ENCTYPE="multipart/form-data" action="single_upload_page.jsp" method="POST">
    <input type="file" name="selection" value="" />
    <input type="submit" value="submit" />
    </form>
    </body>
    </html>
    ------ > single_upload.jsp
    <%--
    Document : show
    Created on : Nov 26, 2008, 3:25:30 PM
    Author : root
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page import="java.io.*,java.io.File, org.apache. commons. io. *" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body>
    <%
         //to get the content type information from JSP Request Header
         String contentType = request.getContentType();
         if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) {
              DataInputStream in = new DataInputStream(request.getInputStream());
              //we are taking the length of Content type data
              int formDataLength = request.getContentLength();
              byte dataBytes[] = new byte[formDataLength];
              int byteRead = 0;
              int totalBytesRead = 0;
              //this loop converting the uploaded file into byte code
              while (totalBytesRead < formDataLength) {
                   byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
                   totalBytesRead += byteRead;
    String file = new String(dataBytes);
    out.print(file);
              //for saving the file name
              String saveFile = file.substring(file.indexOf("filename=\"") + 10);
              saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
              saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
              int lastIndex = contentType.lastIndexOf("=");
              String boundary = contentType.substring(lastIndex + 1,contentType.length());
              int pos;
              //extracting the index of file
              pos = file.indexOf("filename=\"");
              pos = file.indexOf("\n", pos) + 1;
              pos = file.indexOf("\n", pos) + 1;
              pos = file.indexOf("\n", pos) + 1;
              int boundaryLocation = file.indexOf(boundary, pos) - 4;
              int startPos = ((file.substring(0, pos)).getBytes()).length;
              int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
              // creating a new file with the same name and writing the content in new file
              FileOutputStream fileOut = new FileOutputStream("/root/Desktop/"+saveFile);
              fileOut.write(dataBytes, startPos, (endPos - startPos));
              fileOut.flush();
              fileOut.close();
              %><Br><table border="2"><tr><td><b>contents of the file:</b>
              <% out.println(saveFile); %></td></tr></table> <%
    %>
    </body>
    </html>

    Disclaimer: your code is unformatted and thus hard to read, so I have't read it thoroughly.
    In the future please use tags to post the code in. You can get them by pressing the CODE button in the toolbar of the message editor toolbar.
    ram.west wrote:
    Is it possible to access and read the contents of a text file in a mobile phone using JSP. The regular file select component in JSP is not workin on the phone. when i click on the browse file button it says unable to view this file.So this error message immediately pops up when you press the 'browse' button? What's the exact error message? Have you tried another mobile webbrowsers as well?
    This is the code of the page, i got it from the internet only. I highly recommend you to use the thoroughly developed, tested and maintained library Apache Commons FileUpload. Here is its homepage: [http://commons.apache.org/fileupload]. Checkout the 'User Guide' and 'Frequently Asked Questions' sections for code samples and a lot of tricks.
    This seems to work properly if it runs on a PC, but when i try it on a mobile it is not able to select the file.You need to exclude either the client side or the server side from being suspect. Answer the questions I asked before.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Uploading files from a mobile phone

    Hello.
    I'm trying to do a file uploader via an HTTP-Post Request to send files to a server from java enabled mobile phones using internet... is it possible?.. Some idea?
    Thanks in advance for any help, and sorry my English
    Daniele

    first of all not all the mobile phone support file system if you want to uplaod a file(in form of recordstore) contained within yourt jar file that
    will be created after the installation can be uplaoded just open the outputstream connection to server and sumbit it simple as that

  • Photo file transfer from mobile phone onto Mac-cannot open photos in iPhoto

    Message reads: "Unreadable files: 1 The following file could not be imported. (The file is in the iPhoto Library Folder.)"
    I have successfully transferred photos from my mobile phone into my iPhoto Library, however I cannot see or edit these in iPhoto. They have been transferred as Preview shots and are only viewable in Finder: /Users/aaronandjuliemuir/Pictures/iPhoto Library/Fiji Iguana with Max.jpg
    Why can't I see these in my actual iPhoto application?

    jam000
    Why?
    The following file could not be imported. (The file is in the iPhoto Library Folder.)"
    Drag the file from the iPhoto Library Folder to the desktop and then try and import it.
    Regards
    TD

  • How to list video files from the mobile phone?

    i need to list all video files from the mobile hone. can any one help me?

    Filter for Metadata > File Type > Video and then select them and press delete.  Then pick from catalog or disk.

  • Cannot stream a 3gp file to a mobile phone

    Hello everyone,
    I downloaded a 3gp from my opertor's portal which was streamed.
    I recorded it into my cell phone and tried to stream it from my own QTSS server for a demonstration.
    I tried to watch from Quicktime or my cell phone and it doesn't work.
    A message appears with a message "File format not supported"
    what did I do wrong? I tried to re-encode my movie but it doesn't work as well.
    Does anyone have an idea?
    Thank you for your help

    You will probably get a better response if you post in the Quicktime for Windows forum:"
    http://discussions.apple.com/forum.jspa?forumID=943
    This is the Quicktime for Mac forum.
    Don't forget to explain what '3gp' means.

  • How to design a java program to java supported mobile phone

    I need to know how to design a java program to java supported mobile phone and how to install it on mobile phone? also i need to know how to create a ".jar" file, because my mobile phone is require '.jar' files. if anyone know please let me know.

    I need to know how to design a java program to java
    supported mobile phone and how to install it on
    mobile phone? also i need to know how to create a
    ".jar" file, because my mobile phone is require
    '.jar' files. if anyone know please let me know.http://java.sun.com/j2me/index.jsp
    http://java.sun.com/docs/books/tutorial/deployment/jar/index.html

  • Syncing to a Mobile Phone

    Is there any software that syncs your files with a mobile phone. NOT AN IPHONE!

    hi i am having the same problem. i have contacted sony erricson and they have told me that apple will not allow them access to the operating system so they have no software to sync my mobile phone to my mac. i have tried isync, but this doesn't work either. is there anything else i can use? many thanks.

  • No import of mobile phone number

    Hi,
    I use Nokia PC Suite  7.1.40.1 and tried to import a csv file into contacts. To my surprise, the mobile phone number is not imported! Even when I export a contact with a mobile phone number and try to import the same file again, the mobile phone number is missing. The normal phone number is copied; both numbers have the same format.
    Suggestions??

    You can open the .csv to check if the exporting had mess the two fields.
    What's the law of the jungle?

  • HOW CAN I TRANSFER VIDEOS FROM MY MOTOROLA MOBILE PHONE TO IMAC

    I want to know how can I transfer my movie files into my mac I already went through the process of configuring the bluetooth device and all the crap connection but when I want to send the movie file or mp3 files to my mobile phone it says it cannot connect.

    hey thanks for not helping me

  • IPhone4 how through the USB mobile phone file reading and writing?

    iPhone4 how through the USB mobile phone file reading and writing?

    No idea what you are asking.
    Please explain

  • Writing file content on to mobile phone (need to specify the file name req)

    Hi,
    I have a jsp page which i am trying to execute on a mobile phone. In this page i am trying to open a ServletOutputStream and using this i am trying to write some content on to the phone. But by default the file name is beeing given as the name of the jsp page, so is there any that we can we specify the name of the file explicitly using the program itself (i mean other than the jsp file name). Can some one give me an idea to implement this.
    Here is the code snippet used......
    ServletOutputStream outstr = response.getOutputStream();
    String itemPath = "http://172.10.100.25/file_dwn/funny_pic.gif";
    java.net.URL url = new java.net.URL(itemPath);
    javax.activation.URLDataSource source = new javax.activation.URLDataSource(url);
    javax.activation.DataHandler dataHand = new javax.activation.DataHandler(source);
    String file = itemPath.substring(itemPath.lastIndexOf("/")+1);
    response.setHeader("Content-Type","application/vnd.oma.drm.message;boundary=foo");     
    outstr.println();
    outstr.println("--foo");
    outstr.println("Content-Type: " + dataHand.getContentType()+";Name=\""+file+"\"");
    outstr.println("");
    dataHand.writeTo(outstr);
    outstr.println();
    outstr.println("--foo--");
    outstr.println();
    outstr.flush();
    outstr.close();

    Hi,
    You can Include a Knowledge Management Folder as a Web Folder, this way you can copy and paste files from KM to  file system very easily.
    Check this
    http://help.sap.com/saphelp_nw70/helpdata/EN/30/75b62c659d724fb908c74ade23af51/frameset.htm
    Regards,
    Praveen Gudapati

  • 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!)

  • HT201401 I am writing to bring to your attention a serious issue I had with your product. My brother  bought one iPhone 4, 16 gb mobile phone from US last year and gifted me in India. but it couldnt be serviced in India why ?

    Hi,
    I am writing to bring to your attention a serious issue I had with your product. My brother  bought one iPhone 4, 16 gb mobile phone from US last year and gifted me in India. In few months it had a problem with its home key. I took the phone to service service center and they told me that your phone is having hardware problem and as the phone is under warranty cannot be replace in India. You can come back when this is out of warranty. Now few days back when i walk again to the service center they stated that this phone we cannot repair here in India because of this phone purchased from US. 
    This a total disgraceful service from such a big brand like apple.
    I hope to hear back from you about this incident.
    Sincerely,
    Niranjan
    <Personal Information Edited by Host>

    No iPhone has a international warranty. Warranty is valid only in
    country of original purchase. Since iPhone was bought in the US,
    you must return the iPhone to the US. That means you must personally bring
    the iPhone to Apple in the US or send it to a friend/relative in the US for them
    to take to Apple. After replacement, your friend can ship it back to you. Shipping
    and insurance costs are your responsibility.
    Apple does not accept international shipments for evaluation/repair
    and will not ship replacements out of the country.

  • 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

Maybe you are looking for

  • Keynote won't update

    having problems updating keynote and pages

  • Photo Deluxe 2 on the iPad?

    I just love my photo deluxe 2 software.  But it will not go on windows 7 or 8.  Could I buy a Ipad and use a external CD to install the software on a Ipad?

  • "Import Standard PO" pgm??

    hi all, when i run the "Import Standard PO" pgm from purchasing, the pgm is not picking up data from the interface tables though all non null columns have data!! what could be the reason?? any suggestion is highly appreciated.. regards sen

  • My Iphone 5s battery drains fast

    Last week the battery of my iPhone 5s ran out. When I got home I connected the charger and I noticed that was really slowly. Anyway I left my phone charging all night as usual. When I woke up, I left to work and saw that the battery was running out h

  • Can't update my Podcast Description - Help plz

    Kia ora all - I sure hope I'm posting in the right section, I've also recently uploaded our podcast and am trying to get the main "podcast description" updated (the one you see when you click on one of the many possible podcasts). I'm using "FeedForA