Skip to content

file associations and apk files #86

Closed

Description

@ogg1e

If I download an android apk file I have stored on my server and click open, it doesn't give me the option to chose the android package installer to install it. It gives me a few options (office, zip etc) but not the android package manager.

Activity

  1. davivel commented on Jan 28, 2013

    @davivel
    Contributor

    Where did you upload the file from?

  2. ogg1e commented on Jan 28, 2013

    @ogg1e
    Author

    I uploaded it from a windows client on my laptop. My server is ubuntu.

  3. davivel commented on Jan 28, 2013

    @davivel
    Contributor

    Ok, will have to check it. If I remember it right, the MIME-type identified in the server when the file is uploaded has (and later read by the mobile app) has higher priority than the MIME-type mapping in the device. The server probably identified it as a generic compressed file. The priority in the app should be a bit smarter in this case.

  4. davivel commented on Jan 28, 2013

    @davivel
    Contributor

    Probably, if the file was uploaded from an Android device, you would not have this problem.

    Anyway, this is something to fix.

  5. ogg1e commented on Jan 28, 2013

    @ogg1e
    Author

    Is there any work-around I can do until it is fixed? DB or file change?

  6. davivel commented on Jan 28, 2013

    @davivel
    Contributor

    The only I can think now is really ugly, and I'm not sure if will work.

    1. Find your APK file from a file browser in the /owncloud// folder .
    2. 'Share' it to the ownCloud app.
    3. Upload it to ownCloud again. It will be saved with a different name automatically.

    But I can't swear this is going to work, anyway.

  7. ogg1e commented on Jan 29, 2013

    @ogg1e
    Author

    I was able to install the file within a file browser (ES Explorer) but it would be nice to do it all inside ownCloud. I have a rooted phone. Is there no way to change the mime type? Is it in the compiled code where the fix would have to be?

  8. untitaker commented on Feb 12, 2013

    @untitaker

    This bug happens to me also in some way. Opening an apk using the owncloud app leads me to the zip viewer of Ghost Commander, opening the same file in Ghost Commander leads me to the installer.

  9. zerginator commented on Mar 21, 2013

    @zerginator
    Contributor

    hmmm... strange ..It is true that a apk file was recognized as a zip but I tried to open it in the emulator Android 4.0.3 and it was opened with the apk manager. The same with my Android phone Samsung S3. When does this happen ? on which device ?

  10. zerginator commented on Mar 21, 2013

    @zerginator
    Contributor

    btw. I opened the apk with the owncloud app after I downloaded it

  11. ogg1e commented on Mar 21, 2013

    @ogg1e
    Author

    It happens to me on a nexus 4 running 4.2
    On Mar 21, 2013 5:21 PM, "Thorsten" [email protected] wrote:

    hmmm... strange ..It is true that a apk file was recognized as a zip but I
    tried to open it in the emulator Android 4.0.3 and it was opened with the
    apk manager. The same with my Android phone Samsung S3. When does this
    happen ? on which device ?

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/86#issuecomment-15262925
    .

  12. davivel commented on Apr 18, 2013

    @davivel
    Contributor

    The same as this: #31 , although look different.

  13. davivel commented on Jun 20, 2013

    @davivel
    Contributor

    Fix merged into master. Release in Play Store coming soon.

  14. davivel commented on Jun 27, 2013

    @davivel
    Contributor

    Fixed in ownCloud 1.4.1 .

    @ogg1e , could you have a look and tell us if it is fine for you?

  15. ogg1e commented on Jun 27, 2013

    @ogg1e
    Author

    Yes, it is fixed. Great work!
    On Jun 27, 2013 11:58 AM, "David A. Velasco" [email protected]
    wrote:

    Fixed in ownCloud 1.4.1 .

    @ogg1e https://github.com/ogg1e , could you have a look and tell us if
    it is fine for you?

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/86#issuecomment-20125379
    .

  16. davivel commented on Jun 27, 2013

    @davivel
    Contributor

    Thanks. It is cool reading some happy people today :)

  17. untitaker commented on Jun 27, 2013

    @untitaker

    It's fixed, yes! Thanks.

  18. davivel commented on Jun 28, 2013

    @davivel
    Contributor

    Thank you for checking, @untitaker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions