Giter Site home page Giter Site logo

Comments (25)

laurent22 avatar laurent22 commented on May 3, 2024

What is required to install an app on a Chrome book? Doesn't it work directly with the apps from the Play Store?

from joplin.

posix4e avatar posix4e commented on May 3, 2024

from joplin.

gamerchick02 avatar gamerchick02 commented on May 3, 2024

I get an incompatibility error in the app store when I try to install the android app on my thinkpad chromebook. I don't know what needs to be done but I'm willing to test on my chromebook.

EDIT: I just joined the beta tester program for this app and apparently it will install if you enable the beta testing.

EDIT 2: Ok so it installed but I can't sync.

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

@gamerchick02, ok that's surprising that it would work only when being a beta tester. I guess it's good news anyway since it means it can be made to work.

What is the sync issue you are having? Is there any error message?

from joplin.

gamerchick02 avatar gamerchick02 commented on May 3, 2024

@laurent22 I get the following after I hit synchronize (I'm signed into my onedrive account):

Created local items: 1.
State: idle.
Last error: Unknown field:
user_updated_time (stacktrace in log).
Completed: 03/12/2017 14:31

The log states:

Error: Unknown field: user_updated_time
[email protected]: 314:1245
[email protected]: 363:6148
index.android.bundle: 363:8177
[email protected]: 73:245

These repeat for a bit and then I get

[email protected]: 21:664
[email protected]: 21:1747
[email protected]: 21:1747
[email protected]: 19:2808

I don't know what all this means, but maybe you do or at least it's a start. Also the log won't let me copy and paste in here so this is only part of the log. If you want more, please tell me and I'll see what I can do through a screenshot or whatever.

Thanks!

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

@gamerchick02, ok I see, I realise now the beta version is actually an old one I've released a long time ago (the "Last error" thing is something that was removed a while ago), which is why it doesn't work properly. I'm not familiar with the i686 architecture, is that compatible with x86? If so could you give a try to this APK? https://github.com/laurent22/joplin/releases/download/v0.10.35/app-x86-release.apk

If that doesn't work, maybe try this one: https://github.com/laurent22/joplin/releases/download/v0.10.35/app-armeabi-v7a-release.apk

If any of these work please let me know, and I'll make it available to Chromebooks.

from joplin.

posix4e avatar posix4e commented on May 3, 2024

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

If the app is not starting for you or if you cannot install it, please could you post a screenshot here?

For information, the app store reports that it's compatible with Chromebook so I don't know exactly what needs to be done:

chromebook

from joplin.

dustinromey avatar dustinromey commented on May 3, 2024

Having the same issue on a Pixelbook.

If your Android app is done using React Native, perhaps it wouldn't be much work to put it on the Chrome Web Store?

screenshot 2018-01-13 at 5 43 59 pm

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

Do any of the a apk files above work of you download and install them directly?

from joplin.

dustinromey avatar dustinromey commented on May 3, 2024

Sorry for the slow reply. I'd been trying to work with the laptop without putting it in Dev mode (as an experiment), so it wasn't possible.

I gave up yesterday and put it in Dev mode. I'll get back to it and try to install the apks in the next day or so.

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

For information, the latest APK is available there: https://github.com/laurent22/joplin/releases/download/android-v0.10.78/joplin-v0.10.78.apk

The first step is to know if the APK works or not. I cannot test myself as I don't own a ChromeBook and there's no emulator.

from joplin.

dustinromey avatar dustinromey commented on May 3, 2024

Finally got back to this.

I was able to install. Seems to work fine, in full screen. I was able to create a folder, a to-do, and sync.

Need me to try anything else?

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

Thanks, it's good to know it actually works in Chromebook, but then I don't understand why it's not enabled in the store. Any idea what needs to be done to activate it?

from joplin.

dustinromey avatar dustinromey commented on May 3, 2024

I honestly have no idea.

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

Closing this as unfortunately it's unclear what needs to be done.

from joplin.

posix4e avatar posix4e commented on May 3, 2024

Lol, you need to publish apk for i386, i686 and arm.

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

@posix4e, it seems to be a different issue since the APK itself already appears to be work on Chromebooks and even the app store console reports that it is compatible, but I don't know why it doesn't work from Google Play.

from joplin.

dutchgecko avatar dutchgecko commented on May 3, 2024

Hi, have you seen this page from Google on optimizing an app for Chromebooks? I think the key thing may be updating the manifest file.

from joplin.

pcause avatar pcause commented on May 3, 2024

I have side loaded the app and it works, although could use some tuning. It still doesn't work from the play store in the android app environment. there is something you can set in the manifest that says you work on tablets perhaps.

I am using an ARM based Chromebook.

PS: On a Chromebook we really need Joplin to be able to be a sharing target since the joplin extension isn't available for Firefox for Android.

from joplin.

danurman avatar danurman commented on May 3, 2024

@laurent22 - if I'm reading the Android developer docs right, the issue is the inclusion of <uses-permission android:name="android.permission.CAMERA" /> in AndroidManifest.xml. The docs note that this permission implies a requirement of two hardware features that are not supported on Chromebooks - specifically, android.hardware.camera and android.hardware.camera.autofocus.

The docs are a little unclear on exactly how to resolve this, but the page on <uses-feature> seems to me to indicate that the implied hardware features can be tagged as unrequired by adding a <uses-feature> element for each with android:required="false" attributes:

<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

I also found a blog post backing up this interpretation. I checked the manifest and didn't see any other features or permissions that were listed as unsupported in the docs, so hopefully adding those two lines would make the Google Play Store consider the app to be supported on Chromebooks? (The blog post also notes that since you no longer require the camera, you should make sure your code actually checks that one is available instead of assuming one is.)

So, seems like an easy fix? I have zero experience developing for Android, so I apologize if I've misunderstood something trivial here and gotten this completely wrong. :)

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

The version that has just been released (should be available in 1h or so) includes the fixes suggested by @danurman, so if you have a Chromebook please give it a try and let me know if it works. I didn't put any check on the camera at this point, so let's see if it works first.

from joplin.

pcause avatar pcause commented on May 3, 2024

I had the previous version side loaded. When I opened the play store on my Chromebook it said I had an update and it installed/updated. The page no longer says the app isn't compatble with my device. Guess it is fixed!!

from joplin.

danurman avatar danurman commented on May 3, 2024

I did not have any version side loaded and my Chromebook is not in developer mode. Previously, I was unable to install Joplin via the Play Store; now I can. :) It's set up and currently syncing my notes. I didn't try granting the camera permission; not sure what would happen if I did.

Thanks for the fix! šŸŽ‰

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

Glad it's finally working and thanks @danurman for looking into it and providing the fix!

from joplin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.