Android Question No Error but No File Uploaded,use PostMultipart

Discussion in 'Android Questions' started by juniorteacher, Apr 24, 2018.

  1. juniorteacher

    juniorteacher Member Licensed User

    Last edited: May 15, 2018
  2. OliverA

    OliverA Well-Known Member Licensed User

    Are we talking about this?
    If so, since you say there are no errors, am I correct to assume that ToastMessageShow("Imagen Cargada.", False) is executed after an upload? If so, then you have an issue on the PHP side where 1) it is not saving the image properly, or 2) it is not reporting an error properly (including and invocation error).
    Just to make sure, after these lines
    Code:
    mp.Dir = File.DirRootExternal  & "/Android"
       mp.FileName = img
    add
    Code:
    Log("Exists: " & File.Exists(mp.Dir, mp.FileName))
    and see if the file that you are trying to upload exists.
     
    juniorteacher likes this.
  3. juniorteacher

    juniorteacher Member Licensed User

    Code:
    Exists : true

    java.io.FileNotFoundException: /storage/emulated/
    0/Android/201804161819.jpg: open failed: EACCES (Permission denied)
    Location File In Internal Memory in Folder Android "Sdcard/Android/****.jpg"
     
  4. OliverA

    OliverA Well-Known Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice