User Tag List

Results 1 to 7 of 7

Thread: CUrl Object help... unable to upload for Android 5.x and above.

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    turtle's Avatar
    Join Date
    Jun 2010
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wink CUrl Object help... unable to upload for Android 5.x and above.

    Hi guys and girls,

    My app is taking pictures of invoices / receipt and uploading to a server to verify for customer loyalty points.
    I am having an issue with the CUrl doing the file uploading on Android 5.x
    It works fine with Android 4.x

    The command string passed to the CUrl object is

    "-i -F uploadedfile=@" + ExternalStorageDirectory$( "Android object" ) + "/demo.jpg" + " http://somewebsite.com/receivefile.aspx?ID=xxx "

    Tested phones

    Sony Android 4.1.2 - working ok
    LG Android 4.1.1 - working ok
    Lenovo Android 4.4.2 - working ok
    Samsung Galaxy S3 Android 4.4 - working ok

    Samsung 5.x - can't upload via curl
    LG Android 5.x - can't upload via curl

    I see people using Cocos2D was having the same problem (not quite sure related but might prove useful)..
    http://discuss.cocos2d-x.org/t/httpc...roid-5-0/18190

    Not quite sure what this means but a mentioned fix was ...

    "add position independent executable(aka. PIE) support on Android 5.0+ devices
    add openssl utils"

    for the CUrl object itself.

    Please help. Thank you.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,247
    Mentioned
    176 Post(s)
    Tagged
    3 Thread(s)
    the problem here is that android drop an important function in favor of another so it need to be updated to the new function
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    turtle's Avatar
    Join Date
    Jun 2010
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx for the response. I do hope it gets updated soon. Meanwhile are there alternatives to the curl? Thx.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    turtle's Avatar
    Join Date
    Jun 2010
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Happy New Year guys and girls!

    Just would like to wish everyone a Happy New Year 2016!
    And..err... for the cURL, anyone having any luck with the object on Android 5.0 and above on how to get it working or maybe any alternatives?
    Thanks.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    turtle's Avatar
    Join Date
    Jun 2010
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi guys and girls,

    Just a bump on this post as I am still struggling on it
    Any alternatives so far?

    Thank you.

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,247
    Mentioned
    176 Post(s)
    Tagged
    3 Thread(s)
    please post a bugreport about it.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    AlanRuno's Avatar
    Join Date
    May 2013
    Posts
    338
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Fernando, How do I fix this???

    OpenSSL
    The vulnerabilities were addressed in OpenSSL 1.0.2f/1.0.1r. To confirm your OpenSSL version, you can do a grep search for:
    \$ unzip -p YourApp.apk | strings | grep "OpenSSL"

    Im using cURL extension.
    Please help me.

Similar Threads

  1. cURL Object cannot Load in CF2.5
    By Moucklee in forum Android Export Module 2.5
    Replies: 6
    Last Post: 1st January 2016, 10:49 PM
  2. CURL object Does not Work on windows
    By ramyhakam in forum Extension Development
    Replies: 5
    Last Post: 11th November 2015, 08:25 AM
  3. 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, 05:24 PM
  4. Unable to resolve target 'android-10'
    By Rvbar in forum Android Export Module 2.5
    Replies: 4
    Last Post: 5th September 2015, 11:35 PM

Posting Permissions

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