Upload image from Mobile device using SAP ui5 controls

Hello Team ,
Can we use SAP UI5 controls to upload image from photo gallery of the mobile device, the idea is to use simple sap UI5 codding and not SMP.
please do let me know if you guys have idea on same.
Armaan 

Hi Armaanjit,
Please have a look at my post
File upload using SAPUI5 Control

Similar Messages

  • Upload image from mobile device by using J2ME

    Dear all.
    I would like to upload the png image to the server.. but I don't know how to do. Is it possible to do so? what should I do?? anyone can help me????
    thanks all experts..~~!

    From Example using POST with HttpConnection in javax.microedition.io.HttpConnection:
        void postViaHttpConnection(String url) throws IOException {
            HttpConnection c = null;
            InputStream is = null;
            OutputStream os = null;
            int rc;
            try {
                c = (HttpConnection)Connector.open(url);
                // Set the request method and headers
                c.setRequestMethod(HttpConnection.POST);
                c.setRequestProperty("If-Modified-Since",
                    "29 Oct 1999 19:43:31 GMT");
                c.setRequestProperty("User-Agent",
                    "Profile/MIDP-2.0 Configuration/CLDC-1.0");
                c.setRequestProperty("Content-Language", "en-US");
                // Getting the output stream may flush the headers
                os = c.openOutputStream();
                os.write("LIST games\n".getBytes()); // Replace with PNG bytes
                os.flush();           // Optional, getResponseCode will flush
                // Getting the response code will open the connection,
                // send the request, and read the HTTP response headers.
                // The headers are stored until requested.
                rc = c.getResponseCode();
                if (rc != HttpConnection.HTTP_OK) {
                    throw new IOException("HTTP response code: " + rc);
                is = c.openInputStream();
                // Get the ContentType
                String type = c.getType();
                processType(type);
                // Get the length and process the data
                int len = (int)c.getLength();
                if (len > 0) {
                     int actual = 0;
                     int bytesread = 0 ;
                     byte[] data = new byte[len];
                     while ((bytesread != len) && (actual != -1)) {
                        actual = is.read(data, bytesread, len - bytesread);
                        bytesread += actual;
                    process(data);
                } else {
                    int ch;
                    while ((ch = is.read()) != -1) {
                        process((byte)ch);
            } catch (ClassCastException e) {
                throw new IllegalArgumentException("Not an HTTP URL");
            } finally {
                if (is != null)
                    is.close();
                if (os != null)
                    os.close();
                if (c != null)
                    c.close();
        }

  • How to cpture video from mobile device using MMAPI?

    Dear freinds
    Q1:-
    I am working on a project that require capture image from mobile device (Cell Phone) but in J2ME Wireless Toolkit their is no any code example to do this .
    Q2:-
    Is this possible that i cn plug web cam to capture image from emulator
    if yes than please replay me with code example

    Well i am pretty certain i need to develop a java code which would allow the same. But i was looking forward if anyone knows about any API which have certain interfaces exposed which would support this type of communication. Like you can get code sniplets for SMSC which allows SMS to be sent from application to any mobile phone i was thinking might be some help would also be available for the reverse.
    Or if there are any tutorials available on net which might be of some help then please share.
    Thanks

  • SAP AII 5.1 Transactions from Mobile device - Using SAPConsole

    Hi Friends ,
    1 . From Mobile devices [ SAPConsole enabled ]  , can we execute all SAP AII 5.1 transactions ( Like Tag commissioning, decommissiong , Packing ,Loading etc ., ) ?
    2. We specifilcally looking for 2DBarcode and Liner barcode not for RFID .So, will it fulfill our needs ?
    Please provide some inputs and it would  be great if you provide some help links  .
    Regards.,
    V.Rangarajan

    Hi Henrik,
    Did you find the solution to your problem ?
    I'm facing the same issue, so I'd be pleased to know the solution!
    Regards
    Stekam

  • Problem uploading file from mobile device to tomcat server

    Hi guys, here's how it goes.
    I'm designing a site using JSP for wireless devices like PDAs, Smartphones etc, basically any mobile device that has browser capabilities. There's a page where the user is allowed to upload a file from the mobile device, which works perfectly fine when I access the site using a PC. But when I try to upload a file from a mobile device, ( I tried using a Nokia 6680 ) , there wasn't any error but the file just wasn't stored in my server.
    Here's how the upload form looks like :
    <FORM name="filesForm" action="ProcessFileUpload.jsp" method="post" enctype="multipart/form-data">
            <font size="1" face="arial">File :</font><br>
    <input type="file" name="file1" size="10" style="font-size: 9px;"/><br><br>
            <input type="submit" name="Submit" value="Upload Files" style="font-size: 9px;"/>
        </FORM>Here's the gist of ProcessFileUpload.jsp:
    <%
         System.out.println("");
            System.out.println("Content Type ="+request.getContentType());
            DiskFileUpload fu = new DiskFileUpload();
            // If file size exceeds, a FileUploadException will be thrown
            fu.setSizeMax(1000000);
            List fileItems = fu.parseRequest(request);
            Iterator itr = fileItems.iterator();
            while(itr.hasNext()) {
              FileItem fi = (FileItem)itr.next();
              //Check if not form field so as to only handle the file inputs
              //else condition handles the submit button input
              if(!fi.isFormField()) {
                System.out.println("NAME: "+fi.getName());
                System.out.println("SIZE: "+fi.getSize());
                System.out.println(fi.getOutputStream().toString());
               // File fNew= new File(application.getRealPath("/"), fi.getName());
             File tempFileRef  = new File(fi.getName());
             File fNew = new File(filepath.toString(),tempFileRef.getName());
         String MM_Overall_DRIVER = "org.gjt.mm.mysql.Driver";
         String MM_Overall_USERNAME = "****";
         String MM_Overall_PASSWORD = "*********";
         String MM_Overall_STRING = "jdbc:mysql://localhost:3306/";
         Driver DriverRecordset1 = (Driver)Class.forName(MM_Overall_DRIVER).newInstance();
         Connection ConnRecordset1 = DriverManager.getConnection(MM_Overall_STRING,MM_Overall_USERNAME,MM_Overall_PASSWORD);
         PreparedStatement StatementRecordset1 = ConnRecordset1.prepareStatement("use " + domain);
         ResultSet Recordset1 = StatementRecordset1.executeQuery();
         filepath.append("/").append(tempFileRef.getName());
         StringBuffer fp = new StringBuffer("insert into ");
         fp.append(domain).append(".filepaths (path) values ('").append(filepath).append("')");
         PreparedStatement ps = ConnRecordset1.prepareStatement(fp.toString());
         ps.executeUpdate();
                System.out.println(fNew.getAbsolutePath());
                fi.write(fNew);
              else {
                System.out.println("Field ="+fi.getFieldName());
            }Basically I store the file uploaded in the tomcat server and the path of the file is saved in a table in MySQL.
    When I upload a file using a PC, the tomcat console displays the content type file name yada yada yada. However, when I upload a file from the Nokia 6680, I get just the content type then things just stop there and nothing else happens. No file name no file size whatsoever. The path of the file is not inserted into MySQL and the file is not stored in the server.
    Can anyone please enlighten me on this issue and hopefully gimme a solution to this problem? Your help will be greatly appreciated.

    -bump-
    HELPP!?!?!?!?!

  • SAP system access from mobile device

    Hi Techies,
    One of my client requirement is as below:
    For WMS operations they need to access SAP from mobile devices, SAP suggested to use SAP Console for their requirement.
    What are the available options to achieve this?
    And any sample docs/Install guide links?
    Env is SAP 4.7
    Regards,
    NIck Loy

    Hi Nick,
    1) We are running on ABAP engine(SAP 4.7), is it possible to use SAP ITS ?
    Yes, it is possible: you can use the ITS 6.20; SAP note 325616 will provide you with more information.
    2) If possible what are the mail installation kits, R/3 activities to activate the ITS service?
    You can go through the installation guide:
    htp://service.sap.com/instguides -> SAP Frontend Components (ITS / GUI) -> SAP Internet Transaction Server -> 6.20
    Here you find the Installation Guides, for example SAP @WEB 6.20 (SAP ITS) Inst. Guide Patchlevel 23 or higher
    I hope this helps,
    Cristiano

  • Uploading images from Canon SLR Dig using CF or SD from Powershot camera

    I am are that this is for iPhoto users, but I have no idea where else to post my question so please guide me to the right place.
    I am no intention to use either iPhoto or Aperture to upload my RAW or JPG images from Canon Cameras. I am currently using ZoomBrowser and have all images on Ext HD. However, I'm facing some challenges.
    When I am trying to upload RAW images from CF card using a card reader using Zoom Browser I can only upload one image at a time (can you imagine like using the freeway on a horse). I get a error message but the image gets uploaded. If I try more than one it doesn't work. Also once the image is uploaded it does mark the image as being downloaded.
    When I try the same uploading JPG from a SD using a card reader. It's a very slow and tedius process.
    So what is the deal, do I need to get a card reader compatible with the Mac. Or Apple is making impossible to use a third party to upload images.
    Any suggestion would be appreciate, thank you

    Hi
    Thanks for our suggestions, no I was not aware of Image Capture, as I said I'm very new using a Mac. Basically, my intention is to use a means to upload my images to my destination of choice. One of the main reasons that I don't like iPhoto is because it forces you to upload the images to the HD.
    As far as Aperture would you believe that I bought it almost a yr ago and haven't even bother to open it, it's not user friendly and takes a lot of twiking to change the library to another location.
    BTW the only way that I have been uploading my images is by using a Card Reader. I believe the one for the CF is USB 2 but not sure and for the SD its a USB 2 but get the same reaction.
    All I was trying to find out if the Mac had a way to upload images to any destination w/o using iPhoto and I think you already mentioned it, now all I have to do is to find it
    Thanks again.
    BTW I contacted Canon and they tell me that is not their problem, so now I'm caught in the finger pointed battle too much energy wasted......

  • I use iPhone 4S 8GB device. Want to move the back up from mobile device to computer. Can anyone help me on this?

    I use iPhone 4S 8GB device. Want to move the back up from mobile device to computer. Can anyone help me on this?

    It's not clear what you're asking. What mobile device are you talking about. iPhone back ups are ordinarily in one of two places: iCloud or a computer. The are not stored on the phone. If you're currently backing up your phone to iCloud and you want to back it up to your computer, you can do that using iTunes. You don't move a back up from iCloud to your computer.

  • SSO-Logon from mobile device - create logon ticket from WebDynpro for Java

    Hi Experts,
    I'm developing WebDynpro-JAVA application for some warehouse stuff  (runs on a portal system, clients are mobile barcode-scanners with Windows mobile 5.0). JCOs from the portal system to the R/3-backend are confirgured for SSO with Logon-tickets and portal uses LDAP for authentication against a Windows-ADS.
    This works so far ... but my problem is the standard Logon-screen, which is nearly unusable on the mobile device (screen size, layout, etc.). Is there any solution to create logon-tickets directly from the WebDynpro application (using something from com.sap.engine.interfaces.security.auth or similar ?) or any chance to have a special logon screen for mobile devices (parameter sap-wd-client=Pie03Client is ignored for the logon screen).
    Thanks in advance.
    regards,
    Hendrik

    Hi Henrik,
    Did you find the solution to your problem ?
    I'm facing the same issue, so I'd be pleased to know the solution!
    Regards
    Stekam

  • Launch Adobe offline form from Mobile device

    Hi,
    Our use case : We are trying to launch adobe form from Mobile device.
    Idea : The form template is locally stored on the mobile device. The mobile application tries to launch this adobe form and populate some of the fields and then send this data to SAP.
    What is the best way to achieve this ? Is it possible to launch the adobe form and then populate the fields?
    What is the best way to transmit the data, as GPRS is the mode of communication.
    any thoughts would really help.
    Thanks,
    Saujanya

    Hi Saujanya,
    Are you using SAP NetWeaver Mobile 7.1?
    Thanks & Regards,
    Abhijit

  • Upload image from server in jdev release2 11.1.2.4.0?????

    HI i am using jdev 11.1.2.4.0
    my requirments are
    1.upload image from server
    2.display image and edited by using editor page like paint.
    3.save that edited copy also
    i am new i jdev,is this requirements are done by jdev,please help,i dont have any idea,please help????

    Unfortunately upgrading to 10.8.2 messes up your previously configured steps and you can no longer rely on Java Preferences to define your JDK setup.
    What I suggest is doing this:
    1) Delete your current JDev installation + the system directory
    2) Ensure that the symbolic link as described in step 3 of the following link is still present and points to actual file
    3) Follow the steps in this blog: https://blogs.oracle.com/blueberry/entry/how_to_saddle_your_mountain ... to reinstall JDev.
    This should get you back up and running.
    CM.

  • How to create interactive map in SAP Visual Business using SAP UI5 SDK

    Hi,
    Please tell me,
    How to create interactive map in SAP Visual Business using SAP UI5 SDK.
    Is it possible to create interactive map using VB Control in SAP UI5 SDK..?
    if possible please any one let me know.

    Hi folks, one question:
    We have our development close moved and now it is earlier than originally planned. 
    That means that we maybe can't finish our convenient API and you have to wait till we will release it - early 2015 is planned.
    But there is another option:
    Currently we have a API based on json. The developer has to create json and  to transfer it to the Visual Business control.
    This interface is more used as a low level API and we are developing on top the more convenient one. So all the features are the same.
    It will stay stable & compatible in the future and you can build on it.
    Do you want to use this interface?  
    Then I will publish the documentation.
    Let me know.
    Thanks

  • After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    Ok, the issue seem to be solved. The problem was this:
    The many hundred files (raw and xmp per image) have been downloaded by ftp in no specific order. Means - a couple of files in the download queue - both raw and xmps. Most of the time, the small xmp files have been finished loading first and hence the "last change date" of these xmp files was OLDER than the "last change date" of the raw file - Lightroom then seem to ignore the existence of the xmp file and does not read it during import.(a minute is enough to run into the problem)
    By simply using the ftp client in a way that all large raw files get downloaded first followed by the xmp files, we achieved that all "last changed dates" of the xmp files are NEWER than the related raw files. (at least not older)
    And then LR is reading them and all metadata information has been set / read correctly.
    So this is solved.

  • Why can't i download e-mail attachments and images from the web using firefox browser

    i am using a Mac laptop.
    when i try to download my e-maill attachments, the Download tab appears. but when i click the download "key", nothing happens.
    i also can't save images from the web using firefox. the Save this Image tab appears but when i try to save, nothing happens.
    when i check on my Downloads folder, only unreadable files like these appear:
    1ttOnsY3.doc.part
    2Sf9jyNT.doc.part
    62+fxHoe.doc.part
    ASx1ZO9N.xls.part
    BtRlxR4R.exe.part
    dZmKC1nU.doc.part
    ehmb9rox.doc.part
    FJx+ku02.doc.part
    FSR7ckkV.doc.part
    hvlqg5Qy.exe.part
    JwVExec0.doc.part
    KEBM+klW.doc.part
    but when i try to use my Safari browser, download is successful.
    ive tried reinstalling my Firefox (version 3.6) but to no avail

    Not all 10g links are wrong however a number of them are as follows:
    Oracle ADF Installer (10.1.3.2) (Version 10.1.3.2, build 4066)
    Oracle ADF Installer (10.1.3.1) (Version 10.1.3.1, build 3984)
    Oracle JDeveloper 10g (Version 10.1.2.3, build 1936)
    Oracle JDeveloper 10g (Version 10.1.2.2, build 1929)
    Oracle JDeveloper 10g (Version 10.1.2.1, build 1913)
    Oracle JDeveloper 10g (Version 10.1.2, build 1811)
    All update this post once resolved.
    Thanks for the notification

  • Download images from MySite PictureLibrary using imaging.asmx

    Hi Team,
    Could you please assist in Downloading images from one of the Custom View of MySite PictureLibrary using imaging.asmx.
    code samples appreciated
    Thanks Ba$va

    Hi,
    In SharePoint 2013, we can use REST API to perform CRUD operations on a site from client side.
    What’s more, I have seen a post with useful suggestions from Dennis in your another thread, you can check the links he provides for more information.
    http://social.technet.microsoft.com/Forums/en-US/b172e86d-fc3d-4905-88d0-fa809508fe3e/download-images-from-mysite-picturelibrary-using-restapi?forum=sharepointdevelopment
    Thanks
    Patrick Liang
    Forum Support
    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]
    Patrick Liang
    TechNet Community Support

Maybe you are looking for