Uploading video/image files from mobile

Hello
I need to develop wap website that will allow to upload video and image files from cellphone to server.
The question is what is the best java technology to be used for this case if i am interested in website-like and not application-like solution?
Thanks And best regards
Oifa Yulian

Hi,
Thanks for responding.
I tried using the X-SUP-APPCID, but this time in device logs it initially shows as uploading and once the complete data is sent I get the response code as 401 and in response headers I get 401 Unauthorized and it goes into my error function of File Transfer.
The headers which i am passing :
uploadCreate has my APPCID.
var headers = {
  "X-Requested-With" : "XMLHttpRequest",
  "Content-Type" : "application/atom+xml",
  "DataServiceVersion" : "2.0",
  "Accept" : "application/atom+xml,application/xml,application/atomsvc+xml",
  "X-CSRF-Token" : "Fetch",
  "X-SUP-DOMAIN" : "LntOdDomain",
  "X-SUP-APPCID" : uploadCreate
params.username = uid123;
params.password = pwd123;
params.headers = headers;

Similar Messages

  • Uploading an image file from client to a db column

    hi,
    I need help with the subject above,
    I downloaded the webUtil package but I don't know
    how to configure it & use it..
    I'm not a professional developer, I'm a student and this is for my graduation project
    and I need help fast my project is due med may ..
    I'm using oracle 10g DBMS and Developer
    Thanks

    Check these steps :
    1. Download the following three folders (zip files) needed for Webutil configuration from the Internet to any Windows machine:
    Webutil_demo.zip: URL: http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    Click on link: WebUtil Demo
    webutil_106.zip: URL: http://www.oracle.com/technology/software/products/forms/index.html
    Click on link: Oracle Forms 10g WebUtil
    jacob_18.zip: URL: http://www.oracle.com/technology/products/forms/htdocs/webutil/readme.html
    Click on link: http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip.
    2. Extract the 3 zip files to have the folders (jacob_18, webutil_106 and Webutil_demo) in your windows machine.
    3. Transfer the following files from your windows machine (from the 3 folders) to the Linux machine as below:
    a)
    - File: frmwebutil.jar
    - From folder: webutil_106\webutil_106\java
    - To: $ORACLE_HOME/forms/java
    - Transfer mode: must be Binary
    b)
    - File: jacob.jar
    - From folder: jacob_18
    - To: $ORACLE_HOME/forms/java
    - Transfer mode: must be Binary
    c)
    - File: d2kwut60.dll, JNIsharedstubs.dll
    - From folder: webutil_106\webutil_106\webutil
    - To: $ORACLE_HOME/forms/webutil
    - Transfer mode: must be Binary
    d)
    - File: jacob.dll
    - From folder: jacob_18
    - To: $ORACLE_HOME/forms/webutil
    - Transfer mode: must be Binary
    e)
    - File: forms_base_ie.js, forms_ie.js
    - From folder: webutil_106\webutil_106\java
    - To: $ORACLE_HOME/forms/java
    - Transfer mode: must be Binary
    f)
    - File: webutil.olb, webutil.pll and create_webutil_db.sql
    - From folder: webutil_106\webutil_106
    - To: $ORACLE_HOME/forms
    - Transfer mode: must be Binary
    g)
    - File: WU_TEST_106.fmb
    - From folder: Webutil_demo\Webutil_demo
    - To: $ORACLE_HOME/forms
    - Transfer mode: must be Binary
    h)
    - File: webutilbase.htm, webutiljini.htm, webutiljpi.htm and webutil.cfg
    - From folder: webutil_106\webutil_106\server
    - To: $ORACLE_HOME/forms/server
    - Transfer mode: must be TEXT/ASCI
    i)
    - File: sign_webutil.sh
    - From folder: webutil_106\webutil_106\webutil
    - To: $ORACLE_HOME/forms/webutil
    - Transfer mode: must be TEXT/ASCI

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

  • How to display a dynamic image file from url?

    Hey,I want to display a dynamic image file from url in applet.For example,a jpg file which from one video camera server,store one frame pictur for ever.My java file looks like here:
    //PlayJpg.java:
    import java.awt.*;
    import java.applet.*;
    import java.net.*;
    public class PlayJpg extends Applet implements Runnable {
    public static void main(String args[]) {
    Frame F=new Frame("My Applet/Application Window");
    F.setSize(480, 240);
    PlayJpg A = new PlayJpg();
    F.add(A);
    A.start(); // Web browser calls start() automatically
    // A.init(); - we skip calling it this time
    // because it contains only Applet specific tasks.
    F.setVisible(true);
    Thread count = null;
    String urlStr = null;
    int sleepTime = 0;
    Image image = null;
    // called only for an applet - unless called explicitely by an appliaction
    public void init() {
                   sleepTime = Integer.parseInt(getParameter("refreshTime"));
              urlStr = getParameter("jpgFile");
    // called only for an applet - unless called explicitely by an appliaction
    public void start() {
    count=(new Thread(this));
    count.start();
    // called only for applet when the browser leaves the web page
    public void stop() {
    count=null;
    public void paint(Graphics g) {
    try{
    URL location=new URL(urlStr);
    image = getToolkit().getImage(location);
    }catch (MalformedURLException mue) {
                   showStatus (mue.toString());
              }catch(Exception e){
              System.out.println("Sorry. System Caught Exception in paint().");
              System.out.println("e.getMessage():" + e.getMessage());
              System.out.println("e.toString():" + e.toString());
              System.out.println("e.printStackTrace():" );
              e.printStackTrace();
    if (image!=null) g.drawImage(image,1,1,320,240,this);
    // called each time the display needs to be repainted
    public void run() {
    while (count==Thread.currentThread()) {
    try {
    Thread.currentThread().sleep(sleepTime*1000);
    } catch(Exception e) {}
    repaint(); // forces update of the screen
    // end of PlayJpg.java
    My Html file looks like here:
    <html>
    <applet code="PlayJpg.class" width=320 height=240>
    <param name=jpgFile value="http://Localhost/playjpg/snapshot0.jpg">
    <param name=refreshTime value="1">
    </applet>
    </html>
    I only get the first frame picture for ever by my html.But the jpg file is dynamic.
    Why?
    Can you help me?
    Thanks.
    Joe

    Hi,
    Add this line inside your run() method, right before your call to repaint():
    if (image != null) {image.flush();}Hope this helps,
    Kurt.

  • I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look

    I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look normal when I first open them in photoshop. I will edit, save, and then realize once i've sent it to myself to test the color is WAY off. This only happens in photoshop. I've read some forums and have tried different things, but it seems to be making it worse. PLEASE HELP! Even viewing the saved image on the mac's pic viewer is way off once i've edited in photoshop. I am having to adjust all my colors by emailing myself to test. Its just getting ridiculous.

    Check the color space in camera raw, the options are in the link at the bottom of the dialog box. Then when saving make sure you save it to the srgb color space when sending to others. Not all programs understand color space and or will default to srgb. That won't necessarily mean it will be accurate, but it will put it in the ballpark. Using save for web will use the srgb color space.

  • How can i upload a image file to server by using jsp or servlet.

    Hi,
    I m gurumoorthy. how can i upload a image file to server by using jsp or servlet without using third party API. pls anyone send me atleast outline of the source code.
    Pls send me anyone.
    Regards,
    Gurumoorthy.

    I'm not an applet programmer so I can't give you much advice there.
    If you want to stream the file from the server before it's entirely uploaded, then I don't believe you can treat it like a normal file. If you're just wanting to throw it up there and then listen to it, then you can treat it like a normal file.
    But again, I'm not entirely certain. You might be able to stream the start of the file from the server while you're still uploading the end of it, but it probably depends on what method you're using to do the transfer.

  • Images saved from Mobile Safari are significantly degraded

    When I tried to use an image saved from Mobile Safari as my wallpaper I noticed that it looked horrible. It was blurry and more importantly the dynamic range of the image had been compressed, blowing out all the detail in the bright areas of the image and making it contrastier. This is especially bad on the type of photo I was trying to use, a high-key image, where most of the detail is in the light tones. Much of the image was simply displayed as blank white.
    As a test I tried emailing the image I had saved into Photos to myself and compared it to the original I had saved from the web. Sure enough, the image was blurrier and had less dynamic range so it's not just an iPhone display issue. Also, the image was only 27% smaller in file size and the pixel dimensions were actually slightly increased. A quick re-save in Photoshop with JPEG quality set to low (4) reduced the file size by 53% while still not affecting the image anything like what the iPhone did. So it doesn't make sense that the poor quality is only due to resizing for faster transmission.
    Can anyone else confirm this or replicate the issue? I've verified this with a 1st gen and 3G iPhone side by side, both running OS 2.1.

    No, it's not only you.
    I noticed it too. As a matter of fact, I just posted a really long post in a thread about iPhone/iPod Touch's photo quality.
    See: http://discussions.apple.com/message.jspa?messageID=8132098#8132098

  • How to upload a text file from a shared folder and provide an o/p

    how to upload a text file from a shared folder and provide an o/p  containing the details in each order in the text file

    Hi,
    Use <b>GUI_UPLOAD</b> to upload a text file from a shared folder.
    Use <b>GUI_DOWNLOAD</b> to download data in a file on the presentation server or use <b>OPEN DATASET, TRANSFER</b> and <b>CLOSE DATASET</b> statements to download data to the application server.
    Now, I hope the code for data fetching, if required, is already present in the report.
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • Uploading and downloading files from a web app (Urgent!!)

    Hi everyone:
    I'm developing an application in PL/SQL to upload and download files from an HTML webpage. I congured the document table and the parameters necessary in the DAD of my application.
    when I upload the file using my webpage that file info is automatically uploaded to the doc table. This is as far as I have gotten.
    I need to do the following:
    - Place the uploaded file into a column in another table in my database as part of a text message (think of it as an email message), and delete the file from the doc table (as this is thought to be a temp table that holds the file when uploaded from my webpage)
    - Retreive the file so that it can be downloaded from another web page.
    The file can be a PDF, WORD DOC, etc...
    I now that I can do this with InterMedia but I haven't figured out how :(
    Can anyone please point me to an example or some documentation that can guide me through the process.
    DB VERSION: 8.1.7
    IAS VERSION: 1.0.2.2
    Thanks,
    Carlos Abarca

    The idea was for you to look at the code and get an idea of how to access the BLOB in the document table. IF you look at the procedure
    insert_new_photo( new_description IN VARCHAR2,
    new_location IN VARCHAR,
    new_photo IN VARCHAR2 )
    It shows how to access the blob that is stored in the document table. You can then copy this blob to your own table using the DBMS_LOB package.
    Hope this helps,
    Larry

  • How to make a image file from Pre installed Mac osx ? "PLEASE HELP :("?

    hey guys ..Thanks u for the time.
    So i have this eMac which has crashed and i have got may hands on another eMac.. and it works
    ... the only problem is.. I can take my eMac to the working eMac to do Target Mode or any thing...
    So Help me..
    My question is .. Is there a way to make a .DMG image file from pre installed mac osx OR
    Is there a way to may a recovery disc??

    You can use Carbon Copy Cloner to copy everything from the working eMac onto the non-working eMac while the working eMac is running. If your eMac will still do target mode into the working one, you can download the above software, select the booted drive as the source drive, and your eMac's drive as the target, however it is possible this will not work.
    When you say your eMac crashed, what exactly happened?  It is possible that the hard drive in your eMac failed or is failing, so in order to get it running again you would need to replace the hard drive.  On the eMac, this repair is somewhat involved, and you have to be very careful because it exposes the CRT, which has several areas which can be extremely dangerous to touch if not properly handled.  CRTs retain a great deal of voltage, even when unplugged, sometimes for weeks, and they can give you a nasty shock if you touch them in the wrong place.
    Also keep in mind that cloning from the working computer to the non-working computer will ERASE any data that you have stored on that eMac, so if you don't have it backed up anywhere, you may want to attempt that with target mode before proceeding.
    Good luck!

  • How to Copy an Image File from a Folder to another Folder

    i face the problem of copying an image file from a folder to another folder by coding. i not really know which method to use so i need some reference about it. hope to get reply soon, thx :)

    Try this code. Make an object of this class and call
    copyTo method.
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class FileUtil
    extends File {
    public FileUtil(String pathname) throws
    NullPointerException {
    super(pathname);
    public void copyTo(File dest) throws Exception {
    File parent = dest.getParentFile();
    parent.mkdirs();
    FileInputStream in = new FileInputStream(this); //
    Open the source file
    FileOutputStream out = new FileOutputStream(dest); //
    Open the destination file
    byte[] buffer = new byte[4096]; // Create an input
    buffer
    int bytes_read;
    while ( (bytes_read = in.read(buffer)) != -1) { //
    Keep reading until the end
    out.write(buffer, 0, bytes_read);
    in.close(); // Close the file
    out.close(); // Close the file
    This is poor object-oriented design. Use derivation only when you have to override methods -- this is just
    a static utility method hiding here.

  • How use PHP to read image files from a folder and display them in Flex 3 tilelist.

    Hello. I need help on displaying images from a folder dynamically using PHP and display it on FLEX 3 TileList. Im currently able to read the image files from the folder but i don't know how to display them in the TileList. This is my current code
    PHP :
    PHP Code:
    <?php
    //Open images directory
    $imglist = '';
    $dir = dir("C:\Documents and Settings\april09mpsip\My Documents\Flex Builder 3\PHPTEST\src\Assets\images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "filename: " . $file . "\n";
    $dir->close();
    ?>
    FLEX 3 :
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="pic.send();">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.rpc.events.ResultEvent;
    public var image:Object;
    private function resultHandler(event:ResultEvent):void
    image = (event.result);
    ta1.text = String(event.result);
    private function faultHandler(event:FaultEvent):void
    ta1.text = "Fault Response from HTTPService call:\n ";
    ]]>
    </mx:Script>
    <mx:TileList x="31" y="22" initialize="init();" dataProvider = "{image}" width="630" height="149"/>
    <mx:String id="phpPicture">http://localhost/php/Picture.php</mx:String>
    <mx:HTTPService id="pic" url="{phpPicture}" method="POST"
    result="{resultHandler(event)}" fault="{faultHandler(event)}"/>
    <mx:TextArea x="136" y="325" width="182" height="221" id="ta1" editable="false"/>
    <mx:Label x="136" y="297" text="List of files in the folder" width="182" height="20" fontWeight="bold" fontSize="13"/>
    </mx:Application>
    Thanks. Need help as soon as possbile. URGENT.

    i have made some changes, in the php part too, and following is the resulting code( i tried it, and found that it works.):
    PHP Code:
    <?php
    echo '<?xml version="1.0" encoding="utf-8"?>';
    ?>
    <root>
    <images>
    <?php
    //Open images directory
    $dir = dir("images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "<image>" . $file . "</image>"; // i expect you to use the relative path in $dir, not C:\..........
    //$dir->close();
    ?>
    </images>
    </root>
    Flex Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
    creationComplete="callPHP();">
    <mx:Script>
    <![CDATA[
    import mx.rpc.http.HTTPService;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var arr:ArrayCollection = new ArrayCollection();
    private function callPHP():void
    var hs:HTTPService = new HTTPService();
    hs.url = 'Picture.php';
    hs.addEventListener( ResultEvent.RESULT, resultHandler );
    hs.addEventListener( FaultEvent.FAULT, faultHandler )
    hs.send();
    private function resultHandler( event:ResultEvent ):void
    arr = event.result.root.images.image as ArrayCollection;
    private function faultHandler( event:FaultEvent ):void
    Alert.show( "Fault Response from HTTPService call:\n " );
    ]]>
    </mx:Script>
    <mx:TileList id="tilelist"
    dataProvider="{arr}">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Image source="images/{data}" />
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    </mx:Application>

  • When i try to upload a .mts file from my Sony camera to Premiere Pro CC it refuses to play the audio! Ofcourse i could convert every single clip but it takes tons of time. How can i make Pr play audio track properly?

    When i try to upload a .mts file from my Sony camera to Premiere Pro CC it refuses to play the audio! Ofcourse i could convert every single clip but it takes tons of time. How can i make Pr play audio track properly?

    Does it not play at all or cannot you get the audio in the timeline?
    Did you copy the entire card to the hdd and then imported the file via the Media Browser?
    Did you source patch the audio tracks?

  • 'No Upload Authorization' While Uploading a Text File from Multiple Select

    Hi all,
       The User is trying to upload a text file from Multiple Selection screen of a Query in BEx and it gives the error message of 'No Upload Authorization' (Error DB886).
       In 'Logon data' tab of Tcode SU01, it has 'User' for 'User Group for Authorization check' for this User.
       I could upload a text file from Multiple Selection screen with my User Id.
       An idea about this error, PLEASE ?
    Thanks,
    Venkat.

    Hi Ron,
       This User does not have the access to Tcode ST01.
       The user executed Tcode SU53 immediately following the authorization failure to see the authorization objects. The 'Authorization obj' is blank and under the Description it has 'The last Authorization check was successful' with green tick mark.
      Any further suggestions, PLEASE.
    Thanks.

  • I am trying to upload my PDF file from my IBooks but its only giving me the option to upload from my pictures/gallery. How do I get it to where I can upload PDF files from my iBook or how do I transfer my PDF files to my pics?

    I am trying to upload my PDF file from my iBooks but its only giving me the option to upload from my pictures/gallery. How do I get it so I can upload from my iBooks or move my PDF files to my gallery so I can upload it?

    I'm having the same issue. I saved a PDF from an email into iBooks. I'm on apple applying for a job but the only option the upload button has is from the Photos file. How ironic right? Luckily I'm in Logistics and not an IT specialist applying for this job! Lol. Does anyone know the fix?

Maybe you are looking for

  • HP Officejet j4680 will not print in black

    Went on vacation, returned and black ink won't print.  Changed cartridge to new one, did not help.  Deleted printer and reinstalled, still will not prink black ink.

  • Try to show special characters in a JLabel

    Hi everybody, I have a big problem with special characters and to display them. At the moment I'm writing an Applet where you can type in in a JTextField stuff like \u0398 \u03B6 \u03A6 \u03C9 \u03BE. Then you press a JButton and the method TextField

  • Why did creating an email address in iCloud destroy the calendar?

    I have a friend with an iPhone 3gs and a Windows PC. She has an Apple ID and has been using iCloud for everything EXCEPT email. Yesterday, I created an email address in her iCloud account. This morning, she calls and says her Calendar events are gone

  • How to sincronize Outlook 11 for mac calendar with iPhone calendar ?

    I am trying to sincronize my calendar in Outlook 11 for Mac with my iPhone 4. I used to sincronize without problem before I upgraded OS X to 10.9.1 Any suggestion ?

  • [SOLVED :)] Need help with adf table row selection

    Hi, In my application I am displaying results in a table. The DisplayRow property of table is set to Selected There are Next and Back buttons which help user to view details associated to the next/previous rows. I am using ADF 11g When user clicks Ne