Android Question The content chooser

Discussion in 'Android Questions' started by catyinwong, Jul 22, 2015.

  1. catyinwong

    catyinwong Member Licensed User

    the more I searched for threads about the content chooser and the foreground service, the more confused I get...
    Can anyone make a simple and direct example of how to write a content chooser, return to app and then copy the chosen file to a directory??? T^T
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Start without the foreground service. In most cases it is not needed.
     
  3. catyinwong

    catyinwong Member Licensed User

    I think mine does need one because the result event is not called when it takes me more than 5 seconds to take a picture. I guess it is about the foreground service right?
     
  4. catyinwong

    catyinwong Member Licensed User

    Problem solved. Have to declare the contentchoose in the process global. thanks
     
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