User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23

Thread: Upload images from android, help!

  1. #1
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Feb 2014
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Upload images from android, help!

    Hi, I wanted to ask if it was possible in any way (I need for an app I'm doing for a job), upload a picture from Android. I tried everything, the curl extension no longer works from Android 5.0 (always returns this error: "only position independent executables (pie) are supported"), with the extension of GET you can not do because I did not find any way to read a file in binary and send it as if it were a string, I do not find alternatives and I'd need to find any way to send photos taken by my app online, thanks in advance to anyone who will help me or even give me directions / advice.

  2. #2
    Clickteam Clickteam
    Kisguri's Avatar
    Join Date
    Jun 2006
    Location
    Bakersfield, CA
    Posts
    3,058
    Mentioned
    39 Post(s)
    Tagged
    3 Thread(s)
    Which API are you building your app too? I am building in 22 running a cURL powered app on 5.0 and 5.1 android devices.

  3. #3
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Feb 2014
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm trying with API 23 and does not in any way, you may post a sample file? I would be very grateful

  4. #4
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,826
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    Try it with API 22 or lower.

    There is an example file in the example file folder under Fusion for the CURL.

  5. #5
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Feb 2014
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried using the API 22 and 19 and does not work in any way, my phone has Android 6.1 but I also tried it with Android 5 and the result is the same, I attach here my test file (just try to give curl command on any smartphone with Android 5 and above, curl returns the error PIE), I'm going crazy looking for a solution since yesterday, I need for an important job and do not know how else to do (any way to move the photo taken the server would be fine). Of course I tried the sample files to curl but the outcome is the same:
    Screenshot_20160519-144524[1].jpg

    I attach to the post even the multimedia fusion file that I am trying:
    curl_app.mfa.

    Php code that I used for testing (with curl command line works well) is this:
    PHP Code:
    <?php

    if(isset($_POST['mmf'])) {
        
    $txt $_POST['mmf'] . "\n";
        echo 
    $txt;
    } else {
        
    $txt "No POST DATA!!!\n";
        echo 
    $txt;
    }

    ?>

  6. #6
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,826
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    Checking into it now with some of the programmers on how you can go around this issue while they look into the Curl object.
    From doing a google search I can't tell if Android turned this back on or off of if its device dependent.

  7. #7
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Feb 2014
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do not think that the error is dependent on the device, I did try some friends and the result is always the same (except for those who have a version of Android less than 5) And looking on google I found that others have the same problem (even with other tools) and the cause is that Android 5 introduced PIE, as I understand it can be solved by including a new version of cURL (I tried from playstore google to download a new version that works to curl command line and it works ...). Alternatively, there is no way to read a file in binary or transform the image in base64 and send it via GET?. Although in reality CURL was really very convenient, you can check what I say trying the spring that I have attached to my previous post

  8. #8
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,826
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    James is going to work on it this weekend so hopefully we see a new CURL version next week.

  9. #9
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Feb 2014
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok thanks, I hope it works, or does not know how to deliver my app (I have to do so within 6 weeks), while I thank you again for your assistance

  10. #10
    Clickteam Clickteam
    Kisguri's Avatar
    Join Date
    Jun 2006
    Location
    Bakersfield, CA
    Posts
    3,058
    Mentioned
    39 Post(s)
    Tagged
    3 Thread(s)
    If you want PM me I can cross test it here on our multiple devices.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. CUrl Object help... unable to upload for Android 5.x and above.
    By turtle in forum Android Export Module 2.5
    Replies: 6
    Last Post: 21st July 2017, 06:29 AM
  2. image upload, it is possible by the Android and iOS?
    By marcorios7 in forum Android Export Module 2.5
    Replies: 6
    Last Post: 6th November 2015, 04:24 PM
  3. upload photos android help
    By Theduke in forum Android Export Module 2.5
    Replies: 0
    Last Post: 2nd March 2015, 11:30 AM
  4. Android - php - upload - Mise en ligne de nouveaux produits
    By Vantales in forum Paid Design & Development Requests
    Replies: 0
    Last Post: 5th September 2013, 03:42 AM
  5. FTP upload
    By Janman in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 14th September 2009, 03:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •