Bug? Easy to fix bug: Type: URI: it's a black hole...

Discussion in 'Bugs & wishlist' started by Jehoschua, May 11, 2018.

Tags:
  1. Jehoschua

    Jehoschua Member Licensed User

    Good morning

    it's really strange that the URI Type is a "write only" Class or a black hole:
    there is not a single member which returns anything!:
    https://www.b4x.com/android/help/contentresolver.html#uri

    Therefore, we always get annoying cast warnings if we use this Type.
    I guess it's a short issue list:
    1. URI.Parse() probably should return a String
    2. URI.uriString probably should be accessible

    it would be great if URI is no longer a black hole :)

    Kind regards,
    Thomas
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Not a bug. You need to understand how to use it. If you have any question about the API then post it in the questions forum.
     
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